|
|
1.1 root 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.3 ! root 3: # Generated by Autoconf 2.52.
1.1 root 4: #
1.1.1.3 ! root 5: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
! 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.
9:
1.1.1.3 ! root 10: # Avoid depending upon Character Ranges.
! 11: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 12: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 13: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 14: as_cr_digits='0123456789'
! 15: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 16:
! 17: # Sed expression to map a string onto a valid variable name.
! 18: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
! 19:
! 20: # Sed expression to map a string onto a valid CPP name.
! 21: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
! 22:
! 23: # Be Bourne compatible
! 24: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 25: emulate sh
! 26: NULLCMD=:
! 27: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 28: set -o posix
! 29: fi
! 30:
! 31: # Name of the executable.
! 32: as_me=`echo "$0" |sed 's,.*[\\/],,'`
! 33:
! 34: if expr a : '\(a\)' >/dev/null 2>&1; then
! 35: as_expr=expr
! 36: else
! 37: as_expr=false
! 38: fi
! 39:
! 40: rm -f conf$$ conf$$.exe conf$$.file
! 41: echo >conf$$.file
! 42: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 43: # We could just check for DJGPP; but this test a) works b) is more generic
! 44: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 45: if test -f conf$$.exe; then
! 46: # Don't use ln at all; we don't have any links
! 47: as_ln_s='cp -p'
! 48: else
! 49: as_ln_s='ln -s'
! 50: fi
! 51: elif ln conf$$.file conf$$ 2>/dev/null; then
! 52: as_ln_s=ln
! 53: else
! 54: as_ln_s='cp -p'
! 55: fi
! 56: rm -f conf$$ conf$$.exe conf$$.file
! 57:
! 58: as_executable_p="test -f"
! 59:
! 60: # Support unset when possible.
! 61: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
! 62: as_unset=unset
! 63: else
! 64: as_unset=false
! 65: fi
! 66:
! 67: # NLS nuisances.
! 68: $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
! 69: $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
! 70: $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
! 71: $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
! 72: $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
! 73: $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
! 74: $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
! 75: $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
! 76:
! 77: # IFS
! 78: # We need space, tab and new line, in precisely that order.
! 79: as_nl='
! 80: '
! 81: IFS=" $as_nl"
! 82:
! 83: # CDPATH.
! 84: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
! 85:
! 86: # Name of the host.
! 87: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! 88: # so uname gets run too.
! 89: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 90:
! 91: exec 6>&1
! 92:
! 93: #
! 94: # Initializations.
! 95: #
1.1 root 96: ac_default_prefix=/usr/local
1.1.1.3 ! root 97: cross_compiling=no
! 98: subdirs=
! 99: MFLAGS= MAKEFLAGS=
! 100: SHELL=${CONFIG_SHELL-/bin/sh}
! 101:
! 102: # Maximum number of lines to put in a shell here document.
! 103: # This variable seems obsolete. It should probably be removed, and
! 104: # only ac_max_sed_lines should be used.
! 105: : ${ac_max_here_lines=38}
! 106:
! 107: ac_unique_file="cpu68k/def68k.c"
! 108: # Factoring default headers for most tests.
! 109: ac_includes_default="\
! 110: #include <stdio.h>
! 111: #if HAVE_SYS_TYPES_H
! 112: # include <sys/types.h>
! 113: #endif
! 114: #if HAVE_SYS_STAT_H
! 115: # include <sys/stat.h>
! 116: #endif
! 117: #if STDC_HEADERS
! 118: # include <stdlib.h>
! 119: # include <stddef.h>
! 120: #else
! 121: # if HAVE_STDLIB_H
! 122: # include <stdlib.h>
! 123: # endif
! 124: #endif
! 125: #if HAVE_STRING_H
! 126: # if !STDC_HEADERS && HAVE_MEMORY_H
! 127: # include <memory.h>
! 128: # endif
! 129: # include <string.h>
! 130: #endif
! 131: #if HAVE_STRINGS_H
! 132: # include <strings.h>
! 133: #endif
! 134: #if HAVE_INTTYPES_H
! 135: # include <inttypes.h>
! 136: #else
! 137: # if HAVE_STDINT_H
! 138: # include <stdint.h>
! 139: # endif
! 140: #endif
! 141: #if HAVE_UNISTD_H
! 142: # include <unistd.h>
! 143: #endif"
1.1 root 144:
145: # Initialize some variables set by options.
1.1.1.3 ! root 146: ac_init_help=
! 147: ac_init_version=false
1.1 root 148: # The variables have the same names as the options, with
149: # dashes changed to underlines.
1.1.1.3 ! root 150: cache_file=/dev/null
1.1 root 151: exec_prefix=NONE
152: no_create=
153: no_recursion=
154: prefix=NONE
155: program_prefix=NONE
156: program_suffix=NONE
157: program_transform_name=s,x,x,
158: silent=
159: site=
160: srcdir=
161: verbose=
162: x_includes=NONE
163: x_libraries=NONE
1.1.1.3 ! root 164:
! 165: # Installation directory options.
! 166: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 167: # and all the variables that are supposed to be based on exec_prefix
! 168: # by default will actually change.
! 169: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1 root 170: bindir='${exec_prefix}/bin'
171: sbindir='${exec_prefix}/sbin'
172: libexecdir='${exec_prefix}/libexec'
173: datadir='${prefix}/share'
174: sysconfdir='${prefix}/etc'
175: sharedstatedir='${prefix}/com'
176: localstatedir='${prefix}/var'
177: libdir='${exec_prefix}/lib'
178: includedir='${prefix}/include'
179: oldincludedir='/usr/include'
180: infodir='${prefix}/info'
181: mandir='${prefix}/man'
182:
1.1.1.3 ! root 183: # Identity of this package.
! 184: PACKAGE_NAME=
! 185: PACKAGE_TARNAME=
! 186: PACKAGE_VERSION=
! 187: PACKAGE_STRING=
! 188: PACKAGE_BUGREPORT=
1.1 root 189:
190: ac_prev=
191: for ac_option
192: do
193: # If the previous option needs an argument, assign it.
194: if test -n "$ac_prev"; then
195: eval "$ac_prev=\$ac_option"
196: ac_prev=
197: continue
198: fi
199:
1.1.1.3 ! root 200: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1 root 201:
202: # Accept the important Cygnus configure options, so we can diagnose typos.
203:
1.1.1.3 ! root 204: case $ac_option in
1.1 root 205:
206: -bindir | --bindir | --bindi | --bind | --bin | --bi)
207: ac_prev=bindir ;;
208: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.1.1.3 ! root 209: bindir=$ac_optarg ;;
1.1 root 210:
211: -build | --build | --buil | --bui | --bu)
1.1.1.3 ! root 212: ac_prev=build_alias ;;
1.1 root 213: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.1.1.3 ! root 214: build_alias=$ac_optarg ;;
1.1 root 215:
216: -cache-file | --cache-file | --cache-fil | --cache-fi \
217: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
218: ac_prev=cache_file ;;
219: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
220: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.1.1.3 ! root 221: cache_file=$ac_optarg ;;
! 222:
! 223: --config-cache | -C)
! 224: cache_file=config.cache ;;
1.1 root 225:
226: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
227: ac_prev=datadir ;;
228: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
229: | --da=*)
1.1.1.3 ! root 230: datadir=$ac_optarg ;;
1.1 root 231:
232: -disable-* | --disable-*)
1.1.1.3 ! root 233: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1 root 234: # Reject names that are not valid shell variable names.
1.1.1.3 ! root 235: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 236: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 237: { (exit 1); exit 1; }; }
! 238: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! 239: eval "enable_$ac_feature=no" ;;
1.1 root 240:
241: -enable-* | --enable-*)
1.1.1.3 ! root 242: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1 root 243: # Reject names that are not valid shell variable names.
1.1.1.3 ! root 244: expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 245: { echo "$as_me: error: invalid feature name: $ac_feature" >&2
! 246: { (exit 1); exit 1; }; }
! 247: ac_feature=`echo $ac_feature | sed 's/-/_/g'`
! 248: case $ac_option in
! 249: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1 root 250: *) ac_optarg=yes ;;
251: esac
1.1.1.3 ! root 252: eval "enable_$ac_feature='$ac_optarg'" ;;
1.1 root 253:
254: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
255: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
256: | --exec | --exe | --ex)
257: ac_prev=exec_prefix ;;
258: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
259: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
260: | --exec=* | --exe=* | --ex=*)
1.1.1.3 ! root 261: exec_prefix=$ac_optarg ;;
1.1 root 262:
263: -gas | --gas | --ga | --g)
264: # Obsolete; use --with-gas.
265: with_gas=yes ;;
266:
1.1.1.3 ! root 267: -help | --help | --hel | --he | -h)
! 268: ac_init_help=long ;;
! 269: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 270: ac_init_help=recursive ;;
! 271: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 272: ac_init_help=short ;;
1.1 root 273:
274: -host | --host | --hos | --ho)
1.1.1.3 ! root 275: ac_prev=host_alias ;;
1.1 root 276: -host=* | --host=* | --hos=* | --ho=*)
1.1.1.3 ! root 277: host_alias=$ac_optarg ;;
1.1 root 278:
279: -includedir | --includedir | --includedi | --included | --include \
280: | --includ | --inclu | --incl | --inc)
281: ac_prev=includedir ;;
282: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
283: | --includ=* | --inclu=* | --incl=* | --inc=*)
1.1.1.3 ! root 284: includedir=$ac_optarg ;;
1.1 root 285:
286: -infodir | --infodir | --infodi | --infod | --info | --inf)
287: ac_prev=infodir ;;
288: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.1.1.3 ! root 289: infodir=$ac_optarg ;;
1.1 root 290:
291: -libdir | --libdir | --libdi | --libd)
292: ac_prev=libdir ;;
293: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.1.1.3 ! root 294: libdir=$ac_optarg ;;
1.1 root 295:
296: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
297: | --libexe | --libex | --libe)
298: ac_prev=libexecdir ;;
299: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
300: | --libexe=* | --libex=* | --libe=*)
1.1.1.3 ! root 301: libexecdir=$ac_optarg ;;
1.1 root 302:
303: -localstatedir | --localstatedir | --localstatedi | --localstated \
304: | --localstate | --localstat | --localsta | --localst \
305: | --locals | --local | --loca | --loc | --lo)
306: ac_prev=localstatedir ;;
307: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
308: | --localstate=* | --localstat=* | --localsta=* | --localst=* \
309: | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.1.1.3 ! root 310: localstatedir=$ac_optarg ;;
1.1 root 311:
312: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
313: ac_prev=mandir ;;
314: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.1.1.3 ! root 315: mandir=$ac_optarg ;;
1.1 root 316:
317: -nfp | --nfp | --nf)
318: # Obsolete; use --without-fp.
319: with_fp=no ;;
320:
321: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
322: | --no-cr | --no-c)
323: no_create=yes ;;
324:
325: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
326: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
327: no_recursion=yes ;;
328:
329: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
330: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
331: | --oldin | --oldi | --old | --ol | --o)
332: ac_prev=oldincludedir ;;
333: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
334: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
335: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.1.1.3 ! root 336: oldincludedir=$ac_optarg ;;
1.1 root 337:
338: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
339: ac_prev=prefix ;;
340: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.1.1.3 ! root 341: prefix=$ac_optarg ;;
1.1 root 342:
343: -program-prefix | --program-prefix | --program-prefi | --program-pref \
344: | --program-pre | --program-pr | --program-p)
345: ac_prev=program_prefix ;;
346: -program-prefix=* | --program-prefix=* | --program-prefi=* \
347: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.1.1.3 ! root 348: program_prefix=$ac_optarg ;;
1.1 root 349:
350: -program-suffix | --program-suffix | --program-suffi | --program-suff \
351: | --program-suf | --program-su | --program-s)
352: ac_prev=program_suffix ;;
353: -program-suffix=* | --program-suffix=* | --program-suffi=* \
354: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.1.1.3 ! root 355: program_suffix=$ac_optarg ;;
1.1 root 356:
357: -program-transform-name | --program-transform-name \
358: | --program-transform-nam | --program-transform-na \
359: | --program-transform-n | --program-transform- \
360: | --program-transform | --program-transfor \
361: | --program-transfo | --program-transf \
362: | --program-trans | --program-tran \
363: | --progr-tra | --program-tr | --program-t)
364: ac_prev=program_transform_name ;;
365: -program-transform-name=* | --program-transform-name=* \
366: | --program-transform-nam=* | --program-transform-na=* \
367: | --program-transform-n=* | --program-transform-=* \
368: | --program-transform=* | --program-transfor=* \
369: | --program-transfo=* | --program-transf=* \
370: | --program-trans=* | --program-tran=* \
371: | --progr-tra=* | --program-tr=* | --program-t=*)
1.1.1.3 ! root 372: program_transform_name=$ac_optarg ;;
1.1 root 373:
374: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
375: | -silent | --silent | --silen | --sile | --sil)
376: silent=yes ;;
377:
378: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
379: ac_prev=sbindir ;;
380: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
381: | --sbi=* | --sb=*)
1.1.1.3 ! root 382: sbindir=$ac_optarg ;;
1.1 root 383:
384: -sharedstatedir | --sharedstatedir | --sharedstatedi \
385: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
386: | --sharedst | --shareds | --shared | --share | --shar \
387: | --sha | --sh)
388: ac_prev=sharedstatedir ;;
389: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
390: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
391: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
392: | --sha=* | --sh=*)
1.1.1.3 ! root 393: sharedstatedir=$ac_optarg ;;
1.1 root 394:
395: -site | --site | --sit)
396: ac_prev=site ;;
397: -site=* | --site=* | --sit=*)
1.1.1.3 ! root 398: site=$ac_optarg ;;
1.1 root 399:
400: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
401: ac_prev=srcdir ;;
402: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.1.1.3 ! root 403: srcdir=$ac_optarg ;;
1.1 root 404:
405: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
406: | --syscon | --sysco | --sysc | --sys | --sy)
407: ac_prev=sysconfdir ;;
408: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
409: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.1.1.3 ! root 410: sysconfdir=$ac_optarg ;;
1.1 root 411:
412: -target | --target | --targe | --targ | --tar | --ta | --t)
1.1.1.3 ! root 413: ac_prev=target_alias ;;
1.1 root 414: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.1.1.3 ! root 415: target_alias=$ac_optarg ;;
1.1 root 416:
417: -v | -verbose | --verbose | --verbos | --verbo | --verb)
418: verbose=yes ;;
419:
1.1.1.3 ! root 420: -version | --version | --versio | --versi | --vers | -V)
! 421: ac_init_version=: ;;
1.1 root 422:
423: -with-* | --with-*)
1.1.1.3 ! root 424: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1 root 425: # Reject names that are not valid shell variable names.
1.1.1.3 ! root 426: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 427: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 428: { (exit 1); exit 1; }; }
1.1 root 429: ac_package=`echo $ac_package| sed 's/-/_/g'`
1.1.1.3 ! root 430: case $ac_option in
! 431: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1 root 432: *) ac_optarg=yes ;;
433: esac
1.1.1.3 ! root 434: eval "with_$ac_package='$ac_optarg'" ;;
1.1 root 435:
436: -without-* | --without-*)
1.1.1.3 ! root 437: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1 root 438: # Reject names that are not valid shell variable names.
1.1.1.3 ! root 439: expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
! 440: { echo "$as_me: error: invalid package name: $ac_package" >&2
! 441: { (exit 1); exit 1; }; }
! 442: ac_package=`echo $ac_package | sed 's/-/_/g'`
! 443: eval "with_$ac_package=no" ;;
1.1 root 444:
445: --x)
446: # Obsolete; use --with-x.
447: with_x=yes ;;
448:
449: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
450: | --x-incl | --x-inc | --x-in | --x-i)
451: ac_prev=x_includes ;;
452: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
453: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.1.1.3 ! root 454: x_includes=$ac_optarg ;;
1.1 root 455:
456: -x-libraries | --x-libraries | --x-librarie | --x-librari \
457: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
458: ac_prev=x_libraries ;;
459: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
460: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.1.1.3 ! root 461: x_libraries=$ac_optarg ;;
1.1 root 462:
1.1.1.3 ! root 463: -*) { echo "$as_me: error: unrecognized option: $ac_option
! 464: Try \`$0 --help' for more information." >&2
! 465: { (exit 1); exit 1; }; }
1.1 root 466: ;;
467:
1.1.1.3 ! root 468: *=*)
! 469: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 470: # Reject names that are not valid shell variable names.
! 471: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
! 472: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
! 473: { (exit 1); exit 1; }; }
! 474: ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
! 475: eval "$ac_envvar='$ac_optarg'"
! 476: export $ac_envvar ;;
! 477:
1.1 root 478: *)
1.1.1.3 ! root 479: # FIXME: should be removed in autoconf 3.0.
! 480: echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 481: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 482: echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 483: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1 root 484: ;;
485:
486: esac
487: done
488:
489: if test -n "$ac_prev"; then
1.1.1.3 ! root 490: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 491: { echo "$as_me: error: missing argument to $ac_option" >&2
! 492: { (exit 1); exit 1; }; }
1.1 root 493: fi
494:
1.1.1.3 ! root 495: # Be sure to have absolute paths.
! 496: for ac_var in exec_prefix prefix
! 497: do
! 498: eval ac_val=$`echo $ac_var`
! 499: case $ac_val in
! 500: [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
! 501: *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
! 502: { (exit 1); exit 1; }; };;
! 503: esac
! 504: done
1.1 root 505:
1.1.1.3 ! root 506: # Be sure to have absolute paths.
! 507: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
! 508: localstatedir libdir includedir oldincludedir infodir mandir
1.1 root 509: do
1.1.1.3 ! root 510: eval ac_val=$`echo $ac_var`
! 511: case $ac_val in
! 512: [\\/$]* | ?:[\\/]* ) ;;
! 513: *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
! 514: { (exit 1); exit 1; }; };;
1.1 root 515: esac
516: done
517:
1.1.1.3 ! root 518: # There might be people who depend on the old broken behavior: `$host'
! 519: # used to hold the argument of --host etc.
! 520: build=$build_alias
! 521: host=$host_alias
! 522: target=$target_alias
! 523:
! 524: # FIXME: should be removed in autoconf 3.0.
! 525: if test "x$host_alias" != x; then
! 526: if test "x$build_alias" = x; then
! 527: cross_compiling=maybe
! 528: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 529: If a cross compiler is detected then cross compile mode will be used." >&2
! 530: elif test "x$build_alias" != "x$host_alias"; then
! 531: cross_compiling=yes
! 532: fi
! 533: fi
1.1 root 534:
1.1.1.3 ! root 535: ac_tool_prefix=
! 536: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1 root 537:
1.1.1.3 ! root 538: test "$silent" = yes && exec 6>/dev/null
1.1 root 539:
540: # Find the source files, if location was not specified.
541: if test -z "$srcdir"; then
542: ac_srcdir_defaulted=yes
543: # Try the directory containing this script, then its parent.
544: ac_prog=$0
1.1.1.3 ! root 545: ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
1.1 root 546: test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
547: srcdir=$ac_confdir
548: if test ! -r $srcdir/$ac_unique_file; then
549: srcdir=..
550: fi
551: else
552: ac_srcdir_defaulted=no
553: fi
554: if test ! -r $srcdir/$ac_unique_file; then
555: if test "$ac_srcdir_defaulted" = yes; then
1.1.1.3 ! root 556: { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
! 557: { (exit 1); exit 1; }; }
1.1 root 558: else
1.1.1.3 ! root 559: { echo "$as_me: error: cannot find sources in $srcdir" >&2
! 560: { (exit 1); exit 1; }; }
1.1 root 561: fi
562: fi
1.1.1.3 ! root 563: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
! 564: ac_env_build_alias_set=${build_alias+set}
! 565: ac_env_build_alias_value=$build_alias
! 566: ac_cv_env_build_alias_set=${build_alias+set}
! 567: ac_cv_env_build_alias_value=$build_alias
! 568: ac_env_host_alias_set=${host_alias+set}
! 569: ac_env_host_alias_value=$host_alias
! 570: ac_cv_env_host_alias_set=${host_alias+set}
! 571: ac_cv_env_host_alias_value=$host_alias
! 572: ac_env_target_alias_set=${target_alias+set}
! 573: ac_env_target_alias_value=$target_alias
! 574: ac_cv_env_target_alias_set=${target_alias+set}
! 575: ac_cv_env_target_alias_value=$target_alias
! 576: ac_env_CC_set=${CC+set}
! 577: ac_env_CC_value=$CC
! 578: ac_cv_env_CC_set=${CC+set}
! 579: ac_cv_env_CC_value=$CC
! 580: ac_env_CFLAGS_set=${CFLAGS+set}
! 581: ac_env_CFLAGS_value=$CFLAGS
! 582: ac_cv_env_CFLAGS_set=${CFLAGS+set}
! 583: ac_cv_env_CFLAGS_value=$CFLAGS
! 584: ac_env_LDFLAGS_set=${LDFLAGS+set}
! 585: ac_env_LDFLAGS_value=$LDFLAGS
! 586: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
! 587: ac_cv_env_LDFLAGS_value=$LDFLAGS
! 588: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
! 589: ac_env_CPPFLAGS_value=$CPPFLAGS
! 590: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
! 591: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
! 592: ac_env_CPP_set=${CPP+set}
! 593: ac_env_CPP_value=$CPP
! 594: ac_cv_env_CPP_set=${CPP+set}
! 595: ac_cv_env_CPP_value=$CPP
! 596:
! 597: #
! 598: # Report the --help message.
! 599: #
! 600: if test "$ac_init_help" = "long"; then
! 601: # Omit some internal or obsolete options to make the list less imposing.
! 602: # This message is too long to be a string in the A/UX 3.1 sh.
! 603: cat <<EOF
! 604: \`configure' configures this package to adapt to many kinds of systems.
! 605:
! 606: Usage: $0 [OPTION]... [VAR=VALUE]...
! 607:
! 608: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 609: VAR=VALUE. See below for descriptions of some of the useful variables.
! 610:
! 611: Defaults for the options are specified in brackets.
! 612:
! 613: Configuration:
! 614: -h, --help display this help and exit
! 615: --help=short display options specific to this package
! 616: --help=recursive display the short help of all the included packages
! 617: -V, --version display version information and exit
! 618: -q, --quiet, --silent do not print \`checking...' messages
! 619: --cache-file=FILE cache test results in FILE [disabled]
! 620: -C, --config-cache alias for \`--cache-file=config.cache'
! 621: -n, --no-create do not create output files
! 622: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 623:
! 624: EOF
! 625:
! 626: cat <<EOF
! 627: Installation directories:
! 628: --prefix=PREFIX install architecture-independent files in PREFIX
! 629: [$ac_default_prefix]
! 630: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 631: [PREFIX]
! 632:
! 633: By default, \`make install' will install all the files in
! 634: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 635: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 636: for instance \`--prefix=\$HOME'.
! 637:
! 638: For better control, use the options below.
! 639:
! 640: Fine tuning of the installation directories:
! 641: --bindir=DIR user executables [EPREFIX/bin]
! 642: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 643: --libexecdir=DIR program executables [EPREFIX/libexec]
! 644: --datadir=DIR read-only architecture-independent data [PREFIX/share]
! 645: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 646: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 647: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 648: --libdir=DIR object code libraries [EPREFIX/lib]
! 649: --includedir=DIR C header files [PREFIX/include]
! 650: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 651: --infodir=DIR info documentation [PREFIX/info]
! 652: --mandir=DIR man documentation [PREFIX/man]
! 653: EOF
! 654:
! 655: cat <<\EOF
! 656:
! 657: Program names:
! 658: --program-prefix=PREFIX prepend PREFIX to installed program names
! 659: --program-suffix=SUFFIX append SUFFIX to installed program names
! 660: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
! 661:
! 662: System types:
! 663: --build=BUILD configure for building on BUILD [guessed]
! 664: --host=HOST build programs to run on HOST [BUILD]
! 665: --target=TARGET configure for building compilers for TARGET [HOST]
! 666: EOF
! 667: fi
! 668:
! 669: if test -n "$ac_init_help"; then
! 670:
! 671: cat <<\EOF
! 672:
! 673: Optional Features:
! 674: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 675: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 676: --disable-dependency-tracking Speeds up one-time builds
! 677: --enable-dependency-tracking Do not reject slow dependency extractors
! 678: --disable-gtktest Do not try to compile and run a test GTK program
! 679: --disable-sdltest Do not try to compile and run a test SDL program
! 680:
! 681: Optional Packages:
! 682: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 683: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 684: --with-coffasm Assemble coff files
! 685: --with-svgalib Create svgalib version
! 686: --with-allegro Create allegro version
! 687: --with-tcltk Create tcltk version
! 688: --with-gtk Create gtk version
! 689: --with-raze Use RAZE z80 emulation
! 690: --with-cmz80 Use C mz80 z80 emulation
! 691: --with-nologging Turn off all logging
! 692: --with-warnings Turn on gcc warnings
! 693: --with-gcc[=VER] GCC optimisation setting
! 694: --with-raze Use raze z80 emulation
! 695: --with-debug Turn debugging options on
! 696: --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
! 697: --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
! 698: --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
! 699: --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
! 700:
! 701: Some influential environment variables:
! 702: CC C compiler command
! 703: CFLAGS C compiler flags
! 704: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 705: nonstandard directory <lib dir>
! 706: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
! 707: headers in a nonstandard directory <include dir>
! 708: CPP C preprocessor
! 709:
! 710: Use these variables to override the choices made by `configure' or to help
! 711: it to find libraries and programs with nonstandard names/locations.
! 712:
! 713: EOF
! 714: fi
! 715:
! 716: if test "$ac_init_help" = "recursive"; then
! 717: # If there are subdirs, report their specific --help.
! 718: ac_popdir=`pwd`
! 719: for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
! 720: cd $ac_subdir
! 721: # A "../" for each directory in /$ac_subdir.
! 722: ac_dots=`echo $ac_subdir |
! 723: sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
! 724:
! 725: case $srcdir in
! 726: .) # No --srcdir option. We are building in place.
! 727: ac_sub_srcdir=$srcdir ;;
! 728: [\\/]* | ?:[\\/]* ) # Absolute path.
! 729: ac_sub_srcdir=$srcdir/$ac_subdir ;;
! 730: *) # Relative path.
! 731: ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
! 732: esac
! 733:
! 734: # Check for guested configure; otherwise get Cygnus style configure.
! 735: if test -f $ac_sub_srcdir/configure.gnu; then
! 736: echo
! 737: $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
! 738: elif test -f $ac_sub_srcdir/configure; then
! 739: echo
! 740: $SHELL $ac_sub_srcdir/configure --help=recursive
! 741: elif test -f $ac_sub_srcdir/configure.ac ||
! 742: test -f $ac_sub_srcdir/configure.in; then
! 743: echo
! 744: $ac_configure --help
! 745: else
! 746: echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
! 747: fi
! 748: cd $ac_popdir
! 749: done
! 750: fi
! 751:
! 752: test -n "$ac_init_help" && exit 0
! 753: if $ac_init_version; then
! 754: cat <<\EOF
! 755:
! 756: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
! 757: Free Software Foundation, Inc.
! 758: This configure script is free software; the Free Software Foundation
! 759: gives unlimited permission to copy, distribute and modify it.
! 760: EOF
! 761: exit 0
! 762: fi
! 763: exec 5>config.log
! 764: cat >&5 <<EOF
! 765: This file contains any messages produced by compilers while
! 766: running configure, to aid debugging if configure makes a mistake.
! 767:
! 768: It was created by $as_me, which was
! 769: generated by GNU Autoconf 2.52. Invocation command line was
! 770:
! 771: $ $0 $@
! 772:
! 773: EOF
! 774: {
! 775: cat <<_ASUNAME
! 776: ## ---------- ##
! 777: ## Platform. ##
! 778: ## ---------- ##
! 779:
! 780: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 781: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 782: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 783: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 784: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 785:
! 786: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 787: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 788:
! 789: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 790: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 791: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 792: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
! 793: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 794: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 795: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 796:
! 797: PATH = $PATH
! 798:
! 799: _ASUNAME
! 800: } >&5
! 801:
! 802: cat >&5 <<EOF
! 803: ## ------------ ##
! 804: ## Core tests. ##
! 805: ## ------------ ##
! 806:
! 807: EOF
! 808:
! 809: # Keep a trace of the command line.
! 810: # Strip out --no-create and --no-recursion so they do not pile up.
! 811: # Also quote any args containing shell meta-characters.
! 812: ac_configure_args=
! 813: ac_sep=
! 814: for ac_arg
! 815: do
! 816: case $ac_arg in
! 817: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 818: | --no-cr | --no-c) ;;
! 819: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 820: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
! 821: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 822: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
! 823: ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
! 824: ac_sep=" " ;;
! 825: *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
! 826: ac_sep=" " ;;
! 827: esac
! 828: # Get rid of the leading space.
! 829: done
! 830:
! 831: # When interrupted or exit'd, cleanup temporary files, and complete
! 832: # config.log. We remove comments because anyway the quotes in there
! 833: # would cause problems or look ugly.
! 834: trap 'exit_status=$?
! 835: # Save into config.log some information that might help in debugging.
! 836: echo >&5
! 837: echo "## ----------------- ##" >&5
! 838: echo "## Cache variables. ##" >&5
! 839: echo "## ----------------- ##" >&5
! 840: echo >&5
! 841: # The following way of writing the cache mishandles newlines in values,
! 842: {
! 843: (set) 2>&1 |
! 844: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
! 845: *ac_space=\ *)
! 846: sed -n \
! 847: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
! 848: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
! 849: ;;
! 850: *)
! 851: sed -n \
! 852: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 853: ;;
! 854: esac;
! 855: } >&5
! 856: sed "/^$/d" confdefs.h >conftest.log
! 857: if test -s conftest.log; then
! 858: echo >&5
! 859: echo "## ------------ ##" >&5
! 860: echo "## confdefs.h. ##" >&5
! 861: echo "## ------------ ##" >&5
! 862: echo >&5
! 863: cat conftest.log >&5
! 864: fi
! 865: (echo; echo) >&5
! 866: test "$ac_signal" != 0 &&
! 867: echo "$as_me: caught signal $ac_signal" >&5
! 868: echo "$as_me: exit $exit_status" >&5
! 869: rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
! 870: exit $exit_status
! 871: ' 0
! 872: for ac_signal in 1 2 13 15; do
! 873: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 874: done
! 875: ac_signal=0
! 876:
! 877: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 878: rm -rf conftest* confdefs.h
! 879: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
! 880: echo >confdefs.h
1.1 root 881:
1.1.1.3 ! root 882: # Let the site file select an alternate cache file if it wants to.
1.1 root 883: # Prefer explicitly selected file to automatically selected ones.
884: if test -z "$CONFIG_SITE"; then
885: if test "x$prefix" != xNONE; then
886: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
887: else
888: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
889: fi
890: fi
891: for ac_site_file in $CONFIG_SITE; do
892: if test -r "$ac_site_file"; then
1.1.1.3 ! root 893: { echo "$as_me:893: loading site script $ac_site_file" >&5
! 894: echo "$as_me: loading site script $ac_site_file" >&6;}
! 895: cat "$ac_site_file" >&5
1.1 root 896: . "$ac_site_file"
897: fi
898: done
899:
900: if test -r "$cache_file"; then
1.1.1.3 ! root 901: # Some versions of bash will fail to source /dev/null (special
! 902: # files actually), so we avoid doing that.
! 903: if test -f "$cache_file"; then
! 904: { echo "$as_me:904: loading cache $cache_file" >&5
! 905: echo "$as_me: loading cache $cache_file" >&6;}
! 906: case $cache_file in
! 907: [\\/]* | ?:[\\/]* ) . $cache_file;;
! 908: *) . ./$cache_file;;
! 909: esac
! 910: fi
1.1 root 911: else
1.1.1.3 ! root 912: { echo "$as_me:912: creating cache $cache_file" >&5
! 913: echo "$as_me: creating cache $cache_file" >&6;}
! 914: >$cache_file
! 915: fi
! 916:
! 917: # Check that the precious variables saved in the cache have kept the same
! 918: # value.
! 919: ac_cache_corrupted=false
! 920: for ac_var in `(set) 2>&1 |
! 921: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
! 922: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 923: eval ac_new_set=\$ac_env_${ac_var}_set
! 924: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
! 925: eval ac_new_val="\$ac_env_${ac_var}_value"
! 926: case $ac_old_set,$ac_new_set in
! 927: set,)
! 928: { echo "$as_me:928: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 929: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 930: ac_cache_corrupted=: ;;
! 931: ,set)
! 932: { echo "$as_me:932: error: \`$ac_var' was not set in the previous run" >&5
! 933: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 934: ac_cache_corrupted=: ;;
! 935: ,);;
! 936: *)
! 937: if test "x$ac_old_val" != "x$ac_new_val"; then
! 938: { echo "$as_me:938: error: \`$ac_var' has changed since the previous run:" >&5
! 939: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 940: { echo "$as_me:940: former value: $ac_old_val" >&5
! 941: echo "$as_me: former value: $ac_old_val" >&2;}
! 942: { echo "$as_me:942: current value: $ac_new_val" >&5
! 943: echo "$as_me: current value: $ac_new_val" >&2;}
! 944: ac_cache_corrupted=:
! 945: fi;;
! 946: esac
! 947: # Pass precious variables to config.status. It doesn't matter if
! 948: # we pass some twice (in addition to the command line arguments).
! 949: if test "$ac_new_set" = set; then
! 950: case $ac_new_val in
! 951: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 952: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
! 953: ac_configure_args="$ac_configure_args '$ac_arg'"
! 954: ;;
! 955: *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
! 956: ;;
! 957: esac
! 958: fi
! 959: done
! 960: if $ac_cache_corrupted; then
! 961: { echo "$as_me:961: error: changes in the environment can compromise the build" >&5
! 962: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 963: { { echo "$as_me:963: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 964: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 965: { (exit 1); exit 1; }; }
1.1 root 966: fi
967:
968: ac_ext=c
969: ac_cpp='$CPP $CPPFLAGS'
1.1.1.3 ! root 970: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 971: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 972: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 973:
! 974: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 975: *c*,-n*) ECHO_N= ECHO_C='
! 976: ' ECHO_T=' ' ;;
! 977: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 978: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 979: esac
! 980: echo "#! $SHELL" >conftest.sh
! 981: echo "exit 0" >>conftest.sh
! 982: chmod +x conftest.sh
! 983: if { (echo "$as_me:983: PATH=\".;.\"; conftest.sh") >&5
! 984: (PATH=".;."; conftest.sh) 2>&5
! 985: ac_status=$?
! 986: echo "$as_me:986: \$? = $ac_status" >&5
! 987: (exit $ac_status); }; then
! 988: ac_path_separator=';'
1.1 root 989: else
1.1.1.3 ! root 990: ac_path_separator=:
1.1 root 991: fi
1.1.1.3 ! root 992: PATH_SEPARATOR="$ac_path_separator"
! 993: rm -f conftest.sh
1.1 root 994:
995: ac_aux_dir=
996: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
997: if test -f $ac_dir/install-sh; then
998: ac_aux_dir=$ac_dir
999: ac_install_sh="$ac_aux_dir/install-sh -c"
1000: break
1001: elif test -f $ac_dir/install.sh; then
1002: ac_aux_dir=$ac_dir
1003: ac_install_sh="$ac_aux_dir/install.sh -c"
1004: break
1.1.1.3 ! root 1005: elif test -f $ac_dir/shtool; then
! 1006: ac_aux_dir=$ac_dir
! 1007: ac_install_sh="$ac_aux_dir/shtool install -c"
! 1008: break
1.1 root 1009: fi
1010: done
1011: if test -z "$ac_aux_dir"; then
1.1.1.3 ! root 1012: { { echo "$as_me:1012: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
! 1013: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
! 1014: { (exit 1); exit 1; }; }
! 1015: fi
! 1016: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
! 1017: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
! 1018: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1 root 1019:
1.1.1.3 ! root 1020: # Make sure we can run config.sub.
! 1021: $ac_config_sub sun4 >/dev/null 2>&1 ||
! 1022: { { echo "$as_me:1022: error: cannot run $ac_config_sub" >&5
! 1023: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
! 1024: { (exit 1); exit 1; }; }
! 1025:
! 1026: echo "$as_me:1026: checking build system type" >&5
! 1027: echo $ECHO_N "checking build system type... $ECHO_C" >&6
! 1028: if test "${ac_cv_build+set}" = set; then
! 1029: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1030: else
! 1031: ac_cv_build_alias=$build_alias
! 1032: test -z "$ac_cv_build_alias" &&
! 1033: ac_cv_build_alias=`$ac_config_guess`
! 1034: test -z "$ac_cv_build_alias" &&
! 1035: { { echo "$as_me:1035: error: cannot guess build type; you must specify one" >&5
! 1036: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! 1037: { (exit 1); exit 1; }; }
! 1038: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
! 1039: { { echo "$as_me:1039: error: $ac_config_sub $ac_cv_build_alias failed." >&5
! 1040: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
! 1041: { (exit 1); exit 1; }; }
! 1042:
! 1043: fi
! 1044: echo "$as_me:1044: result: $ac_cv_build" >&5
! 1045: echo "${ECHO_T}$ac_cv_build" >&6
! 1046: build=$ac_cv_build
! 1047: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 1048: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 1049: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 1050:
! 1051: echo "$as_me:1051: checking host system type" >&5
! 1052: echo $ECHO_N "checking host system type... $ECHO_C" >&6
! 1053: if test "${ac_cv_host+set}" = set; then
! 1054: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1055: else
! 1056: ac_cv_host_alias=$host_alias
! 1057: test -z "$ac_cv_host_alias" &&
! 1058: ac_cv_host_alias=$ac_cv_build_alias
! 1059: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
! 1060: { { echo "$as_me:1060: error: $ac_config_sub $ac_cv_host_alias failed" >&5
! 1061: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
! 1062: { (exit 1); exit 1; }; }
! 1063:
! 1064: fi
! 1065: echo "$as_me:1065: result: $ac_cv_host" >&5
! 1066: echo "${ECHO_T}$ac_cv_host" >&6
! 1067: host=$ac_cv_host
! 1068: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 1069: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 1070: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 1071:
! 1072: echo "$as_me:1072: checking target system type" >&5
! 1073: echo $ECHO_N "checking target system type... $ECHO_C" >&6
! 1074: if test "${ac_cv_target+set}" = set; then
! 1075: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1076: else
! 1077: ac_cv_target_alias=$target_alias
! 1078: test "x$ac_cv_target_alias" = "x" &&
! 1079: ac_cv_target_alias=$ac_cv_host_alias
! 1080: ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
! 1081: { { echo "$as_me:1081: error: $ac_config_sub $ac_cv_target_alias failed" >&5
! 1082: echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
! 1083: { (exit 1); exit 1; }; }
! 1084:
! 1085: fi
! 1086: echo "$as_me:1086: result: $ac_cv_target" >&5
! 1087: echo "${ECHO_T}$ac_cv_target" >&6
! 1088: target=$ac_cv_target
! 1089: target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 1090: target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 1091: target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.1 root 1092:
1093: # The aliases save the names the user supplied, while $host etc.
1094: # will get canonicalized.
1.1.1.3 ! root 1095: test -n "$target_alias" &&
1.1 root 1096: test "$program_prefix$program_suffix$program_transform_name" = \
1097: NONENONEs,x,x, &&
1098: program_prefix=${target_alias}-
1099: # Find a good install program. We prefer a C program (faster),
1100: # so one script is as good as another. But avoid the broken or
1101: # incompatible versions:
1102: # SysV /etc/install, /usr/sbin/install
1103: # SunOS /usr/etc/install
1104: # IRIX /sbin/install
1105: # AIX /bin/install
1.1.1.3 ! root 1106: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 root 1107: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1108: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1109: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1110: # ./install, which can be erroneously created by make from ./install.sh.
1.1.1.3 ! root 1111: echo "$as_me:1111: checking for a BSD compatible install" >&5
! 1112: echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1.1 root 1113: if test -z "$INSTALL"; then
1.1.1.3 ! root 1114: if test "${ac_cv_path_install+set}" = set; then
! 1115: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 1116: else
1.1.1.3 ! root 1117: ac_save_IFS=$IFS; IFS=$ac_path_separator
1.1 root 1118: for ac_dir in $PATH; do
1.1.1.3 ! root 1119: IFS=$ac_save_IFS
1.1 root 1120: # Account for people who put trailing slashes in PATH elements.
1.1.1.3 ! root 1121: case $ac_dir/ in
! 1122: / | ./ | .// | /cC/* \
! 1123: | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
! 1124: | /usr/ucb/* ) ;;
1.1 root 1125: *)
1126: # OSF1 and SCO ODT 3.0 have their own names for install.
1127: # Don't use installbsd from OSF since it installs stuff as root
1128: # by default.
1129: for ac_prog in ginstall scoinst install; do
1.1.1.3 ! root 1130: if $as_executable_p "$ac_dir/$ac_prog"; then
1.1 root 1131: if test $ac_prog = install &&
1.1.1.3 ! root 1132: grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1.1 root 1133: # AIX install. It has an incompatible calling convention.
1134: :
1.1.1.3 ! root 1135: elif test $ac_prog = install &&
! 1136: grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
! 1137: # program-specific install script used by HP pwplus--don't use.
! 1138: :
1.1 root 1139: else
1140: ac_cv_path_install="$ac_dir/$ac_prog -c"
1141: break 2
1142: fi
1143: fi
1144: done
1145: ;;
1146: esac
1147: done
1148:
1149: fi
1150: if test "${ac_cv_path_install+set}" = set; then
1.1.1.3 ! root 1151: INSTALL=$ac_cv_path_install
1.1 root 1152: else
1153: # As a last resort, use the slow shell script. We don't cache a
1154: # path for INSTALL within a source directory, because that will
1155: # break other packages using the cache if that directory is
1156: # removed, or if the path is relative.
1.1.1.3 ! root 1157: INSTALL=$ac_install_sh
1.1 root 1158: fi
1159: fi
1.1.1.3 ! root 1160: echo "$as_me:1160: result: $INSTALL" >&5
! 1161: echo "${ECHO_T}$INSTALL" >&6
1.1 root 1162:
1163: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1164: # It thinks the first close brace ends the variable substitution.
1165: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1166:
1.1.1.3 ! root 1167: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 root 1168:
1169: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1170:
1.1.1.3 ! root 1171: echo "$as_me:1171: checking whether build environment is sane" >&5
! 1172: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1 root 1173: # Just in case
1174: sleep 1
1.1.1.3 ! root 1175: echo timestamp > conftest.file
1.1 root 1176: # Do `set' in a subshell so we don't clobber the current shell's
1177: # arguments. Must try -L first in case configure is actually a
1178: # symlink; some systems play weird games with the mod time of symlinks
1179: # (eg FreeBSD returns the mod time of the symlink's containing
1180: # directory).
1181: if (
1.1.1.3 ! root 1182: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1 root 1183: if test "$*" = "X"; then
1184: # -L didn't work.
1.1.1.3 ! root 1185: set X `ls -t $srcdir/configure conftest.file`
1.1 root 1186: fi
1.1.1.3 ! root 1187: rm -f conftest.file
! 1188: if test "$*" != "X $srcdir/configure conftest.file" \
! 1189: && test "$*" != "X conftest.file $srcdir/configure"; then
1.1 root 1190:
1191: # If neither matched, then we have a broken ls. This can happen
1192: # if, for instance, CONFIG_SHELL is bash and it inherits a
1193: # broken ls alias from the environment. This has actually
1194: # happened. Such a system could not be considered "sane".
1.1.1.3 ! root 1195: { { echo "$as_me:1195: error: ls -t appears to fail. Make sure there is not a broken
! 1196: alias in your environment" >&5
! 1197: echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
! 1198: alias in your environment" >&2;}
! 1199: { (exit 1); exit 1; }; }
1.1 root 1200: fi
1201:
1.1.1.3 ! root 1202: test "$2" = conftest.file
1.1 root 1203: )
1204: then
1205: # Ok.
1206: :
1207: else
1.1.1.3 ! root 1208: { { echo "$as_me:1208: error: newly created file is older than distributed files!
! 1209: Check your system clock" >&5
! 1210: echo "$as_me: error: newly created file is older than distributed files!
! 1211: Check your system clock" >&2;}
! 1212: { (exit 1); exit 1; }; }
1.1 root 1213: fi
1.1.1.3 ! root 1214: echo "$as_me:1214: result: yes" >&5
! 1215: echo "${ECHO_T}yes" >&6
1.1 root 1216: test "$program_prefix" != NONE &&
1.1.1.3 ! root 1217: program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1 root 1218: # Use a double $ so make ignores it.
1219: test "$program_suffix" != NONE &&
1.1.1.3 ! root 1220: program_transform_name="s,\$,$program_suffix,;$program_transform_name"
! 1221: # Double any \ or $. echo might interpret backslashes.
! 1222: # By default was `s,x,x', remove it if useless.
! 1223: cat <<\_ACEOF >conftest.sed
! 1224: s/[\\$]/&&/g;s/;s,x,x,$//
! 1225: _ACEOF
! 1226: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
! 1227: rm conftest.sed
! 1228:
! 1229: # expand $ac_aux_dir to an absolute path
! 1230: am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
! 1231:
! 1232: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
! 1233: # Use eval to expand $SHELL
! 1234: if eval "$MISSING --run true"; then
! 1235: am_missing_run="$MISSING --run "
! 1236: else
! 1237: am_missing_run=
! 1238: am_backtick='`'
! 1239: { echo "$as_me:1239: WARNING: ${am_backtick}missing' script is too old or missing" >&5
! 1240: echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
! 1241: fi
! 1242:
! 1243: for ac_prog in mawk gawk nawk awk
! 1244: do
! 1245: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 1246: set dummy $ac_prog; ac_word=$2
! 1247: echo "$as_me:1247: checking for $ac_word" >&5
! 1248: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1249: if test "${ac_cv_prog_AWK+set}" = set; then
! 1250: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1251: else
! 1252: if test -n "$AWK"; then
! 1253: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 1254: else
! 1255: ac_save_IFS=$IFS; IFS=$ac_path_separator
! 1256: ac_dummy="$PATH"
! 1257: for ac_dir in $ac_dummy; do
! 1258: IFS=$ac_save_IFS
! 1259: test -z "$ac_dir" && ac_dir=.
! 1260: $as_executable_p "$ac_dir/$ac_word" || continue
! 1261: ac_cv_prog_AWK="$ac_prog"
! 1262: echo "$as_me:1262: found $ac_dir/$ac_word" >&5
! 1263: break
! 1264: done
! 1265:
! 1266: fi
! 1267: fi
! 1268: AWK=$ac_cv_prog_AWK
! 1269: if test -n "$AWK"; then
! 1270: echo "$as_me:1270: result: $AWK" >&5
! 1271: echo "${ECHO_T}$AWK" >&6
! 1272: else
! 1273: echo "$as_me:1273: result: no" >&5
! 1274: echo "${ECHO_T}no" >&6
! 1275: fi
1.1 root 1276:
1.1.1.3 ! root 1277: test -n "$AWK" && break
! 1278: done
1.1 root 1279:
1.1.1.3 ! root 1280: echo "$as_me:1280: checking whether ${MAKE-make} sets \${MAKE}" >&5
! 1281: echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
! 1282: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
! 1283: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
! 1284: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 1285: else
1.1.1.3 ! root 1286: cat >conftest.make <<\EOF
1.1 root 1287: all:
1288: @echo 'ac_maketemp="${MAKE}"'
1289: EOF
1290: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1.1.3 ! root 1291: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1 root 1292: if test -n "$ac_maketemp"; then
1293: eval ac_cv_prog_make_${ac_make}_set=yes
1294: else
1295: eval ac_cv_prog_make_${ac_make}_set=no
1296: fi
1.1.1.3 ! root 1297: rm -f conftest.make
1.1 root 1298: fi
1299: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.1.1.3 ! root 1300: echo "$as_me:1300: result: yes" >&5
! 1301: echo "${ECHO_T}yes" >&6
1.1 root 1302: SET_MAKE=
1303: else
1.1.1.3 ! root 1304: echo "$as_me:1304: result: no" >&5
! 1305: echo "${ECHO_T}no" >&6
1.1 root 1306: SET_MAKE="MAKE=${MAKE-make}"
1307: fi
1308:
1.1.1.3 ! root 1309: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
! 1310: if test "${enable_dependency_tracking+set}" = set; then
! 1311: enableval="$enable_dependency_tracking"
1.1 root 1312:
1.1.1.3 ! root 1313: fi;
! 1314: if test "x$enable_dependency_tracking" != xno; then
! 1315: am_depcomp="$ac_aux_dir/depcomp"
! 1316: AMDEPBACKSLASH='\'
! 1317: fi
! 1318:
! 1319: if test "x$enable_dependency_tracking" != xno; then
! 1320: AMDEP_TRUE=
! 1321: AMDEP_FALSE='#'
! 1322: else
! 1323: AMDEP_TRUE='#'
! 1324: AMDEP_FALSE=
! 1325: fi
1.1 root 1326:
1.1.1.3 ! root 1327: rm -f .deps 2>/dev/null
! 1328: mkdir .deps 2>/dev/null
! 1329: if test -d .deps; then
! 1330: DEPDIR=.deps
! 1331: else
! 1332: # MS-DOS does not allow filenames that begin with a dot.
! 1333: DEPDIR=_deps
! 1334: fi
! 1335: rmdir .deps 2>/dev/null
1.1 root 1336:
1.1.1.3 ! root 1337: # test to see if srcdir already configured
! 1338: if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
! 1339: test -f $srcdir/config.status; then
! 1340: { { echo "$as_me:1340: error: source directory already configured; run \"make distclean\" there first" >&5
! 1341: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
! 1342: { (exit 1); exit 1; }; }
1.1 root 1343: fi
1.1.1.3 ! root 1344:
! 1345: # Define the identity of the package.
! 1346: PACKAGE=generator
! 1347: VERSION=0.34
! 1348:
! 1349: cat >>confdefs.h <<EOF
1.1 root 1350: #define PACKAGE "$PACKAGE"
1351: EOF
1352:
1.1.1.3 ! root 1353: cat >>confdefs.h <<EOF
1.1 root 1354: #define VERSION "$VERSION"
1355: EOF
1356:
1.1.1.3 ! root 1357: # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
! 1358: # the ones we care about.
1.1 root 1359:
1.1.1.3 ! root 1360: # Autoconf 2.50 always computes EXEEXT. However we need to be
! 1361: # compatible with 2.13, for now. So we always define EXEEXT, but we
! 1362: # don't compute it.
1.1 root 1363:
1.1.1.3 ! root 1364: # Similar for OBJEXT -- only we only use OBJEXT if the user actually
! 1365: # requests that it be used. This is a bit dumb.
! 1366: : ${OBJEXT=o}
1.1 root 1367:
1.1.1.3 ! root 1368: # Some tools Automake needs.
1.1 root 1369:
1.1.1.3 ! root 1370: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1.1 root 1371:
1.1.1.3 ! root 1372: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1.1 root 1373:
1.1.1.3 ! root 1374: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1.1 root 1375:
1.1.1.3 ! root 1376: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1.1 root 1377:
1.1.1.3 ! root 1378: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1 root 1379:
1.1.1.3 ! root 1380: AMTAR=${AMTAR-"${am_missing_run}tar"}
1.1 root 1381:
1.1.1.3 ! root 1382: install_sh=${install_sh-"$am_aux_dir/install-sh"}
! 1383:
! 1384: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
! 1385:
! 1386: # We need awk for the "check" target. The system "awk" is bad on
! 1387: # some platforms.
! 1388:
! 1389: ac_config_headers="$ac_config_headers config.h"
1.1 root 1390:
1.1.1.3 ! root 1391: optimum=yes
! 1392:
! 1393: MY_DIST_SUBDIRS="cpu68k raze cmz80 ym2612 sn76496 main glade gtkopts"
! 1394: MY_SUBDIRS="cpu68k ym2612 sn76496 main"
! 1395: MY_LIBS=""
! 1396: UNDERSCORE=""
! 1397: ASMOUTPUT=elf
! 1398:
! 1399: # Check whether --with-coffasm or --without-coffasm was given.
! 1400: if test "${with_coffasm+set}" = set; then
! 1401: withval="$with_coffasm"
! 1402: ASMOUTPUT=coff; UNDERSCORE="_"
! 1403: fi;
! 1404:
! 1405: # Check whether --with-svgalib or --without-svgalib was given.
! 1406: if test "${with_svgalib+set}" = set; then
! 1407: withval="$with_svgalib"
! 1408: MY_PROG="generator-svgalib"
! 1409: fi;
! 1410:
! 1411: # Check whether --with-allegro or --without-allegro was given.
! 1412: if test "${with_allegro+set}" = set; then
! 1413: withval="$with_allegro"
! 1414: MY_PROG="generator-allegro"
! 1415: fi;
! 1416:
! 1417: # Check whether --with-tcltk or --without-tcltk was given.
! 1418: if test "${with_tcltk+set}" = set; then
! 1419: withval="$with_tcltk"
! 1420: MY_PROG="generator-tcltk"
! 1421: fi;
! 1422:
! 1423: # Check whether --with-gtk or --without-gtk was given.
! 1424: if test "${with_gtk+set}" = set; then
! 1425: withval="$with_gtk"
! 1426: MY_PROG="generator-gtk"
! 1427: fi;
! 1428: if [ "x$MY_PROG" = "x" ]; then
! 1429: { { echo "$as_me:1429: error: You must select a user interface type:
! 1430: svgalib allegro tcltk gtk" >&5
! 1431: echo "$as_me: error: You must select a user interface type:
! 1432: svgalib allegro tcltk gtk" >&2;}
! 1433: { (exit 1); exit 1; }; }
1.1 root 1434: fi
1.1.1.3 ! root 1435: if [ "x$MY_PROG" = "xgenerator-allegro" ]; then
! 1436:
! 1437: cat >>confdefs.h <<\EOF
1.1 root 1438: #define ALLEGRO 1
1439: EOF
1440:
1.1.1.3 ! root 1441: PROGRAM='generator-allegro$(EXEEXT)'
! 1442: else
! 1443: PROGRAM=$MY_PROG
1.1 root 1444: fi
1.1.1.3 ! root 1445:
! 1446: # Check whether --with-raze or --without-raze was given.
! 1447: if test "${with_raze+set}" = set; then
! 1448: withval="$with_raze"
! 1449: Z80="raze"
! 1450: fi;
! 1451:
! 1452: # Check whether --with-cmz80 or --without-cmz80 was given.
! 1453: if test "${with_cmz80+set}" = set; then
! 1454: withval="$with_cmz80"
! 1455: Z80="cmz80"
! 1456: fi;
! 1457: if [ "x$Z80" = "xraze" ]; then
! 1458: MY_SUBDIRS="raze $MY_SUBDIRS"
! 1459: MY_LIBS="../raze/libraze.a $MY_LIBS"
! 1460:
! 1461: cat >>confdefs.h <<\EOF
1.1 root 1462: #define RAZE 1
1463: EOF
1464:
1.1.1.3 ! root 1465: elif [ "x$Z80" = "xcmz80" ]; then
! 1466: MY_SUBDIRS="cmz80 $MY_SUBDIRS"
! 1467: MY_LIBS="../cmz80/libcmz80.a $MY_LIBS"
! 1468:
! 1469: cat >>confdefs.h <<\EOF
! 1470: #define CMZ80 1
1.1.1.2 root 1471: EOF
1472:
1.1.1.3 ! root 1473: else
! 1474: { { echo "$as_me:1474: error: You must select a z80 emulator: raze cmz80" >&5
! 1475: echo "$as_me: error: You must select a z80 emulator: raze cmz80" >&2;}
! 1476: { (exit 1); exit 1; }; }
! 1477: fi
1.1 root 1478:
1.1.1.3 ! root 1479: cat >>confdefs.h <<\EOF
! 1480: #define DIRECTRAM 1
! 1481: EOF
1.1 root 1482:
1483: case $target_cpu in
1.1.1.3 ! root 1484: i?86) echo "$as_me:1484: result: Turning on x86 processor optimisations" >&5
! 1485: echo "${ECHO_T}Turning on x86 processor optimisations" >&6
! 1486:
! 1487: cat >>confdefs.h <<\EOF
1.1 root 1488: #define PROCESSOR_INTEL 1
1489: EOF
1490:
1491: ALIGNLONGS=1
1492: ;;
1.1.1.3 ! root 1493: sparc) echo "$as_me:1493: result: Turning on sparc processor optimisations" >&5
! 1494: echo "${ECHO_T}Turning on sparc processor optimisations" >&6
! 1495:
! 1496: cat >>confdefs.h <<\EOF
1.1 root 1497: #define PROCESSOR_SPARC 1
1498: EOF
1499:
1500: ALIGNLONGS=0
1501: ;;
1.1.1.3 ! root 1502: arm) echo "$as_me:1502: result: Turning on arm processor optimisations" >&5
! 1503: echo "${ECHO_T}Turning on arm processor optimisations" >&6
! 1504:
! 1505: cat >>confdefs.h <<\EOF
1.1 root 1506: #define PROCESSOR_ARM 1
1507: EOF
1508:
1509: ALIGNLONGS=1
1510: ;;
1.1.1.3 ! root 1511: *) { echo "$as_me:1511: WARNING: Processor type not known - processor optimisations off!" >&5
! 1512: echo "$as_me: WARNING: Processor type not known - processor optimisations off!" >&2;}
1.1 root 1513: ALIGNLONGS=1
1514: optimum=no
1515: ;;
1516: esac
1.1.1.3 ! root 1517:
! 1518: cat >>confdefs.h <<\EOF
1.1 root 1519: #define ALIGNLONGS ALIGNLONGS
1520: EOF
1521:
1522: # default to gcc version 2
1523: GCCVER=2
1524: WARN=no
1525: DEBUG=no
1.1.1.3 ! root 1526:
! 1527: # Check whether --with-nologging or --without-nologging was given.
! 1528: if test "${with_nologging+set}" = set; then
! 1529: withval="$with_nologging"
! 1530:
! 1531: cat >>confdefs.h <<\EOF
! 1532: #define NOLOGGING 1
! 1533: EOF
! 1534:
! 1535: fi;
! 1536:
! 1537: # Check whether --with-warnings or --without-warnings was given.
1.1 root 1538: if test "${with_warnings+set}" = set; then
1539: withval="$with_warnings"
1540: WARN=$withval
1541: else
1542: WARN=no
1.1.1.3 ! root 1543: fi;
1.1 root 1544:
1.1.1.3 ! root 1545: # Check whether --with-gcc or --without-gcc was given.
1.1 root 1546: if test "${with_gcc+set}" = set; then
1547: withval="$with_gcc"
1548: GCCVER=$withval
1.1.1.3 ! root 1549: fi;
! 1550:
! 1551: # Check whether --with-raze or --without-raze was given.
! 1552: if test "${with_raze+set}" = set; then
! 1553: withval="$with_raze"
! 1554: RAZE=$withval
! 1555: else
! 1556: DEBUG=no
! 1557: fi;
1.1 root 1558:
1.1.1.3 ! root 1559: # Check whether --with-debug or --without-debug was given.
1.1 root 1560: if test "${with_debug+set}" = set; then
1561: withval="$with_debug"
1562: DEBUG=$withval
1563: else
1564: DEBUG=no
1.1.1.3 ! root 1565: fi;
1.1 root 1566: if [ "x$WARN" != "xno" ]; then
1.1.1.3 ! root 1567: CFLAGS="$CFLAGS -W -Wall -Wstrict-prototypes -Wformat -Wunused"
1.1 root 1568: fi
1569: if [ "x$DEBUG" != "xno" ]; then
1.1.1.3 ! root 1570: echo "$as_me:1570: result: Turning on debug flags" >&5
! 1571: echo "${ECHO_T}Turning on debug flags" >&6
1.1 root 1572: CFLAGS="$CFLAGS -g -O"
1573: optimum=no
1574: else
1575: if [ "x$GCCVER" != "xno" ]; then
1.1.1.3 ! root 1576: echo "$as_me:1576: result: Turning on gcc optimisations" >&5
! 1577: echo "${ECHO_T}Turning on gcc optimisations" >&6
1.1 root 1578: CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer"
1579: if [ "x$GCCVER" = "x3" ]; then
1.1.1.3 ! root 1580: echo "$as_me:1580: result: Turning on gcc 3 optimisations" >&5
! 1581: echo "${ECHO_T}Turning on gcc 3 optimisations" >&6
1.1 root 1582: CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno"
1583: fi
1584: case $target_cpu in
1.1.1.3 ! root 1585: i?86) echo "$as_me:1585: result: Turning on pentium optimisations" >&5
! 1586: echo "${ECHO_T}Turning on pentium optimisations" >&6
1.1 root 1587: CFLAGS="$CFLAGS -march=pentium -malign-double -malign-loops=5"
1588: CFLAGS="$CFLAGS -malign-jumps=5 -malign-functions=5"
1589: ;;
1590: esac
1591: else
1.1.1.3 ! root 1592: { echo "$as_me:1592: WARNING: You did not opt for gcc optimisations!" >&5
! 1593: echo "$as_me: WARNING: You did not opt for gcc optimisations!" >&2;}
1.1 root 1594: optimum=no
1595: fi
1596: fi
1597:
1.1.1.3 ! root 1598: ac_ext=c
! 1599: ac_cpp='$CPP $CPPFLAGS'
! 1600: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1601: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1602: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1603: if test -n "$ac_tool_prefix"; then
! 1604: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 1605: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 1606: echo "$as_me:1606: checking for $ac_word" >&5
! 1607: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1608: if test "${ac_cv_prog_CC+set}" = set; then
! 1609: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1610: else
! 1611: if test -n "$CC"; then
! 1612: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1613: else
! 1614: ac_save_IFS=$IFS; IFS=$ac_path_separator
! 1615: ac_dummy="$PATH"
! 1616: for ac_dir in $ac_dummy; do
! 1617: IFS=$ac_save_IFS
! 1618: test -z "$ac_dir" && ac_dir=.
! 1619: $as_executable_p "$ac_dir/$ac_word" || continue
! 1620: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 1621: echo "$as_me:1621: found $ac_dir/$ac_word" >&5
! 1622: break
! 1623: done
! 1624:
! 1625: fi
! 1626: fi
! 1627: CC=$ac_cv_prog_CC
! 1628: if test -n "$CC"; then
! 1629: echo "$as_me:1629: result: $CC" >&5
! 1630: echo "${ECHO_T}$CC" >&6
! 1631: else
! 1632: echo "$as_me:1632: result: no" >&5
! 1633: echo "${ECHO_T}no" >&6
! 1634: fi
! 1635:
! 1636: fi
! 1637: if test -z "$ac_cv_prog_CC"; then
! 1638: ac_ct_CC=$CC
! 1639: # Extract the first word of "gcc", so it can be a program name with args.
1.1 root 1640: set dummy gcc; ac_word=$2
1.1.1.3 ! root 1641: echo "$as_me:1641: checking for $ac_word" >&5
! 1642: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1643: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1644: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1645: else
! 1646: if test -n "$ac_ct_CC"; then
! 1647: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1648: else
! 1649: ac_save_IFS=$IFS; IFS=$ac_path_separator
! 1650: ac_dummy="$PATH"
! 1651: for ac_dir in $ac_dummy; do
! 1652: IFS=$ac_save_IFS
! 1653: test -z "$ac_dir" && ac_dir=.
! 1654: $as_executable_p "$ac_dir/$ac_word" || continue
! 1655: ac_cv_prog_ac_ct_CC="gcc"
! 1656: echo "$as_me:1656: found $ac_dir/$ac_word" >&5
! 1657: break
! 1658: done
! 1659:
! 1660: fi
! 1661: fi
! 1662: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1663: if test -n "$ac_ct_CC"; then
! 1664: echo "$as_me:1664: result: $ac_ct_CC" >&5
! 1665: echo "${ECHO_T}$ac_ct_CC" >&6
! 1666: else
! 1667: echo "$as_me:1667: result: no" >&5
! 1668: echo "${ECHO_T}no" >&6
! 1669: fi
! 1670:
! 1671: CC=$ac_ct_CC
! 1672: else
! 1673: CC="$ac_cv_prog_CC"
! 1674: fi
! 1675:
! 1676: if test -z "$CC"; then
! 1677: if test -n "$ac_tool_prefix"; then
! 1678: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 1679: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 1680: echo "$as_me:1680: checking for $ac_word" >&5
! 1681: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1682: if test "${ac_cv_prog_CC+set}" = set; then
! 1683: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 1684: else
1685: if test -n "$CC"; then
1686: ac_cv_prog_CC="$CC" # Let the user override the test.
1687: else
1.1.1.3 ! root 1688: ac_save_IFS=$IFS; IFS=$ac_path_separator
! 1689: ac_dummy="$PATH"
! 1690: for ac_dir in $ac_dummy; do
! 1691: IFS=$ac_save_IFS
! 1692: test -z "$ac_dir" && ac_dir=.
! 1693: $as_executable_p "$ac_dir/$ac_word" || continue
! 1694: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 1695: echo "$as_me:1695: found $ac_dir/$ac_word" >&5
! 1696: break
! 1697: done
! 1698:
1.1 root 1699: fi
1700: fi
1.1.1.3 ! root 1701: CC=$ac_cv_prog_CC
1.1 root 1702: if test -n "$CC"; then
1.1.1.3 ! root 1703: echo "$as_me:1703: result: $CC" >&5
! 1704: echo "${ECHO_T}$CC" >&6
! 1705: else
! 1706: echo "$as_me:1706: result: no" >&5
! 1707: echo "${ECHO_T}no" >&6
! 1708: fi
! 1709:
! 1710: fi
! 1711: if test -z "$ac_cv_prog_CC"; then
! 1712: ac_ct_CC=$CC
! 1713: # Extract the first word of "cc", so it can be a program name with args.
! 1714: set dummy cc; ac_word=$2
! 1715: echo "$as_me:1715: checking for $ac_word" >&5
! 1716: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1717: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1718: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1719: else
! 1720: if test -n "$ac_ct_CC"; then
! 1721: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1722: else
! 1723: ac_save_IFS=$IFS; IFS=$ac_path_separator
! 1724: ac_dummy="$PATH"
! 1725: for ac_dir in $ac_dummy; do
! 1726: IFS=$ac_save_IFS
! 1727: test -z "$ac_dir" && ac_dir=.
! 1728: $as_executable_p "$ac_dir/$ac_word" || continue
! 1729: ac_cv_prog_ac_ct_CC="cc"
! 1730: echo "$as_me:1730: found $ac_dir/$ac_word" >&5
! 1731: break
! 1732: done
! 1733:
! 1734: fi
! 1735: fi
! 1736: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1737: if test -n "$ac_ct_CC"; then
! 1738: echo "$as_me:1738: result: $ac_ct_CC" >&5
! 1739: echo "${ECHO_T}$ac_ct_CC" >&6
! 1740: else
! 1741: echo "$as_me:1741: result: no" >&5
! 1742: echo "${ECHO_T}no" >&6
! 1743: fi
! 1744:
! 1745: CC=$ac_ct_CC
1.1 root 1746: else
1.1.1.3 ! root 1747: CC="$ac_cv_prog_CC"
1.1 root 1748: fi
1749:
1.1.1.3 ! root 1750: fi
1.1 root 1751: if test -z "$CC"; then
1752: # Extract the first word of "cc", so it can be a program name with args.
1753: set dummy cc; ac_word=$2
1.1.1.3 ! root 1754: echo "$as_me:1754: checking for $ac_word" >&5
! 1755: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1756: if test "${ac_cv_prog_CC+set}" = set; then
! 1757: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 1758: else
1759: if test -n "$CC"; then
1760: ac_cv_prog_CC="$CC" # Let the user override the test.
1761: else
1762: ac_prog_rejected=no
1.1.1.3 ! root 1763: ac_save_IFS=$IFS; IFS=$ac_path_separator
! 1764: ac_dummy="$PATH"
! 1765: for ac_dir in $ac_dummy; do
! 1766: IFS=$ac_save_IFS
! 1767: test -z "$ac_dir" && ac_dir=.
! 1768: $as_executable_p "$ac_dir/$ac_word" || continue
! 1769: if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
! 1770: ac_prog_rejected=yes
! 1771: continue
! 1772: fi
! 1773: ac_cv_prog_CC="cc"
! 1774: echo "$as_me:1774: found $ac_dir/$ac_word" >&5
! 1775: break
! 1776: done
! 1777:
1.1 root 1778: if test $ac_prog_rejected = yes; then
1779: # We found a bogon in the path, so make sure we never use it.
1780: set dummy $ac_cv_prog_CC
1781: shift
1.1.1.3 ! root 1782: if test $# != 0; then
1.1 root 1783: # We chose a different compiler from the bogus one.
1784: # However, it has the same basename, so the bogon will be chosen
1785: # first if we set CC to just the basename; use the full file name.
1786: shift
1.1.1.3 ! root 1787: set dummy "$ac_dir/$ac_word" ${1+"$@"}
1.1 root 1788: shift
1789: ac_cv_prog_CC="$@"
1790: fi
1791: fi
1792: fi
1793: fi
1.1.1.3 ! root 1794: CC=$ac_cv_prog_CC
1.1 root 1795: if test -n "$CC"; then
1.1.1.3 ! root 1796: echo "$as_me:1796: result: $CC" >&5
! 1797: echo "${ECHO_T}$CC" >&6
1.1 root 1798: else
1.1.1.3 ! root 1799: echo "$as_me:1799: result: no" >&5
! 1800: echo "${ECHO_T}no" >&6
1.1 root 1801: fi
1802:
1.1.1.3 ! root 1803: fi
! 1804: if test -z "$CC"; then
! 1805: if test -n "$ac_tool_prefix"; then
! 1806: for ac_prog in cl
! 1807: do
! 1808: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 1809: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 1810: echo "$as_me:1810: checking for $ac_word" >&5
! 1811: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1812: if test "${ac_cv_prog_CC+set}" = set; then
! 1813: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 1814: else
1815: if test -n "$CC"; then
1816: ac_cv_prog_CC="$CC" # Let the user override the test.
1817: else
1.1.1.3 ! root 1818: ac_save_IFS=$IFS; IFS=$ac_path_separator
! 1819: ac_dummy="$PATH"
! 1820: for ac_dir in $ac_dummy; do
! 1821: IFS=$ac_save_IFS
! 1822: test -z "$ac_dir" && ac_dir=.
! 1823: $as_executable_p "$ac_dir/$ac_word" || continue
! 1824: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 1825: echo "$as_me:1825: found $ac_dir/$ac_word" >&5
! 1826: break
! 1827: done
! 1828:
1.1 root 1829: fi
1830: fi
1.1.1.3 ! root 1831: CC=$ac_cv_prog_CC
1.1 root 1832: if test -n "$CC"; then
1.1.1.3 ! root 1833: echo "$as_me:1833: result: $CC" >&5
! 1834: echo "${ECHO_T}$CC" >&6
1.1 root 1835: else
1.1.1.3 ! root 1836: echo "$as_me:1836: result: no" >&5
! 1837: echo "${ECHO_T}no" >&6
1.1 root 1838: fi
1.1.1.3 ! root 1839:
! 1840: test -n "$CC" && break
! 1841: done
1.1 root 1842: fi
1.1.1.3 ! root 1843: if test -z "$CC"; then
! 1844: ac_ct_CC=$CC
! 1845: for ac_prog in cl
! 1846: do
! 1847: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 1848: set dummy $ac_prog; ac_word=$2
! 1849: echo "$as_me:1849: checking for $ac_word" >&5
! 1850: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1851: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1852: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1853: else
! 1854: if test -n "$ac_ct_CC"; then
! 1855: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1856: else
! 1857: ac_save_IFS=$IFS; IFS=$ac_path_separator
! 1858: ac_dummy="$PATH"
! 1859: for ac_dir in $ac_dummy; do
! 1860: IFS=$ac_save_IFS
! 1861: test -z "$ac_dir" && ac_dir=.
! 1862: $as_executable_p "$ac_dir/$ac_word" || continue
! 1863: ac_cv_prog_ac_ct_CC="$ac_prog"
! 1864: echo "$as_me:1864: found $ac_dir/$ac_word" >&5
! 1865: break
! 1866: done
1.1 root 1867:
1.1.1.3 ! root 1868: fi
! 1869: fi
! 1870: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1871: if test -n "$ac_ct_CC"; then
! 1872: echo "$as_me:1872: result: $ac_ct_CC" >&5
! 1873: echo "${ECHO_T}$ac_ct_CC" >&6
! 1874: else
! 1875: echo "$as_me:1875: result: no" >&5
! 1876: echo "${ECHO_T}no" >&6
! 1877: fi
1.1 root 1878:
1.1.1.3 ! root 1879: test -n "$ac_ct_CC" && break
! 1880: done
! 1881:
! 1882: CC=$ac_ct_CC
! 1883: fi
1.1 root 1884:
1.1.1.3 ! root 1885: fi
! 1886:
! 1887: test -z "$CC" && { { echo "$as_me:1887: error: no acceptable cc found in \$PATH" >&5
! 1888: echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
! 1889: { (exit 1); exit 1; }; }
! 1890:
! 1891: # Provide some information about the compiler.
! 1892: echo "$as_me:1892:" \
! 1893: "checking for C compiler version" >&5
! 1894: ac_compiler=`set X $ac_compile; echo $2`
! 1895: { (eval echo "$as_me:1895: \"$ac_compiler --version </dev/null >&5\"") >&5
! 1896: (eval $ac_compiler --version </dev/null >&5) 2>&5
! 1897: ac_status=$?
! 1898: echo "$as_me:1898: \$? = $ac_status" >&5
! 1899: (exit $ac_status); }
! 1900: { (eval echo "$as_me:1900: \"$ac_compiler -v </dev/null >&5\"") >&5
! 1901: (eval $ac_compiler -v </dev/null >&5) 2>&5
! 1902: ac_status=$?
! 1903: echo "$as_me:1903: \$? = $ac_status" >&5
! 1904: (exit $ac_status); }
! 1905: { (eval echo "$as_me:1905: \"$ac_compiler -V </dev/null >&5\"") >&5
! 1906: (eval $ac_compiler -V </dev/null >&5) 2>&5
! 1907: ac_status=$?
! 1908: echo "$as_me:1908: \$? = $ac_status" >&5
! 1909: (exit $ac_status); }
1.1 root 1910:
1.1.1.3 ! root 1911: cat >conftest.$ac_ext <<_ACEOF
! 1912: #line 1912 "configure"
1.1 root 1913: #include "confdefs.h"
1914:
1.1.1.3 ! root 1915: int
! 1916: main ()
! 1917: {
! 1918:
! 1919: ;
! 1920: return 0;
! 1921: }
! 1922: _ACEOF
! 1923: ac_clean_files_save=$ac_clean_files
! 1924: ac_clean_files="$ac_clean_files a.out a.exe"
! 1925: # Try to create an executable without -o first, disregard a.out.
! 1926: # It will help us diagnose broken compilers, and finding out an intuition
! 1927: # of exeext.
! 1928: echo "$as_me:1928: checking for C compiler default output" >&5
! 1929: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
! 1930: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 1931: if { (eval echo "$as_me:1931: \"$ac_link_default\"") >&5
! 1932: (eval $ac_link_default) 2>&5
! 1933: ac_status=$?
! 1934: echo "$as_me:1934: \$? = $ac_status" >&5
! 1935: (exit $ac_status); }; then
! 1936: # Find the output, starting from the most likely. This scheme is
! 1937: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
! 1938: # resort.
! 1939: for ac_file in `ls a.exe conftest.exe 2>/dev/null;
! 1940: ls a.out conftest 2>/dev/null;
! 1941: ls a.* conftest.* 2>/dev/null`; do
! 1942: case $ac_file in
! 1943: *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
! 1944: a.out ) # We found the default executable, but exeext='' is most
! 1945: # certainly right.
! 1946: break;;
! 1947: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 1948: # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
! 1949: export ac_cv_exeext
! 1950: break;;
! 1951: * ) break;;
! 1952: esac
! 1953: done
! 1954: else
! 1955: echo "$as_me: failed program was:" >&5
! 1956: cat conftest.$ac_ext >&5
! 1957: { { echo "$as_me:1957: error: C compiler cannot create executables" >&5
! 1958: echo "$as_me: error: C compiler cannot create executables" >&2;}
! 1959: { (exit 77); exit 77; }; }
! 1960: fi
! 1961:
! 1962: ac_exeext=$ac_cv_exeext
! 1963: echo "$as_me:1963: result: $ac_file" >&5
! 1964: echo "${ECHO_T}$ac_file" >&6
! 1965:
! 1966: # Check the compiler produces executables we can run. If not, either
! 1967: # the compiler is broken, or we cross compile.
! 1968: echo "$as_me:1968: checking whether the C compiler works" >&5
! 1969: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
! 1970: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 1971: # If not cross compiling, check that we can run a simple program.
! 1972: if test "$cross_compiling" != yes; then
! 1973: if { ac_try='./$ac_file'
! 1974: { (eval echo "$as_me:1974: \"$ac_try\"") >&5
! 1975: (eval $ac_try) 2>&5
! 1976: ac_status=$?
! 1977: echo "$as_me:1977: \$? = $ac_status" >&5
! 1978: (exit $ac_status); }; }; then
! 1979: cross_compiling=no
1.1 root 1980: else
1.1.1.3 ! root 1981: if test "$cross_compiling" = maybe; then
! 1982: cross_compiling=yes
! 1983: else
! 1984: { { echo "$as_me:1984: error: cannot run C compiled programs.
! 1985: If you meant to cross compile, use \`--host'." >&5
! 1986: echo "$as_me: error: cannot run C compiled programs.
! 1987: If you meant to cross compile, use \`--host'." >&2;}
! 1988: { (exit 1); exit 1; }; }
! 1989: fi
1.1 root 1990: fi
1991: fi
1.1.1.3 ! root 1992: echo "$as_me:1992: result: yes" >&5
! 1993: echo "${ECHO_T}yes" >&6
! 1994:
! 1995: rm -f a.out a.exe conftest$ac_cv_exeext
! 1996: ac_clean_files=$ac_clean_files_save
! 1997: # Check the compiler produces executables we can run. If not, either
! 1998: # the compiler is broken, or we cross compile.
! 1999: echo "$as_me:1999: checking whether we are cross compiling" >&5
! 2000: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
! 2001: echo "$as_me:2001: result: $cross_compiling" >&5
! 2002: echo "${ECHO_T}$cross_compiling" >&6
! 2003:
! 2004: echo "$as_me:2004: checking for executable suffix" >&5
! 2005: echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
! 2006: if { (eval echo "$as_me:2006: \"$ac_link\"") >&5
! 2007: (eval $ac_link) 2>&5
! 2008: ac_status=$?
! 2009: echo "$as_me:2009: \$? = $ac_status" >&5
! 2010: (exit $ac_status); }; then
! 2011: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2012: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2013: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2014: # `rm'.
! 2015: for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
! 2016: case $ac_file in
! 2017: *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
! 2018: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2019: export ac_cv_exeext
! 2020: break;;
! 2021: * ) break;;
! 2022: esac
! 2023: done
1.1 root 2024: else
1.1.1.3 ! root 2025: { { echo "$as_me:2025: error: cannot compute EXEEXT: cannot compile and link" >&5
! 2026: echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
! 2027: { (exit 1); exit 1; }; }
! 2028: fi
! 2029:
! 2030: rm -f conftest$ac_cv_exeext
! 2031: echo "$as_me:2031: result: $ac_cv_exeext" >&5
! 2032: echo "${ECHO_T}$ac_cv_exeext" >&6
! 2033:
! 2034: rm -f conftest.$ac_ext
! 2035: EXEEXT=$ac_cv_exeext
! 2036: ac_exeext=$EXEEXT
! 2037: echo "$as_me:2037: checking for object suffix" >&5
! 2038: echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
! 2039: if test "${ac_cv_objext+set}" = set; then
! 2040: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2041: else
! 2042: cat >conftest.$ac_ext <<_ACEOF
! 2043: #line 2043 "configure"
! 2044: #include "confdefs.h"
1.1 root 2045:
1.1.1.3 ! root 2046: int
! 2047: main ()
! 2048: {
1.1 root 2049:
1.1.1.3 ! root 2050: ;
! 2051: return 0;
! 2052: }
! 2053: _ACEOF
! 2054: rm -f conftest.o conftest.obj
! 2055: if { (eval echo "$as_me:2055: \"$ac_compile\"") >&5
! 2056: (eval $ac_compile) 2>&5
! 2057: ac_status=$?
! 2058: echo "$as_me:2058: \$? = $ac_status" >&5
! 2059: (exit $ac_status); }; then
! 2060: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
! 2061: case $ac_file in
! 2062: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
! 2063: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 2064: break;;
! 2065: esac
! 2066: done
1.1 root 2067: else
1.1.1.3 ! root 2068: echo "$as_me: failed program was:" >&5
! 2069: cat conftest.$ac_ext >&5
! 2070: { { echo "$as_me:2070: error: cannot compute OBJEXT: cannot compile" >&5
! 2071: echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
! 2072: { (exit 1); exit 1; }; }
! 2073: fi
! 2074:
! 2075: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 2076: fi
! 2077: echo "$as_me:2077: result: $ac_cv_objext" >&5
! 2078: echo "${ECHO_T}$ac_cv_objext" >&6
! 2079: OBJEXT=$ac_cv_objext
! 2080: ac_objext=$OBJEXT
! 2081: echo "$as_me:2081: checking whether we are using the GNU C compiler" >&5
! 2082: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
! 2083: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 2084: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2085: else
! 2086: cat >conftest.$ac_ext <<_ACEOF
! 2087: #line 2087 "configure"
! 2088: #include "confdefs.h"
1.1 root 2089:
1.1.1.3 ! root 2090: int
! 2091: main ()
! 2092: {
! 2093: #ifndef __GNUC__
! 2094: choke me
! 2095: #endif
! 2096:
! 2097: ;
! 2098: return 0;
! 2099: }
! 2100: _ACEOF
! 2101: rm -f conftest.$ac_objext
! 2102: if { (eval echo "$as_me:2102: \"$ac_compile\"") >&5
! 2103: (eval $ac_compile) 2>&5
! 2104: ac_status=$?
! 2105: echo "$as_me:2105: \$? = $ac_status" >&5
! 2106: (exit $ac_status); } &&
! 2107: { ac_try='test -s conftest.$ac_objext'
! 2108: { (eval echo "$as_me:2108: \"$ac_try\"") >&5
! 2109: (eval $ac_try) 2>&5
! 2110: ac_status=$?
! 2111: echo "$as_me:2111: \$? = $ac_status" >&5
! 2112: (exit $ac_status); }; }; then
! 2113: ac_compiler_gnu=yes
! 2114: else
! 2115: echo "$as_me: failed program was:" >&5
! 2116: cat conftest.$ac_ext >&5
! 2117: ac_compiler_gnu=no
! 2118: fi
! 2119: rm -f conftest.$ac_objext conftest.$ac_ext
! 2120: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 2121:
! 2122: fi
! 2123: echo "$as_me:2123: result: $ac_cv_c_compiler_gnu" >&5
! 2124: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
! 2125: GCC=`test $ac_compiler_gnu = yes && echo yes`
! 2126: ac_test_CFLAGS=${CFLAGS+set}
! 2127: ac_save_CFLAGS=$CFLAGS
! 2128: CFLAGS="-g"
! 2129: echo "$as_me:2129: checking whether $CC accepts -g" >&5
! 2130: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
! 2131: if test "${ac_cv_prog_cc_g+set}" = set; then
! 2132: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 2133: else
1.1.1.3 ! root 2134: cat >conftest.$ac_ext <<_ACEOF
! 2135: #line 2135 "configure"
! 2136: #include "confdefs.h"
! 2137:
! 2138: int
! 2139: main ()
! 2140: {
! 2141:
! 2142: ;
! 2143: return 0;
! 2144: }
! 2145: _ACEOF
! 2146: rm -f conftest.$ac_objext
! 2147: if { (eval echo "$as_me:2147: \"$ac_compile\"") >&5
! 2148: (eval $ac_compile) 2>&5
! 2149: ac_status=$?
! 2150: echo "$as_me:2150: \$? = $ac_status" >&5
! 2151: (exit $ac_status); } &&
! 2152: { ac_try='test -s conftest.$ac_objext'
! 2153: { (eval echo "$as_me:2153: \"$ac_try\"") >&5
! 2154: (eval $ac_try) 2>&5
! 2155: ac_status=$?
! 2156: echo "$as_me:2156: \$? = $ac_status" >&5
! 2157: (exit $ac_status); }; }; then
1.1 root 2158: ac_cv_prog_cc_g=yes
2159: else
1.1.1.3 ! root 2160: echo "$as_me: failed program was:" >&5
! 2161: cat conftest.$ac_ext >&5
! 2162: ac_cv_prog_cc_g=no
1.1 root 2163: fi
1.1.1.3 ! root 2164: rm -f conftest.$ac_objext conftest.$ac_ext
1.1 root 2165: fi
1.1.1.3 ! root 2166: echo "$as_me:2166: result: $ac_cv_prog_cc_g" >&5
! 2167: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1 root 2168: if test "$ac_test_CFLAGS" = set; then
1.1.1.3 ! root 2169: CFLAGS=$ac_save_CFLAGS
1.1 root 2170: elif test $ac_cv_prog_cc_g = yes; then
2171: if test "$GCC" = yes; then
2172: CFLAGS="-g -O2"
2173: else
2174: CFLAGS="-g"
2175: fi
2176: else
2177: if test "$GCC" = yes; then
2178: CFLAGS="-O2"
2179: else
2180: CFLAGS=
2181: fi
2182: fi
1.1.1.3 ! root 2183: # Some people use a C++ compiler to compile C. Since we use `exit',
! 2184: # in C++ we need to declare it. In case someone uses the same compiler
! 2185: # for both compiling C and C++ we need to have the C++ compiler decide
! 2186: # the declaration of exit, since it's the most demanding environment.
! 2187: cat >conftest.$ac_ext <<_ACEOF
! 2188: #ifndef __cplusplus
! 2189: choke me
! 2190: #endif
! 2191: _ACEOF
! 2192: rm -f conftest.$ac_objext
! 2193: if { (eval echo "$as_me:2193: \"$ac_compile\"") >&5
! 2194: (eval $ac_compile) 2>&5
! 2195: ac_status=$?
! 2196: echo "$as_me:2196: \$? = $ac_status" >&5
! 2197: (exit $ac_status); } &&
! 2198: { ac_try='test -s conftest.$ac_objext'
! 2199: { (eval echo "$as_me:2199: \"$ac_try\"") >&5
! 2200: (eval $ac_try) 2>&5
! 2201: ac_status=$?
! 2202: echo "$as_me:2202: \$? = $ac_status" >&5
! 2203: (exit $ac_status); }; }; then
! 2204: for ac_declaration in \
! 2205: ''\
! 2206: '#include <stdlib.h>' \
! 2207: 'extern "C" void std::exit (int) throw (); using std::exit;' \
! 2208: 'extern "C" void std::exit (int); using std::exit;' \
! 2209: 'extern "C" void exit (int) throw ();' \
! 2210: 'extern "C" void exit (int);' \
! 2211: 'void exit (int);'
! 2212: do
! 2213: cat >conftest.$ac_ext <<_ACEOF
! 2214: #line 2214 "configure"
! 2215: #include "confdefs.h"
! 2216: #include <stdlib.h>
! 2217: $ac_declaration
! 2218: int
! 2219: main ()
! 2220: {
! 2221: exit (42);
! 2222: ;
! 2223: return 0;
! 2224: }
! 2225: _ACEOF
! 2226: rm -f conftest.$ac_objext
! 2227: if { (eval echo "$as_me:2227: \"$ac_compile\"") >&5
! 2228: (eval $ac_compile) 2>&5
! 2229: ac_status=$?
! 2230: echo "$as_me:2230: \$? = $ac_status" >&5
! 2231: (exit $ac_status); } &&
! 2232: { ac_try='test -s conftest.$ac_objext'
! 2233: { (eval echo "$as_me:2233: \"$ac_try\"") >&5
! 2234: (eval $ac_try) 2>&5
! 2235: ac_status=$?
! 2236: echo "$as_me:2236: \$? = $ac_status" >&5
! 2237: (exit $ac_status); }; }; then
! 2238: :
1.1 root 2239: else
1.1.1.3 ! root 2240: echo "$as_me: failed program was:" >&5
! 2241: cat conftest.$ac_ext >&5
! 2242: continue
! 2243: fi
! 2244: rm -f conftest.$ac_objext conftest.$ac_ext
! 2245: cat >conftest.$ac_ext <<_ACEOF
! 2246: #line 2246 "configure"
! 2247: #include "confdefs.h"
! 2248: $ac_declaration
! 2249: int
! 2250: main ()
! 2251: {
! 2252: exit (42);
! 2253: ;
! 2254: return 0;
! 2255: }
! 2256: _ACEOF
! 2257: rm -f conftest.$ac_objext
! 2258: if { (eval echo "$as_me:2258: \"$ac_compile\"") >&5
! 2259: (eval $ac_compile) 2>&5
! 2260: ac_status=$?
! 2261: echo "$as_me:2261: \$? = $ac_status" >&5
! 2262: (exit $ac_status); } &&
! 2263: { ac_try='test -s conftest.$ac_objext'
! 2264: { (eval echo "$as_me:2264: \"$ac_try\"") >&5
! 2265: (eval $ac_try) 2>&5
! 2266: ac_status=$?
! 2267: echo "$as_me:2267: \$? = $ac_status" >&5
! 2268: (exit $ac_status); }; }; then
! 2269: break
! 2270: else
! 2271: echo "$as_me: failed program was:" >&5
! 2272: cat conftest.$ac_ext >&5
! 2273: fi
! 2274: rm -f conftest.$ac_objext conftest.$ac_ext
! 2275: done
! 2276: rm -f conftest*
! 2277: if test -n "$ac_declaration"; then
! 2278: echo '#ifdef __cplusplus' >>confdefs.h
! 2279: echo $ac_declaration >>confdefs.h
! 2280: echo '#endif' >>confdefs.h
! 2281: fi
! 2282:
1.1 root 2283: else
1.1.1.3 ! root 2284: echo "$as_me: failed program was:" >&5
! 2285: cat conftest.$ac_ext >&5
! 2286: fi
! 2287: rm -f conftest.$ac_objext conftest.$ac_ext
! 2288: ac_ext=c
! 2289: ac_cpp='$CPP $CPPFLAGS'
! 2290: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2291: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2292: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2293:
! 2294: ac_config_commands="$ac_config_commands default-1"
! 2295:
! 2296: am_make=${MAKE-make}
! 2297: cat > confinc << 'END'
! 2298: doit:
! 2299: @echo done
! 2300: END
! 2301: # If we don't find an include directive, just comment out the code.
! 2302: echo "$as_me:2302: checking for style of include used by $am_make" >&5
! 2303: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
! 2304: am__include='#'
! 2305: am__quote=
! 2306: _am_result=none
! 2307: # First try GNU make style include.
! 2308: echo "include confinc" > confmf
! 2309: # We grep out `Entering directory' and `Leaving directory'
! 2310: # messages which can occur if `w' ends up in MAKEFLAGS.
! 2311: # In particular we don't look at `^make:' because GNU make might
! 2312: # be invoked under some other name (usually "gmake"), in which
! 2313: # case it prints its new name instead of `make'.
! 2314: if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
! 2315: am__include=include
! 2316: am__quote=
! 2317: _am_result=GNU
! 2318: fi
! 2319: # Now try BSD make style include.
! 2320: if test "$am__include" = "#"; then
! 2321: echo '.include "confinc"' > confmf
! 2322: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
! 2323: am__include=.include
! 2324: am__quote='"'
! 2325: _am_result=BSD
! 2326: fi
! 2327: fi
! 2328:
! 2329: echo "$as_me:2329: result: $_am_result" >&5
! 2330: echo "${ECHO_T}$_am_result" >&6
! 2331: rm -f confinc confmf
! 2332:
! 2333: depcc="$CC" am_compiler_list=
! 2334:
! 2335: echo "$as_me:2335: checking dependency style of $depcc" >&5
! 2336: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
! 2337: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
! 2338: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2339: else
! 2340: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 2341: # We make a subdir and do the tests there. Otherwise we can end up
! 2342: # making bogus files that we don't know about and never remove. For
! 2343: # instance it was reported that on HP-UX the gcc test will end up
! 2344: # making a dummy file named `D' -- because `-MD' means `put the output
! 2345: # in D'.
! 2346: mkdir conftest.dir
! 2347: # Copy depcomp to subdir because otherwise we won't find it if we're
! 2348: # using a relative directory.
! 2349: cp "$am_depcomp" conftest.dir
! 2350: cd conftest.dir
! 2351:
! 2352: am_cv_CC_dependencies_compiler_type=none
! 2353: if test "$am_compiler_list" = ""; then
! 2354: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 2355: fi
! 2356: for depmode in $am_compiler_list; do
! 2357: # We need to recreate these files for each test, as the compiler may
! 2358: # overwrite some of them when testing with obscure command lines.
! 2359: # This happens at least with the AIX C compiler.
! 2360: echo '#include "conftest.h"' > conftest.c
! 2361: echo 'int i;' > conftest.h
! 2362: echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
! 2363:
! 2364: case $depmode in
! 2365: nosideeffect)
! 2366: # after this tag, mechanisms are not by side-effect, so they'll
! 2367: # only be used when explicitly requested
! 2368: if test "x$enable_dependency_tracking" = xyes; then
! 2369: continue
! 2370: else
! 2371: break
! 2372: fi
! 2373: ;;
! 2374: none) break ;;
! 2375: esac
! 2376: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 2377: # mode. It turns out that the SunPro C++ compiler does not properly
! 2378: # handle `-M -o', and we need to detect this.
! 2379: if depmode=$depmode \
! 2380: source=conftest.c object=conftest.o \
! 2381: depfile=conftest.Po tmpdepfile=conftest.TPo \
! 2382: $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
! 2383: grep conftest.h conftest.Po > /dev/null 2>&1 &&
! 2384: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 2385: am_cv_CC_dependencies_compiler_type=$depmode
1.1 root 2386: break
2387: fi
2388: done
1.1.1.3 ! root 2389:
! 2390: cd ..
! 2391: rm -rf conftest.dir
! 2392: else
! 2393: am_cv_CC_dependencies_compiler_type=none
! 2394: fi
! 2395:
! 2396: fi
! 2397: echo "$as_me:2397: result: $am_cv_CC_dependencies_compiler_type" >&5
! 2398: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
! 2399: CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
! 2400:
! 2401: if test -n "$ac_tool_prefix"; then
! 2402: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 2403: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 2404: echo "$as_me:2404: checking for $ac_word" >&5
! 2405: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2406: if test "${ac_cv_prog_RANLIB+set}" = set; then
! 2407: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2408: else
! 2409: if test -n "$RANLIB"; then
! 2410: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 2411: else
! 2412: ac_save_IFS=$IFS; IFS=$ac_path_separator
! 2413: ac_dummy="$PATH"
! 2414: for ac_dir in $ac_dummy; do
! 2415: IFS=$ac_save_IFS
! 2416: test -z "$ac_dir" && ac_dir=.
! 2417: $as_executable_p "$ac_dir/$ac_word" || continue
! 2418: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 2419: echo "$as_me:2419: found $ac_dir/$ac_word" >&5
! 2420: break
! 2421: done
! 2422:
1.1 root 2423: fi
2424: fi
1.1.1.3 ! root 2425: RANLIB=$ac_cv_prog_RANLIB
1.1 root 2426: if test -n "$RANLIB"; then
1.1.1.3 ! root 2427: echo "$as_me:2427: result: $RANLIB" >&5
! 2428: echo "${ECHO_T}$RANLIB" >&6
! 2429: else
! 2430: echo "$as_me:2430: result: no" >&5
! 2431: echo "${ECHO_T}no" >&6
! 2432: fi
! 2433:
! 2434: fi
! 2435: if test -z "$ac_cv_prog_RANLIB"; then
! 2436: ac_ct_RANLIB=$RANLIB
! 2437: # Extract the first word of "ranlib", so it can be a program name with args.
! 2438: set dummy ranlib; ac_word=$2
! 2439: echo "$as_me:2439: checking for $ac_word" >&5
! 2440: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 2441: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 2442: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2443: else
! 2444: if test -n "$ac_ct_RANLIB"; then
! 2445: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 2446: else
! 2447: ac_save_IFS=$IFS; IFS=$ac_path_separator
! 2448: ac_dummy="$PATH"
! 2449: for ac_dir in $ac_dummy; do
! 2450: IFS=$ac_save_IFS
! 2451: test -z "$ac_dir" && ac_dir=.
! 2452: $as_executable_p "$ac_dir/$ac_word" || continue
! 2453: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 2454: echo "$as_me:2454: found $ac_dir/$ac_word" >&5
! 2455: break
! 2456: done
! 2457:
! 2458: test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
! 2459: fi
! 2460: fi
! 2461: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 2462: if test -n "$ac_ct_RANLIB"; then
! 2463: echo "$as_me:2463: result: $ac_ct_RANLIB" >&5
! 2464: echo "${ECHO_T}$ac_ct_RANLIB" >&6
! 2465: else
! 2466: echo "$as_me:2466: result: no" >&5
! 2467: echo "${ECHO_T}no" >&6
! 2468: fi
! 2469:
! 2470: RANLIB=$ac_ct_RANLIB
! 2471: else
! 2472: RANLIB="$ac_cv_prog_RANLIB"
! 2473: fi
! 2474:
! 2475: echo "$as_me:2475: checking whether ${MAKE-make} sets \${MAKE}" >&5
! 2476: echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
! 2477: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
! 2478: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
! 2479: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2480: else
! 2481: cat >conftest.make <<\EOF
! 2482: all:
! 2483: @echo 'ac_maketemp="${MAKE}"'
! 2484: EOF
! 2485: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
! 2486: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
! 2487: if test -n "$ac_maketemp"; then
! 2488: eval ac_cv_prog_make_${ac_make}_set=yes
! 2489: else
! 2490: eval ac_cv_prog_make_${ac_make}_set=no
! 2491: fi
! 2492: rm -f conftest.make
! 2493: fi
! 2494: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
! 2495: echo "$as_me:2495: result: yes" >&5
! 2496: echo "${ECHO_T}yes" >&6
! 2497: SET_MAKE=
1.1 root 2498: else
1.1.1.3 ! root 2499: echo "$as_me:2499: result: no" >&5
! 2500: echo "${ECHO_T}no" >&6
! 2501: SET_MAKE="MAKE=${MAKE-make}"
1.1 root 2502: fi
2503:
1.1.1.3 ! root 2504: echo "$as_me:2504: checking for POSIXized ISC" >&5
! 2505: echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6
1.1 root 2506: if test -d /etc/conf/kconfig.d &&
1.1.1.3 ! root 2507: grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
1.1 root 2508: then
1.1.1.3 ! root 2509: echo "$as_me:2509: result: yes" >&5
! 2510: echo "${ECHO_T}yes" >&6
1.1 root 2511: ISC=yes # If later tests want to check for ISC.
1.1.1.3 ! root 2512:
! 2513: cat >>confdefs.h <<\EOF
1.1 root 2514: #define _POSIX_SOURCE 1
2515: EOF
2516:
2517: if test "$GCC" = yes; then
2518: CC="$CC -posix"
2519: else
2520: CC="$CC -Xp"
2521: fi
2522: else
1.1.1.3 ! root 2523: echo "$as_me:2523: result: no" >&5
! 2524: echo "${ECHO_T}no" >&6
1.1 root 2525: ISC=
2526: fi
2527:
2528: # Find a good install program. We prefer a C program (faster),
2529: # so one script is as good as another. But avoid the broken or
2530: # incompatible versions:
2531: # SysV /etc/install, /usr/sbin/install
2532: # SunOS /usr/etc/install
2533: # IRIX /sbin/install
2534: # AIX /bin/install
1.1.1.3 ! root 2535: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 root 2536: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2537: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2538: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2539: # ./install, which can be erroneously created by make from ./install.sh.
1.1.1.3 ! root 2540: echo "$as_me:2540: checking for a BSD compatible install" >&5
! 2541: echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1.1 root 2542: if test -z "$INSTALL"; then
1.1.1.3 ! root 2543: if test "${ac_cv_path_install+set}" = set; then
! 2544: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 2545: else
1.1.1.3 ! root 2546: ac_save_IFS=$IFS; IFS=$ac_path_separator
1.1 root 2547: for ac_dir in $PATH; do
1.1.1.3 ! root 2548: IFS=$ac_save_IFS
1.1 root 2549: # Account for people who put trailing slashes in PATH elements.
1.1.1.3 ! root 2550: case $ac_dir/ in
! 2551: / | ./ | .// | /cC/* \
! 2552: | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
! 2553: | /usr/ucb/* ) ;;
1.1 root 2554: *)
2555: # OSF1 and SCO ODT 3.0 have their own names for install.
2556: # Don't use installbsd from OSF since it installs stuff as root
2557: # by default.
2558: for ac_prog in ginstall scoinst install; do
1.1.1.3 ! root 2559: if $as_executable_p "$ac_dir/$ac_prog"; then
1.1 root 2560: if test $ac_prog = install &&
1.1.1.3 ! root 2561: grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
1.1 root 2562: # AIX install. It has an incompatible calling convention.
2563: :
1.1.1.3 ! root 2564: elif test $ac_prog = install &&
! 2565: grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
! 2566: # program-specific install script used by HP pwplus--don't use.
! 2567: :
1.1 root 2568: else
2569: ac_cv_path_install="$ac_dir/$ac_prog -c"
2570: break 2
2571: fi
2572: fi
2573: done
2574: ;;
2575: esac
2576: done
2577:
2578: fi
2579: if test "${ac_cv_path_install+set}" = set; then
1.1.1.3 ! root 2580: INSTALL=$ac_cv_path_install
1.1 root 2581: else
2582: # As a last resort, use the slow shell script. We don't cache a
2583: # path for INSTALL within a source directory, because that will
2584: # break other packages using the cache if that directory is
2585: # removed, or if the path is relative.
1.1.1.3 ! root 2586: INSTALL=$ac_install_sh
1.1 root 2587: fi
2588: fi
1.1.1.3 ! root 2589: echo "$as_me:2589: result: $INSTALL" >&5
! 2590: echo "${ECHO_T}$INSTALL" >&6
1.1 root 2591:
2592: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2593: # It thinks the first close brace ends the variable substitution.
2594: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2595:
1.1.1.3 ! root 2596: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 root 2597:
2598: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2599:
1.1.1.3 ! root 2600: echo "$as_me:2600: checking return type of signal handlers" >&5
! 2601: echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
! 2602: if test "${ac_cv_type_signal+set}" = set; then
! 2603: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 2604: else
1.1.1.3 ! root 2605: cat >conftest.$ac_ext <<_ACEOF
! 2606: #line 2606 "configure"
1.1 root 2607: #include "confdefs.h"
2608: #include <sys/types.h>
2609: #include <signal.h>
2610: #ifdef signal
1.1.1.3 ! root 2611: # undef signal
1.1 root 2612: #endif
2613: #ifdef __cplusplus
2614: extern "C" void (*signal (int, void (*)(int)))(int);
2615: #else
2616: void (*signal ()) ();
2617: #endif
2618:
1.1.1.3 ! root 2619: int
! 2620: main ()
! 2621: {
1.1 root 2622: int i;
1.1.1.3 ! root 2623: ;
! 2624: return 0;
! 2625: }
! 2626: _ACEOF
! 2627: rm -f conftest.$ac_objext
! 2628: if { (eval echo "$as_me:2628: \"$ac_compile\"") >&5
! 2629: (eval $ac_compile) 2>&5
! 2630: ac_status=$?
! 2631: echo "$as_me:2631: \$? = $ac_status" >&5
! 2632: (exit $ac_status); } &&
! 2633: { ac_try='test -s conftest.$ac_objext'
! 2634: { (eval echo "$as_me:2634: \"$ac_try\"") >&5
! 2635: (eval $ac_try) 2>&5
! 2636: ac_status=$?
! 2637: echo "$as_me:2637: \$? = $ac_status" >&5
! 2638: (exit $ac_status); }; }; then
1.1 root 2639: ac_cv_type_signal=void
2640: else
1.1.1.3 ! root 2641: echo "$as_me: failed program was:" >&5
! 2642: cat conftest.$ac_ext >&5
! 2643: ac_cv_type_signal=int
1.1 root 2644: fi
1.1.1.3 ! root 2645: rm -f conftest.$ac_objext conftest.$ac_ext
1.1 root 2646: fi
1.1.1.3 ! root 2647: echo "$as_me:2647: result: $ac_cv_type_signal" >&5
! 2648: echo "${ECHO_T}$ac_cv_type_signal" >&6
1.1 root 2649:
1.1.1.3 ! root 2650: cat >>confdefs.h <<EOF
1.1 root 2651: #define RETSIGTYPE $ac_cv_type_signal
2652: EOF
2653:
1.1.1.3 ! root 2654: ac_ext=c
! 2655: ac_cpp='$CPP $CPPFLAGS'
! 2656: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2657: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2658: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2659: echo "$as_me:2659: checking how to run the C preprocessor" >&5
! 2660: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1.1 root 2661: # On Suns, sometimes $CPP names a directory.
2662: if test -n "$CPP" && test -d "$CPP"; then
2663: CPP=
2664: fi
2665: if test -z "$CPP"; then
1.1.1.3 ! root 2666: if test "${ac_cv_prog_CPP+set}" = set; then
! 2667: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 2668: else
1.1.1.3 ! root 2669: # Double quotes because CPP needs to be expanded
! 2670: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 2671: do
! 2672: ac_preproc_ok=false
! 2673: for ac_c_preproc_warn_flag in '' yes
! 2674: do
! 2675: # Use a header file that comes with gcc, so configuring glibc
! 2676: # with a fresh cross-compiler works.
1.1 root 2677: # On the NeXT, cc -E runs the code through the compiler's parser,
1.1.1.3 ! root 2678: # not just through cpp. "Syntax error" is here to catch this case.
! 2679: cat >conftest.$ac_ext <<_ACEOF
! 2680: #line 2680 "configure"
1.1 root 2681: #include "confdefs.h"
2682: #include <assert.h>
1.1.1.3 ! root 2683: Syntax error
! 2684: _ACEOF
! 2685: if { (eval echo "$as_me:2685: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2686: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2687: ac_status=$?
! 2688: egrep -v '^ *\+' conftest.er1 >conftest.err
! 2689: rm -f conftest.er1
! 2690: cat conftest.err >&5
! 2691: echo "$as_me:2691: \$? = $ac_status" >&5
! 2692: (exit $ac_status); } >/dev/null; then
! 2693: if test -s conftest.err; then
! 2694: ac_cpp_err=$ac_c_preproc_warn_flag
! 2695: else
! 2696: ac_cpp_err=
! 2697: fi
! 2698: else
! 2699: ac_cpp_err=yes
! 2700: fi
! 2701: if test -z "$ac_cpp_err"; then
1.1 root 2702: :
2703: else
1.1.1.3 ! root 2704: echo "$as_me: failed program was:" >&5
1.1 root 2705: cat conftest.$ac_ext >&5
1.1.1.3 ! root 2706: # Broken: fails on valid input.
! 2707: continue
! 2708: fi
! 2709: rm -f conftest.err conftest.$ac_ext
! 2710:
! 2711: # OK, works on sane cases. Now check whether non-existent headers
! 2712: # can be detected and how.
! 2713: cat >conftest.$ac_ext <<_ACEOF
! 2714: #line 2714 "configure"
1.1 root 2715: #include "confdefs.h"
1.1.1.3 ! root 2716: #include <ac_nonexistent.h>
! 2717: _ACEOF
! 2718: if { (eval echo "$as_me:2718: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2719: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2720: ac_status=$?
! 2721: egrep -v '^ *\+' conftest.er1 >conftest.err
! 2722: rm -f conftest.er1
! 2723: cat conftest.err >&5
! 2724: echo "$as_me:2724: \$? = $ac_status" >&5
! 2725: (exit $ac_status); } >/dev/null; then
! 2726: if test -s conftest.err; then
! 2727: ac_cpp_err=$ac_c_preproc_warn_flag
! 2728: else
! 2729: ac_cpp_err=
! 2730: fi
! 2731: else
! 2732: ac_cpp_err=yes
! 2733: fi
! 2734: if test -z "$ac_cpp_err"; then
! 2735: # Broken: success on invalid input.
! 2736: continue
1.1 root 2737: else
1.1.1.3 ! root 2738: echo "$as_me: failed program was:" >&5
1.1 root 2739: cat conftest.$ac_ext >&5
1.1.1.3 ! root 2740: # Passes both tests.
! 2741: ac_preproc_ok=:
! 2742: break
! 2743: fi
! 2744: rm -f conftest.err conftest.$ac_ext
! 2745:
! 2746: done
! 2747: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 2748: rm -f conftest.err conftest.$ac_ext
! 2749: if $ac_preproc_ok; then
! 2750: break
! 2751: fi
! 2752:
! 2753: done
! 2754: ac_cv_prog_CPP=$CPP
! 2755:
! 2756: fi
! 2757: CPP=$ac_cv_prog_CPP
! 2758: else
! 2759: ac_cv_prog_CPP=$CPP
! 2760: fi
! 2761: echo "$as_me:2761: result: $CPP" >&5
! 2762: echo "${ECHO_T}$CPP" >&6
! 2763: ac_preproc_ok=false
! 2764: for ac_c_preproc_warn_flag in '' yes
! 2765: do
! 2766: # Use a header file that comes with gcc, so configuring glibc
! 2767: # with a fresh cross-compiler works.
! 2768: # On the NeXT, cc -E runs the code through the compiler's parser,
! 2769: # not just through cpp. "Syntax error" is here to catch this case.
! 2770: cat >conftest.$ac_ext <<_ACEOF
! 2771: #line 2771 "configure"
1.1 root 2772: #include "confdefs.h"
2773: #include <assert.h>
1.1.1.3 ! root 2774: Syntax error
! 2775: _ACEOF
! 2776: if { (eval echo "$as_me:2776: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2777: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2778: ac_status=$?
! 2779: egrep -v '^ *\+' conftest.er1 >conftest.err
! 2780: rm -f conftest.er1
! 2781: cat conftest.err >&5
! 2782: echo "$as_me:2782: \$? = $ac_status" >&5
! 2783: (exit $ac_status); } >/dev/null; then
! 2784: if test -s conftest.err; then
! 2785: ac_cpp_err=$ac_c_preproc_warn_flag
! 2786: else
! 2787: ac_cpp_err=
! 2788: fi
! 2789: else
! 2790: ac_cpp_err=yes
! 2791: fi
! 2792: if test -z "$ac_cpp_err"; then
1.1 root 2793: :
2794: else
1.1.1.3 ! root 2795: echo "$as_me: failed program was:" >&5
1.1 root 2796: cat conftest.$ac_ext >&5
1.1.1.3 ! root 2797: # Broken: fails on valid input.
! 2798: continue
1.1 root 2799: fi
1.1.1.3 ! root 2800: rm -f conftest.err conftest.$ac_ext
! 2801:
! 2802: # OK, works on sane cases. Now check whether non-existent headers
! 2803: # can be detected and how.
! 2804: cat >conftest.$ac_ext <<_ACEOF
! 2805: #line 2805 "configure"
! 2806: #include "confdefs.h"
! 2807: #include <ac_nonexistent.h>
! 2808: _ACEOF
! 2809: if { (eval echo "$as_me:2809: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2810: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2811: ac_status=$?
! 2812: egrep -v '^ *\+' conftest.er1 >conftest.err
! 2813: rm -f conftest.er1
! 2814: cat conftest.err >&5
! 2815: echo "$as_me:2815: \$? = $ac_status" >&5
! 2816: (exit $ac_status); } >/dev/null; then
! 2817: if test -s conftest.err; then
! 2818: ac_cpp_err=$ac_c_preproc_warn_flag
! 2819: else
! 2820: ac_cpp_err=
! 2821: fi
! 2822: else
! 2823: ac_cpp_err=yes
1.1 root 2824: fi
1.1.1.3 ! root 2825: if test -z "$ac_cpp_err"; then
! 2826: # Broken: success on invalid input.
! 2827: continue
! 2828: else
! 2829: echo "$as_me: failed program was:" >&5
! 2830: cat conftest.$ac_ext >&5
! 2831: # Passes both tests.
! 2832: ac_preproc_ok=:
! 2833: break
1.1 root 2834: fi
1.1.1.3 ! root 2835: rm -f conftest.err conftest.$ac_ext
! 2836:
! 2837: done
! 2838: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 2839: rm -f conftest.err conftest.$ac_ext
! 2840: if $ac_preproc_ok; then
! 2841: :
1.1 root 2842: else
1.1.1.3 ! root 2843: { { echo "$as_me:2843: error: C preprocessor \"$CPP\" fails sanity check" >&5
! 2844: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
! 2845: { (exit 1); exit 1; }; }
1.1 root 2846: fi
2847:
1.1.1.3 ! root 2848: ac_ext=c
! 2849: ac_cpp='$CPP $CPPFLAGS'
! 2850: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2851: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2852: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2853:
! 2854: echo "$as_me:2854: checking for ANSI C header files" >&5
! 2855: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
! 2856: if test "${ac_cv_header_stdc+set}" = set; then
! 2857: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 2858: else
1.1.1.3 ! root 2859: cat >conftest.$ac_ext <<_ACEOF
! 2860: #line 2860 "configure"
1.1 root 2861: #include "confdefs.h"
2862: #include <stdlib.h>
2863: #include <stdarg.h>
2864: #include <string.h>
2865: #include <float.h>
1.1.1.3 ! root 2866:
! 2867: _ACEOF
! 2868: if { (eval echo "$as_me:2868: \"$ac_cpp conftest.$ac_ext\"") >&5
! 2869: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 2870: ac_status=$?
! 2871: egrep -v '^ *\+' conftest.er1 >conftest.err
! 2872: rm -f conftest.er1
! 2873: cat conftest.err >&5
! 2874: echo "$as_me:2874: \$? = $ac_status" >&5
! 2875: (exit $ac_status); } >/dev/null; then
! 2876: if test -s conftest.err; then
! 2877: ac_cpp_err=$ac_c_preproc_warn_flag
! 2878: else
! 2879: ac_cpp_err=
! 2880: fi
! 2881: else
! 2882: ac_cpp_err=yes
! 2883: fi
! 2884: if test -z "$ac_cpp_err"; then
! 2885: ac_cv_header_stdc=yes
! 2886: else
! 2887: echo "$as_me: failed program was:" >&5
1.1 root 2888: cat conftest.$ac_ext >&5
2889: ac_cv_header_stdc=no
2890: fi
1.1.1.3 ! root 2891: rm -f conftest.err conftest.$ac_ext
1.1 root 2892:
2893: if test $ac_cv_header_stdc = yes; then
2894: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.1.1.3 ! root 2895: cat >conftest.$ac_ext <<_ACEOF
! 2896: #line 2896 "configure"
1.1 root 2897: #include "confdefs.h"
2898: #include <string.h>
1.1.1.3 ! root 2899:
! 2900: _ACEOF
1.1 root 2901: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2902: egrep "memchr" >/dev/null 2>&1; then
2903: :
2904: else
2905: ac_cv_header_stdc=no
2906: fi
2907: rm -f conftest*
2908:
2909: fi
2910:
2911: if test $ac_cv_header_stdc = yes; then
2912: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.1.1.3 ! root 2913: cat >conftest.$ac_ext <<_ACEOF
! 2914: #line 2914 "configure"
1.1 root 2915: #include "confdefs.h"
2916: #include <stdlib.h>
1.1.1.3 ! root 2917:
! 2918: _ACEOF
1.1 root 2919: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2920: egrep "free" >/dev/null 2>&1; then
2921: :
2922: else
2923: ac_cv_header_stdc=no
2924: fi
2925: rm -f conftest*
2926:
2927: fi
2928:
2929: if test $ac_cv_header_stdc = yes; then
2930: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.1.1.3 ! root 2931: if test "$cross_compiling" = yes; then
1.1 root 2932: :
2933: else
1.1.1.3 ! root 2934: cat >conftest.$ac_ext <<_ACEOF
! 2935: #line 2935 "configure"
1.1 root 2936: #include "confdefs.h"
2937: #include <ctype.h>
1.1.1.3 ! root 2938: #if ((' ' & 0x0FF) == 0x020)
! 2939: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 2940: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 2941: #else
! 2942: # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
! 2943: || ('j' <= (c) && (c) <= 'r') \
! 2944: || ('s' <= (c) && (c) <= 'z'))
! 2945: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 2946: #endif
1.1 root 2947:
1.1.1.3 ! root 2948: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 2949: int
! 2950: main ()
! 2951: {
! 2952: int i;
! 2953: for (i = 0; i < 256; i++)
! 2954: if (XOR (islower (i), ISLOWER (i))
! 2955: || toupper (i) != TOUPPER (i))
! 2956: exit(2);
! 2957: exit (0);
! 2958: }
! 2959: _ACEOF
! 2960: rm -f conftest$ac_exeext
! 2961: if { (eval echo "$as_me:2961: \"$ac_link\"") >&5
! 2962: (eval $ac_link) 2>&5
! 2963: ac_status=$?
! 2964: echo "$as_me:2964: \$? = $ac_status" >&5
! 2965: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 2966: { (eval echo "$as_me:2966: \"$ac_try\"") >&5
! 2967: (eval $ac_try) 2>&5
! 2968: ac_status=$?
! 2969: echo "$as_me:2969: \$? = $ac_status" >&5
! 2970: (exit $ac_status); }; }; then
1.1 root 2971: :
2972: else
1.1.1.3 ! root 2973: echo "$as_me: program exited with status $ac_status" >&5
! 2974: echo "$as_me: failed program was:" >&5
! 2975: cat conftest.$ac_ext >&5
! 2976: ac_cv_header_stdc=no
1.1 root 2977: fi
1.1.1.3 ! root 2978: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1 root 2979: fi
2980: fi
2981: fi
1.1.1.3 ! root 2982: echo "$as_me:2982: result: $ac_cv_header_stdc" >&5
! 2983: echo "${ECHO_T}$ac_cv_header_stdc" >&6
1.1 root 2984: if test $ac_cv_header_stdc = yes; then
1.1.1.3 ! root 2985:
! 2986: cat >>confdefs.h <<\EOF
1.1 root 2987: #define STDC_HEADERS 1
2988: EOF
2989:
2990: fi
2991:
1.1.1.3 ! root 2992: if [ "x$MY_PROG" = "xgenerator-gtk" ]; then
! 2993: MY_SUBDIRS="glade gtkopts $MY_SUBDIRS"
! 2994:
! 2995: # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
! 2996: if test "${with_gtk_prefix+set}" = set; then
! 2997: withval="$with_gtk_prefix"
! 2998: gtk_config_prefix="$withval"
! 2999: else
! 3000: gtk_config_prefix=""
! 3001: fi;
! 3002:
! 3003: # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
! 3004: if test "${with_gtk_exec_prefix+set}" = set; then
! 3005: withval="$with_gtk_exec_prefix"
! 3006: gtk_config_exec_prefix="$withval"
! 3007: else
! 3008: gtk_config_exec_prefix=""
! 3009: fi;
! 3010: # Check whether --enable-gtktest or --disable-gtktest was given.
! 3011: if test "${enable_gtktest+set}" = set; then
! 3012: enableval="$enable_gtktest"
! 3013:
! 3014: else
! 3015: enable_gtktest=yes
! 3016: fi;
! 3017:
! 3018: for module in .
! 3019: do
! 3020: case "$module" in
! 3021: gthread)
! 3022: gtk_config_args="$gtk_config_args gthread"
! 3023: ;;
! 3024: esac
! 3025: done
! 3026:
! 3027: if test x$gtk_config_exec_prefix != x ; then
! 3028: gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
! 3029: if test x${GTK_CONFIG+set} != xset ; then
! 3030: GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
! 3031: fi
! 3032: fi
! 3033: if test x$gtk_config_prefix != x ; then
! 3034: gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
! 3035: if test x${GTK_CONFIG+set} != xset ; then
! 3036: GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
! 3037: fi
! 3038: fi
! 3039:
! 3040: # Extract the first word of "gtk-config", so it can be a program name with args.
! 3041: set dummy gtk-config; ac_word=$2
! 3042: echo "$as_me:3042: checking for $ac_word" >&5
! 3043: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3044: if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
! 3045: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3046: else
! 3047: case $GTK_CONFIG in
! 3048: [\\/]* | ?:[\\/]*)
! 3049: ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
! 3050: ;;
! 3051: *)
! 3052: ac_save_IFS=$IFS; IFS=$ac_path_separator
! 3053: ac_dummy="$PATH"
! 3054: for ac_dir in $ac_dummy; do
! 3055: IFS=$ac_save_IFS
! 3056: test -z "$ac_dir" && ac_dir=.
! 3057: if $as_executable_p "$ac_dir/$ac_word"; then
! 3058: ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
! 3059: echo "$as_me:3059: found $ac_dir/$ac_word" >&5
! 3060: break
! 3061: fi
! 3062: done
! 3063:
! 3064: test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
! 3065: ;;
! 3066: esac
! 3067: fi
! 3068: GTK_CONFIG=$ac_cv_path_GTK_CONFIG
! 3069:
! 3070: if test -n "$GTK_CONFIG"; then
! 3071: echo "$as_me:3071: result: $GTK_CONFIG" >&5
! 3072: echo "${ECHO_T}$GTK_CONFIG" >&6
! 3073: else
! 3074: echo "$as_me:3074: result: no" >&5
! 3075: echo "${ECHO_T}no" >&6
! 3076: fi
! 3077:
! 3078: min_gtk_version=1.2.0
! 3079: echo "$as_me:3079: checking for GTK - version >= $min_gtk_version" >&5
! 3080: echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
! 3081: no_gtk=""
! 3082: if test "$GTK_CONFIG" = "no" ; then
! 3083: no_gtk=yes
! 3084: else
! 3085: GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
! 3086: GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
! 3087: gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
! 3088: sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
! 3089: gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
! 3090: sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
! 3091: gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
! 3092: sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
! 3093: if test "x$enable_gtktest" = "xyes" ; then
! 3094: ac_save_CFLAGS="$CFLAGS"
! 3095: ac_save_LIBS="$LIBS"
! 3096: CFLAGS="$CFLAGS $GTK_CFLAGS"
! 3097: LIBS="$GTK_LIBS $LIBS"
! 3098: rm -f conf.gtktest
! 3099: if test "$cross_compiling" = yes; then
! 3100: echo $ac_n "cross compiling; assumed OK... $ac_c"
! 3101: else
! 3102: cat >conftest.$ac_ext <<_ACEOF
! 3103: #line 3103 "configure"
! 3104: #include "confdefs.h"
! 3105:
! 3106: #include <gtk/gtk.h>
! 3107: #include <stdio.h>
! 3108: #include <stdlib.h>
! 3109:
! 3110: int
! 3111: main ()
! 3112: {
! 3113: int major, minor, micro;
! 3114: char *tmp_version;
! 3115:
! 3116: system ("touch conf.gtktest");
! 3117:
! 3118: /* HP/UX 9 (%@#!) writes to sscanf strings */
! 3119: tmp_version = g_strdup("$min_gtk_version");
! 3120: if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
! 3121: printf("%s, bad version string\n", "$min_gtk_version");
! 3122: exit(1);
! 3123: }
! 3124:
! 3125: if ((gtk_major_version != $gtk_config_major_version) ||
! 3126: (gtk_minor_version != $gtk_config_minor_version) ||
! 3127: (gtk_micro_version != $gtk_config_micro_version))
! 3128: {
! 3129: printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
! 3130: $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
! 3131: gtk_major_version, gtk_minor_version, gtk_micro_version);
! 3132: printf ("*** was found! If gtk-config was correct, then it is best\n");
! 3133: printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
! 3134: printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
! 3135: printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
! 3136: printf("*** required on your system.\n");
! 3137: printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
! 3138: printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
! 3139: printf("*** before re-running configure\n");
! 3140: }
! 3141: #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
! 3142: else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
! 3143: (gtk_minor_version != GTK_MINOR_VERSION) ||
! 3144: (gtk_micro_version != GTK_MICRO_VERSION))
! 3145: {
! 3146: printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
! 3147: GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
! 3148: printf("*** library (version %d.%d.%d)\n",
! 3149: gtk_major_version, gtk_minor_version, gtk_micro_version);
! 3150: }
! 3151: #endif /* defined (GTK_MAJOR_VERSION) ... */
! 3152: else
! 3153: {
! 3154: if ((gtk_major_version > major) ||
! 3155: ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
! 3156: ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
! 3157: {
! 3158: return 0;
! 3159: }
! 3160: else
! 3161: {
! 3162: printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
! 3163: gtk_major_version, gtk_minor_version, gtk_micro_version);
! 3164: printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
! 3165: major, minor, micro);
! 3166: printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
! 3167: printf("***\n");
! 3168: printf("*** If you have already installed a sufficiently new version, this error\n");
! 3169: printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
! 3170: printf("*** being found. The easiest way to fix this is to remove the old version\n");
! 3171: printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
! 3172: printf("*** correct copy of gtk-config. (In this case, you will have to\n");
! 3173: printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
! 3174: printf("*** so that the correct libraries are found at run-time))\n");
! 3175: }
! 3176: }
! 3177: return 1;
! 3178: }
! 3179:
! 3180: _ACEOF
! 3181: rm -f conftest$ac_exeext
! 3182: if { (eval echo "$as_me:3182: \"$ac_link\"") >&5
! 3183: (eval $ac_link) 2>&5
! 3184: ac_status=$?
! 3185: echo "$as_me:3185: \$? = $ac_status" >&5
! 3186: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 3187: { (eval echo "$as_me:3187: \"$ac_try\"") >&5
! 3188: (eval $ac_try) 2>&5
! 3189: ac_status=$?
! 3190: echo "$as_me:3190: \$? = $ac_status" >&5
! 3191: (exit $ac_status); }; }; then
! 3192: :
! 3193: else
! 3194: echo "$as_me: program exited with status $ac_status" >&5
! 3195: echo "$as_me: failed program was:" >&5
! 3196: cat conftest.$ac_ext >&5
! 3197: no_gtk=yes
! 3198: fi
! 3199: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 3200: fi
! 3201: CFLAGS="$ac_save_CFLAGS"
! 3202: LIBS="$ac_save_LIBS"
! 3203: fi
! 3204: fi
! 3205: if test "x$no_gtk" = x ; then
! 3206: echo "$as_me:3206: result: yes" >&5
! 3207: echo "${ECHO_T}yes" >&6
! 3208: :
! 3209: else
! 3210: echo "$as_me:3210: result: no" >&5
! 3211: echo "${ECHO_T}no" >&6
! 3212: if test "$GTK_CONFIG" = "no" ; then
! 3213: echo "*** The gtk-config script installed by GTK could not be found"
! 3214: echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
! 3215: echo "*** your path, or set the GTK_CONFIG environment variable to the"
! 3216: echo "*** full path to gtk-config."
! 3217: else
! 3218: if test -f conf.gtktest ; then
! 3219: :
! 3220: else
! 3221: echo "*** Could not run GTK test program, checking why..."
! 3222: CFLAGS="$CFLAGS $GTK_CFLAGS"
! 3223: LIBS="$LIBS $GTK_LIBS"
! 3224: cat >conftest.$ac_ext <<_ACEOF
! 3225: #line 3225 "configure"
! 3226: #include "confdefs.h"
! 3227:
! 3228: #include <gtk/gtk.h>
! 3229: #include <stdio.h>
! 3230:
! 3231: int
! 3232: main ()
! 3233: {
! 3234: return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
! 3235: ;
! 3236: return 0;
! 3237: }
! 3238: _ACEOF
! 3239: rm -f conftest.$ac_objext conftest$ac_exeext
! 3240: if { (eval echo "$as_me:3240: \"$ac_link\"") >&5
! 3241: (eval $ac_link) 2>&5
! 3242: ac_status=$?
! 3243: echo "$as_me:3243: \$? = $ac_status" >&5
! 3244: (exit $ac_status); } &&
! 3245: { ac_try='test -s conftest$ac_exeext'
! 3246: { (eval echo "$as_me:3246: \"$ac_try\"") >&5
! 3247: (eval $ac_try) 2>&5
! 3248: ac_status=$?
! 3249: echo "$as_me:3249: \$? = $ac_status" >&5
! 3250: (exit $ac_status); }; }; then
! 3251: echo "*** The test program compiled, but did not run. This usually means"
! 3252: echo "*** that the run-time linker is not finding GTK or finding the wrong"
! 3253: echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
! 3254: echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
! 3255: echo "*** to the installed location Also, make sure you have run ldconfig if that"
! 3256: echo "*** is required on your system"
! 3257: echo "***"
! 3258: echo "*** If you have an old version installed, it is best to remove it, although"
! 3259: echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
! 3260: echo "***"
! 3261: echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
! 3262: echo "*** came with the system with the command"
! 3263: echo "***"
! 3264: echo "*** rpm --erase --nodeps gtk gtk-devel"
! 3265: else
! 3266: echo "$as_me: failed program was:" >&5
! 3267: cat conftest.$ac_ext >&5
! 3268: echo "*** The test program failed to compile or link. See the file config.log for the"
! 3269: echo "*** exact error that occured. This usually means GTK was incorrectly installed"
! 3270: echo "*** or that you have moved GTK since it was installed. In the latter case, you"
! 3271: echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
! 3272: fi
! 3273: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 3274: CFLAGS="$ac_save_CFLAGS"
! 3275: LIBS="$ac_save_LIBS"
! 3276: fi
! 3277: fi
! 3278: GTK_CFLAGS=""
! 3279: GTK_LIBS=""
! 3280: { { echo "$as_me:3280: error: Generator needs gtk 1.2.0 or later" >&5
! 3281: echo "$as_me: error: Generator needs gtk 1.2.0 or later" >&2;}
! 3282: { (exit 1); exit 1; }; }
! 3283: fi
! 3284:
! 3285: rm -f conf.gtktest
! 3286:
! 3287: # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
! 3288: if test "${with_sdl_prefix+set}" = set; then
! 3289: withval="$with_sdl_prefix"
! 3290: sdl_prefix="$withval"
! 3291: else
! 3292: sdl_prefix=""
! 3293: fi;
! 3294:
! 3295: # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
! 3296: if test "${with_sdl_exec_prefix+set}" = set; then
! 3297: withval="$with_sdl_exec_prefix"
! 3298: sdl_exec_prefix="$withval"
! 3299: else
! 3300: sdl_exec_prefix=""
! 3301: fi;
! 3302: # Check whether --enable-sdltest or --disable-sdltest was given.
! 3303: if test "${enable_sdltest+set}" = set; then
! 3304: enableval="$enable_sdltest"
! 3305:
! 3306: else
! 3307: enable_sdltest=yes
! 3308: fi;
! 3309:
! 3310: if test x$sdl_exec_prefix != x ; then
! 3311: sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
! 3312: if test x${SDL_CONFIG+set} != xset ; then
! 3313: SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
! 3314: fi
! 3315: fi
! 3316: if test x$sdl_prefix != x ; then
! 3317: sdl_args="$sdl_args --prefix=$sdl_prefix"
! 3318: if test x${SDL_CONFIG+set} != xset ; then
! 3319: SDL_CONFIG=$sdl_prefix/bin/sdl-config
! 3320: fi
! 3321: fi
! 3322:
! 3323: # Extract the first word of "sdl-config", so it can be a program name with args.
! 3324: set dummy sdl-config; ac_word=$2
! 3325: echo "$as_me:3325: checking for $ac_word" >&5
! 3326: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3327: if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
! 3328: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3329: else
! 3330: case $SDL_CONFIG in
! 3331: [\\/]* | ?:[\\/]*)
! 3332: ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
! 3333: ;;
! 3334: *)
! 3335: ac_save_IFS=$IFS; IFS=$ac_path_separator
! 3336: ac_dummy="$PATH"
! 3337: for ac_dir in $ac_dummy; do
! 3338: IFS=$ac_save_IFS
! 3339: test -z "$ac_dir" && ac_dir=.
! 3340: if $as_executable_p "$ac_dir/$ac_word"; then
! 3341: ac_cv_path_SDL_CONFIG="$ac_dir/$ac_word"
! 3342: echo "$as_me:3342: found $ac_dir/$ac_word" >&5
! 3343: break
! 3344: fi
! 3345: done
! 3346:
! 3347: test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
! 3348: ;;
! 3349: esac
! 3350: fi
! 3351: SDL_CONFIG=$ac_cv_path_SDL_CONFIG
! 3352:
! 3353: if test -n "$SDL_CONFIG"; then
! 3354: echo "$as_me:3354: result: $SDL_CONFIG" >&5
! 3355: echo "${ECHO_T}$SDL_CONFIG" >&6
! 3356: else
! 3357: echo "$as_me:3357: result: no" >&5
! 3358: echo "${ECHO_T}no" >&6
! 3359: fi
! 3360:
! 3361: min_sdl_version=1.1.0
! 3362: echo "$as_me:3362: checking for SDL - version >= $min_sdl_version" >&5
! 3363: echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
! 3364: no_sdl=""
! 3365: if test "$SDL_CONFIG" = "no" ; then
! 3366: no_sdl=yes
! 3367: else
! 3368: SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
! 3369: SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
! 3370:
! 3371: sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
! 3372: sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
! 3373: sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
! 3374: sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
! 3375: sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
! 3376: sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
! 3377: if test "x$enable_sdltest" = "xyes" ; then
! 3378: ac_save_CFLAGS="$CFLAGS"
! 3379: ac_save_LIBS="$LIBS"
! 3380: CFLAGS="$CFLAGS $SDL_CFLAGS"
! 3381: LIBS="$LIBS $SDL_LIBS"
! 3382: rm -f conf.sdltest
! 3383: if test "$cross_compiling" = yes; then
! 3384: echo $ac_n "cross compiling; assumed OK... $ac_c"
! 3385: else
! 3386: cat >conftest.$ac_ext <<_ACEOF
! 3387: #line 3387 "configure"
! 3388: #include "confdefs.h"
! 3389:
! 3390: #include <stdio.h>
! 3391: #include <stdlib.h>
! 3392: #include <string.h>
! 3393: #include "SDL.h"
! 3394:
! 3395: char*
! 3396: my_strdup (char *str)
! 3397: {
! 3398: char *new_str;
! 3399:
! 3400: if (str)
! 3401: {
! 3402: new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
! 3403: strcpy (new_str, str);
! 3404: }
! 3405: else
! 3406: new_str = NULL;
! 3407:
! 3408: return new_str;
! 3409: }
! 3410:
! 3411: int main (int argc, char *argv[])
! 3412: {
! 3413: int major, minor, micro;
! 3414: char *tmp_version;
! 3415:
! 3416: /* This hangs on some systems (?)
! 3417: system ("touch conf.sdltest");
! 3418: */
! 3419: { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
! 3420:
! 3421: /* HP/UX 9 (%@#!) writes to sscanf strings */
! 3422: tmp_version = my_strdup("$min_sdl_version");
! 3423: if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
! 3424: printf("%s, bad version string\n", "$min_sdl_version");
! 3425: exit(1);
! 3426: }
! 3427:
! 3428: if (($sdl_major_version > major) ||
! 3429: (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
! 3430: (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
! 3431: {
! 3432: return 0;
! 3433: }
! 3434: else
! 3435: {
! 3436: printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
! 3437: printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
! 3438: printf("*** best to upgrade to the required version.\n");
! 3439: printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
! 3440: printf("*** to point to the correct copy of sdl-config, and remove the file\n");
! 3441: printf("*** config.cache before re-running configure\n");
! 3442: return 1;
! 3443: }
! 3444: }
! 3445:
! 3446: _ACEOF
! 3447: rm -f conftest$ac_exeext
! 3448: if { (eval echo "$as_me:3448: \"$ac_link\"") >&5
! 3449: (eval $ac_link) 2>&5
! 3450: ac_status=$?
! 3451: echo "$as_me:3451: \$? = $ac_status" >&5
! 3452: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 3453: { (eval echo "$as_me:3453: \"$ac_try\"") >&5
! 3454: (eval $ac_try) 2>&5
! 3455: ac_status=$?
! 3456: echo "$as_me:3456: \$? = $ac_status" >&5
! 3457: (exit $ac_status); }; }; then
! 3458: :
! 3459: else
! 3460: echo "$as_me: program exited with status $ac_status" >&5
! 3461: echo "$as_me: failed program was:" >&5
! 3462: cat conftest.$ac_ext >&5
! 3463: no_sdl=yes
! 3464: fi
! 3465: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 3466: fi
! 3467: CFLAGS="$ac_save_CFLAGS"
! 3468: LIBS="$ac_save_LIBS"
! 3469: fi
! 3470: fi
! 3471: if test "x$no_sdl" = x ; then
! 3472: echo "$as_me:3472: result: yes" >&5
! 3473: echo "${ECHO_T}yes" >&6
! 3474: :
! 3475: else
! 3476: echo "$as_me:3476: result: no" >&5
! 3477: echo "${ECHO_T}no" >&6
! 3478: if test "$SDL_CONFIG" = "no" ; then
! 3479: echo "*** The sdl-config script installed by SDL could not be found"
! 3480: echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
! 3481: echo "*** your path, or set the SDL_CONFIG environment variable to the"
! 3482: echo "*** full path to sdl-config."
! 3483: else
! 3484: if test -f conf.sdltest ; then
! 3485: :
! 3486: else
! 3487: echo "*** Could not run SDL test program, checking why..."
! 3488: CFLAGS="$CFLAGS $SDL_CFLAGS"
! 3489: LIBS="$LIBS $SDL_LIBS"
! 3490: cat >conftest.$ac_ext <<_ACEOF
! 3491: #line 3491 "configure"
! 3492: #include "confdefs.h"
! 3493:
! 3494: #include <stdio.h>
! 3495: #include "SDL.h"
! 3496:
! 3497: int main(int argc, char *argv[])
! 3498: { return 0; }
! 3499: #undef main
! 3500: #define main K_and_R_C_main
! 3501:
! 3502: int
! 3503: main ()
! 3504: {
! 3505: return 0;
! 3506: ;
! 3507: return 0;
! 3508: }
! 3509: _ACEOF
! 3510: rm -f conftest.$ac_objext conftest$ac_exeext
! 3511: if { (eval echo "$as_me:3511: \"$ac_link\"") >&5
! 3512: (eval $ac_link) 2>&5
! 3513: ac_status=$?
! 3514: echo "$as_me:3514: \$? = $ac_status" >&5
! 3515: (exit $ac_status); } &&
! 3516: { ac_try='test -s conftest$ac_exeext'
! 3517: { (eval echo "$as_me:3517: \"$ac_try\"") >&5
! 3518: (eval $ac_try) 2>&5
! 3519: ac_status=$?
! 3520: echo "$as_me:3520: \$? = $ac_status" >&5
! 3521: (exit $ac_status); }; }; then
! 3522: echo "*** The test program compiled, but did not run. This usually means"
! 3523: echo "*** that the run-time linker is not finding SDL or finding the wrong"
! 3524: echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
! 3525: echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
! 3526: echo "*** to the installed location Also, make sure you have run ldconfig if that"
! 3527: echo "*** is required on your system"
! 3528: echo "***"
! 3529: echo "*** If you have an old version installed, it is best to remove it, although"
! 3530: echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
! 3531: else
! 3532: echo "$as_me: failed program was:" >&5
! 3533: cat conftest.$ac_ext >&5
! 3534: echo "*** The test program failed to compile or link. See the file config.log for the"
! 3535: echo "*** exact error that occured. This usually means SDL was incorrectly installed"
! 3536: echo "*** or that you have moved SDL since it was installed. In the latter case, you"
! 3537: echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
! 3538: fi
! 3539: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 3540: CFLAGS="$ac_save_CFLAGS"
! 3541: LIBS="$ac_save_LIBS"
! 3542: fi
! 3543: fi
! 3544: SDL_CFLAGS=""
! 3545: SDL_LIBS=""
! 3546: { { echo "$as_me:3546: error: Generator needs sdk 1.1.0 or later" >&5
! 3547: echo "$as_me: error: Generator needs sdk 1.1.0 or later" >&2;}
! 3548: { (exit 1); exit 1; }; }
! 3549: fi
! 3550:
! 3551: rm -f conf.sdltest
1.1 root 3552:
1.1.1.3 ! root 3553: fi
1.1 root 3554:
3555: if [ $cross_compiling = no ]; then
1.1.1.3 ! root 3556: echo "$as_me:3556: checking whether byte ordering is bigendian" >&5
! 3557: echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
! 3558: if test "${ac_cv_c_bigendian+set}" = set; then
! 3559: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 3560: else
3561: ac_cv_c_bigendian=unknown
3562: # See if sys/param.h defines the BYTE_ORDER macro.
1.1.1.3 ! root 3563: cat >conftest.$ac_ext <<_ACEOF
! 3564: #line 3564 "configure"
1.1 root 3565: #include "confdefs.h"
3566: #include <sys/types.h>
3567: #include <sys/param.h>
3568:
1.1.1.3 ! root 3569: int
! 3570: main ()
! 3571: {
1.1 root 3572: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3573: bogus endian macros
3574: #endif
1.1.1.3 ! root 3575:
! 3576: ;
! 3577: return 0;
! 3578: }
! 3579: _ACEOF
! 3580: rm -f conftest.$ac_objext
! 3581: if { (eval echo "$as_me:3581: \"$ac_compile\"") >&5
! 3582: (eval $ac_compile) 2>&5
! 3583: ac_status=$?
! 3584: echo "$as_me:3584: \$? = $ac_status" >&5
! 3585: (exit $ac_status); } &&
! 3586: { ac_try='test -s conftest.$ac_objext'
! 3587: { (eval echo "$as_me:3587: \"$ac_try\"") >&5
! 3588: (eval $ac_try) 2>&5
! 3589: ac_status=$?
! 3590: echo "$as_me:3590: \$? = $ac_status" >&5
! 3591: (exit $ac_status); }; }; then
1.1 root 3592: # It does; now see whether it defined to BIG_ENDIAN or not.
1.1.1.3 ! root 3593: cat >conftest.$ac_ext <<_ACEOF
! 3594: #line 3594 "configure"
1.1 root 3595: #include "confdefs.h"
3596: #include <sys/types.h>
3597: #include <sys/param.h>
3598:
1.1.1.3 ! root 3599: int
! 3600: main ()
! 3601: {
1.1 root 3602: #if BYTE_ORDER != BIG_ENDIAN
3603: not big endian
3604: #endif
1.1.1.3 ! root 3605:
! 3606: ;
! 3607: return 0;
! 3608: }
! 3609: _ACEOF
! 3610: rm -f conftest.$ac_objext
! 3611: if { (eval echo "$as_me:3611: \"$ac_compile\"") >&5
! 3612: (eval $ac_compile) 2>&5
! 3613: ac_status=$?
! 3614: echo "$as_me:3614: \$? = $ac_status" >&5
! 3615: (exit $ac_status); } &&
! 3616: { ac_try='test -s conftest.$ac_objext'
! 3617: { (eval echo "$as_me:3617: \"$ac_try\"") >&5
! 3618: (eval $ac_try) 2>&5
! 3619: ac_status=$?
! 3620: echo "$as_me:3620: \$? = $ac_status" >&5
! 3621: (exit $ac_status); }; }; then
1.1 root 3622: ac_cv_c_bigendian=yes
3623: else
1.1.1.3 ! root 3624: echo "$as_me: failed program was:" >&5
! 3625: cat conftest.$ac_ext >&5
! 3626: ac_cv_c_bigendian=no
1.1 root 3627: fi
1.1.1.3 ! root 3628: rm -f conftest.$ac_objext conftest.$ac_ext
1.1 root 3629: else
1.1.1.3 ! root 3630: echo "$as_me: failed program was:" >&5
! 3631: cat conftest.$ac_ext >&5
1.1 root 3632: fi
1.1.1.3 ! root 3633: rm -f conftest.$ac_objext conftest.$ac_ext
1.1 root 3634: if test $ac_cv_c_bigendian = unknown; then
3635: if test "$cross_compiling" = yes; then
1.1.1.3 ! root 3636: { { echo "$as_me:3636: error: cannot run test program while cross compiling" >&5
! 3637: echo "$as_me: error: cannot run test program while cross compiling" >&2;}
! 3638: { (exit 1); exit 1; }; }
1.1 root 3639: else
1.1.1.3 ! root 3640: cat >conftest.$ac_ext <<_ACEOF
! 3641: #line 3641 "configure"
1.1 root 3642: #include "confdefs.h"
1.1.1.3 ! root 3643: int
! 3644: main ()
! 3645: {
1.1 root 3646: /* Are we little or big endian? From Harbison&Steele. */
3647: union
3648: {
3649: long l;
3650: char c[sizeof (long)];
3651: } u;
3652: u.l = 1;
3653: exit (u.c[sizeof (long) - 1] == 1);
3654: }
1.1.1.3 ! root 3655: _ACEOF
! 3656: rm -f conftest$ac_exeext
! 3657: if { (eval echo "$as_me:3657: \"$ac_link\"") >&5
! 3658: (eval $ac_link) 2>&5
! 3659: ac_status=$?
! 3660: echo "$as_me:3660: \$? = $ac_status" >&5
! 3661: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 3662: { (eval echo "$as_me:3662: \"$ac_try\"") >&5
! 3663: (eval $ac_try) 2>&5
! 3664: ac_status=$?
! 3665: echo "$as_me:3665: \$? = $ac_status" >&5
! 3666: (exit $ac_status); }; }; then
1.1 root 3667: ac_cv_c_bigendian=no
3668: else
1.1.1.3 ! root 3669: echo "$as_me: program exited with status $ac_status" >&5
! 3670: echo "$as_me: failed program was:" >&5
! 3671: cat conftest.$ac_ext >&5
! 3672: ac_cv_c_bigendian=yes
1.1 root 3673: fi
1.1.1.3 ! root 3674: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1 root 3675: fi
3676: fi
3677: fi
1.1.1.3 ! root 3678: echo "$as_me:3678: result: $ac_cv_c_bigendian" >&5
! 3679: echo "${ECHO_T}$ac_cv_c_bigendian" >&6
1.1 root 3680: if test $ac_cv_c_bigendian = yes; then
1.1.1.3 ! root 3681:
! 3682: cat >>confdefs.h <<\EOF
1.1 root 3683: #define WORDS_BIGENDIAN 1
3684: EOF
3685:
3686: fi
3687:
3688: else
1.1.1.3 ! root 3689: { echo "$as_me:3689: WARNING: Assuming little endian for cross compilation" >&5
! 3690: echo "$as_me: WARNING: Assuming little endian for cross compilation" >&2;}
1.1 root 3691: # AC_DEFINE(WORDS_BIGENDIAN, 1)
3692: fi
1.1.1.3 ! root 3693: echo "$as_me:3693: checking for $CC option to accept ANSI C" >&5
! 3694: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
! 3695: if test "${ac_cv_prog_cc_stdc+set}" = set; then
! 3696: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3697: else
! 3698: ac_cv_prog_cc_stdc=no
! 3699: ac_save_CC=$CC
! 3700: cat >conftest.$ac_ext <<_ACEOF
! 3701: #line 3701 "configure"
! 3702: #include "confdefs.h"
! 3703: #include <stdarg.h>
! 3704: #include <stdio.h>
! 3705: #include <sys/types.h>
! 3706: #include <sys/stat.h>
! 3707: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 3708: struct buf { int x; };
! 3709: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 3710: static char *e (p, i)
! 3711: char **p;
! 3712: int i;
! 3713: {
! 3714: return p[i];
! 3715: }
! 3716: static char *f (char * (*g) (char **, int), char **p, ...)
! 3717: {
! 3718: char *s;
! 3719: va_list v;
! 3720: va_start (v,p);
! 3721: s = g (p, va_arg (v,int));
! 3722: va_end (v);
! 3723: return s;
1.1 root 3724: }
1.1.1.3 ! root 3725: int test (int i, double x);
! 3726: struct s1 {int (*f) (int a);};
! 3727: struct s2 {int (*f) (double a);};
! 3728: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 3729: int argc;
! 3730: char **argv;
! 3731: int
! 3732: main ()
! 3733: {
! 3734: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 3735: ;
! 3736: return 0;
1.1 root 3737: }
1.1.1.3 ! root 3738: _ACEOF
! 3739: # Don't try gcc -ansi; that turns off useful extensions and
! 3740: # breaks some systems' header files.
! 3741: # AIX -qlanglvl=ansi
! 3742: # Ultrix and OSF/1 -std1
! 3743: # HP-UX 10.20 and later -Ae
! 3744: # HP-UX older versions -Aa -D_HPUX_SOURCE
! 3745: # SVR4 -Xc -D__EXTENSIONS__
! 3746: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 3747: do
! 3748: CC="$ac_save_CC $ac_arg"
! 3749: rm -f conftest.$ac_objext
! 3750: if { (eval echo "$as_me:3750: \"$ac_compile\"") >&5
! 3751: (eval $ac_compile) 2>&5
! 3752: ac_status=$?
! 3753: echo "$as_me:3753: \$? = $ac_status" >&5
! 3754: (exit $ac_status); } &&
! 3755: { ac_try='test -s conftest.$ac_objext'
! 3756: { (eval echo "$as_me:3756: \"$ac_try\"") >&5
! 3757: (eval $ac_try) 2>&5
! 3758: ac_status=$?
! 3759: echo "$as_me:3759: \$? = $ac_status" >&5
! 3760: (exit $ac_status); }; }; then
! 3761: ac_cv_prog_cc_stdc=$ac_arg
! 3762: break
! 3763: else
! 3764: echo "$as_me: failed program was:" >&5
! 3765: cat conftest.$ac_ext >&5
! 3766: fi
! 3767: rm -f conftest.$ac_objext
! 3768: done
! 3769: rm -f conftest.$ac_ext conftest.$ac_objext
! 3770: CC=$ac_save_CC
1.1 root 3771:
1.1.1.3 ! root 3772: fi
! 3773:
! 3774: case "x$ac_cv_prog_cc_stdc" in
! 3775: x|xno)
! 3776: echo "$as_me:3776: result: none needed" >&5
! 3777: echo "${ECHO_T}none needed" >&6 ;;
! 3778: *)
! 3779: echo "$as_me:3779: result: $ac_cv_prog_cc_stdc" >&5
! 3780: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
! 3781: CC="$CC $ac_cv_prog_cc_stdc" ;;
! 3782: esac
! 3783:
! 3784: echo "$as_me:3784: checking for an ANSI C-conforming const" >&5
! 3785: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
! 3786: if test "${ac_cv_c_const+set}" = set; then
! 3787: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3788: else
! 3789: cat >conftest.$ac_ext <<_ACEOF
! 3790: #line 3790 "configure"
! 3791: #include "confdefs.h"
! 3792:
! 3793: int
! 3794: main ()
! 3795: {
! 3796: /* FIXME: Include the comments suggested by Paul. */
! 3797: #ifndef __cplusplus
! 3798: /* Ultrix mips cc rejects this. */
! 3799: typedef int charset[2];
! 3800: const charset x;
! 3801: /* SunOS 4.1.1 cc rejects this. */
! 3802: char const *const *ccp;
! 3803: char **p;
! 3804: /* NEC SVR4.0.2 mips cc rejects this. */
! 3805: struct point {int x, y;};
! 3806: static struct point const zero = {0,0};
! 3807: /* AIX XL C 1.02.0.0 rejects this.
! 3808: It does not let you subtract one const X* pointer from another in
! 3809: an arm of an if-expression whose if-part is not a constant
! 3810: expression */
! 3811: const char *g = "string";
! 3812: ccp = &g + (g ? g-g : 0);
! 3813: /* HPUX 7.0 cc rejects these. */
! 3814: ++ccp;
! 3815: p = (char**) ccp;
! 3816: ccp = (char const *const *) p;
! 3817: { /* SCO 3.2v4 cc rejects this. */
! 3818: char *t;
! 3819: char const *s = 0 ? (char *) 0 : (char const *) 0;
! 3820:
! 3821: *t++ = 0;
! 3822: }
! 3823: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
! 3824: int x[] = {25, 17};
! 3825: const int *foo = &x[0];
! 3826: ++foo;
! 3827: }
! 3828: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
! 3829: typedef const int *iptr;
! 3830: iptr p = 0;
! 3831: ++p;
! 3832: }
! 3833: { /* AIX XL C 1.02.0.0 rejects this saying
! 3834: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
! 3835: struct s { int j; const int *ap[3]; };
! 3836: struct s *b; b->j = 5;
! 3837: }
! 3838: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
! 3839: const int foo = 10;
! 3840: }
! 3841: #endif
! 3842:
! 3843: ;
! 3844: return 0;
! 3845: }
! 3846: _ACEOF
! 3847: rm -f conftest.$ac_objext
! 3848: if { (eval echo "$as_me:3848: \"$ac_compile\"") >&5
! 3849: (eval $ac_compile) 2>&5
! 3850: ac_status=$?
! 3851: echo "$as_me:3851: \$? = $ac_status" >&5
! 3852: (exit $ac_status); } &&
! 3853: { ac_try='test -s conftest.$ac_objext'
! 3854: { (eval echo "$as_me:3854: \"$ac_try\"") >&5
! 3855: (eval $ac_try) 2>&5
! 3856: ac_status=$?
! 3857: echo "$as_me:3857: \$? = $ac_status" >&5
! 3858: (exit $ac_status); }; }; then
1.1 root 3859: ac_cv_c_const=yes
3860: else
1.1.1.3 ! root 3861: echo "$as_me: failed program was:" >&5
! 3862: cat conftest.$ac_ext >&5
! 3863: ac_cv_c_const=no
1.1 root 3864: fi
1.1.1.3 ! root 3865: rm -f conftest.$ac_objext conftest.$ac_ext
1.1 root 3866: fi
1.1.1.3 ! root 3867: echo "$as_me:3867: result: $ac_cv_c_const" >&5
! 3868: echo "${ECHO_T}$ac_cv_c_const" >&6
1.1 root 3869: if test $ac_cv_c_const = no; then
1.1.1.3 ! root 3870:
! 3871: cat >>confdefs.h <<\EOF
! 3872: #define const
1.1 root 3873: EOF
3874:
3875: fi
3876:
1.1.1.3 ! root 3877: echo "$as_me:3877: checking for inline" >&5
! 3878: echo $ECHO_N "checking for inline... $ECHO_C" >&6
! 3879: if test "${ac_cv_c_inline+set}" = set; then
! 3880: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 3881: else
3882: ac_cv_c_inline=no
3883: for ac_kw in inline __inline__ __inline; do
1.1.1.3 ! root 3884: cat >conftest.$ac_ext <<_ACEOF
! 3885: #line 3885 "configure"
1.1 root 3886: #include "confdefs.h"
1.1.1.3 ! root 3887: #ifndef __cplusplus
! 3888: static $ac_kw int static_foo () {return 0; }
! 3889: $ac_kw int foo () {return 0; }
! 3890: #endif
1.1 root 3891:
1.1.1.3 ! root 3892: _ACEOF
! 3893: rm -f conftest.$ac_objext
! 3894: if { (eval echo "$as_me:3894: \"$ac_compile\"") >&5
! 3895: (eval $ac_compile) 2>&5
! 3896: ac_status=$?
! 3897: echo "$as_me:3897: \$? = $ac_status" >&5
! 3898: (exit $ac_status); } &&
! 3899: { ac_try='test -s conftest.$ac_objext'
! 3900: { (eval echo "$as_me:3900: \"$ac_try\"") >&5
! 3901: (eval $ac_try) 2>&5
! 3902: ac_status=$?
! 3903: echo "$as_me:3903: \$? = $ac_status" >&5
! 3904: (exit $ac_status); }; }; then
1.1 root 3905: ac_cv_c_inline=$ac_kw; break
3906: else
1.1.1.3 ! root 3907: echo "$as_me: failed program was:" >&5
! 3908: cat conftest.$ac_ext >&5
1.1 root 3909: fi
1.1.1.3 ! root 3910: rm -f conftest.$ac_objext conftest.$ac_ext
1.1 root 3911: done
3912:
3913: fi
1.1.1.3 ! root 3914: echo "$as_me:3914: result: $ac_cv_c_inline" >&5
! 3915: echo "${ECHO_T}$ac_cv_c_inline" >&6
! 3916: case $ac_cv_c_inline in
1.1 root 3917: inline | yes) ;;
1.1.1.3 ! root 3918: no)
! 3919: cat >>confdefs.h <<\EOF
! 3920: #define inline
1.1 root 3921: EOF
3922: ;;
1.1.1.3 ! root 3923: *) cat >>confdefs.h <<EOF
1.1 root 3924: #define inline $ac_cv_c_inline
3925: EOF
3926: ;;
3927: esac
3928:
1.1.1.3 ! root 3929: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 3930:
! 3931: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 3932: inttypes.h stdint.h unistd.h
! 3933: do
! 3934: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 3935: echo "$as_me:3935: checking for $ac_header" >&5
! 3936: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 3937: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 3938: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 3939: else
1.1.1.3 ! root 3940: cat >conftest.$ac_ext <<_ACEOF
! 3941: #line 3941 "configure"
1.1 root 3942: #include "confdefs.h"
1.1.1.3 ! root 3943: $ac_includes_default
! 3944: #include <$ac_header>
! 3945: _ACEOF
! 3946: rm -f conftest.$ac_objext
! 3947: if { (eval echo "$as_me:3947: \"$ac_compile\"") >&5
! 3948: (eval $ac_compile) 2>&5
! 3949: ac_status=$?
! 3950: echo "$as_me:3950: \$? = $ac_status" >&5
! 3951: (exit $ac_status); } &&
! 3952: { ac_try='test -s conftest.$ac_objext'
! 3953: { (eval echo "$as_me:3953: \"$ac_try\"") >&5
! 3954: (eval $ac_try) 2>&5
! 3955: ac_status=$?
! 3956: echo "$as_me:3956: \$? = $ac_status" >&5
! 3957: (exit $ac_status); }; }; then
! 3958: eval "$as_ac_Header=yes"
! 3959: else
! 3960: echo "$as_me: failed program was:" >&5
! 3961: cat conftest.$ac_ext >&5
! 3962: eval "$as_ac_Header=no"
! 3963: fi
! 3964: rm -f conftest.$ac_objext conftest.$ac_ext
! 3965: fi
! 3966: echo "$as_me:3966: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 3967: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 3968: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 3969: cat >>confdefs.h <<EOF
! 3970: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1 root 3971: EOF
3972:
3973: fi
1.1.1.3 ! root 3974: done
1.1 root 3975:
1.1.1.3 ! root 3976: echo "$as_me:3976: checking for unsigned char" >&5
! 3977: echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6
! 3978: if test "${ac_cv_type_unsigned_char+set}" = set; then
! 3979: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 3980: else
1.1.1.3 ! root 3981: cat >conftest.$ac_ext <<_ACEOF
! 3982: #line 3982 "configure"
! 3983: #include "confdefs.h"
! 3984: $ac_includes_default
! 3985: int
! 3986: main ()
! 3987: {
! 3988: if ((unsigned char *) 0)
! 3989: return 0;
! 3990: if (sizeof (unsigned char))
! 3991: return 0;
! 3992: ;
! 3993: return 0;
! 3994: }
! 3995: _ACEOF
! 3996: rm -f conftest.$ac_objext
! 3997: if { (eval echo "$as_me:3997: \"$ac_compile\"") >&5
! 3998: (eval $ac_compile) 2>&5
! 3999: ac_status=$?
! 4000: echo "$as_me:4000: \$? = $ac_status" >&5
! 4001: (exit $ac_status); } &&
! 4002: { ac_try='test -s conftest.$ac_objext'
! 4003: { (eval echo "$as_me:4003: \"$ac_try\"") >&5
! 4004: (eval $ac_try) 2>&5
! 4005: ac_status=$?
! 4006: echo "$as_me:4006: \$? = $ac_status" >&5
! 4007: (exit $ac_status); }; }; then
! 4008: ac_cv_type_unsigned_char=yes
! 4009: else
! 4010: echo "$as_me: failed program was:" >&5
! 4011: cat conftest.$ac_ext >&5
! 4012: ac_cv_type_unsigned_char=no
! 4013: fi
! 4014: rm -f conftest.$ac_objext conftest.$ac_ext
! 4015: fi
! 4016: echo "$as_me:4016: result: $ac_cv_type_unsigned_char" >&5
! 4017: echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6
! 4018:
! 4019: echo "$as_me:4019: checking size of unsigned char" >&5
! 4020: echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6
! 4021: if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
! 4022: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 4023: else
1.1.1.3 ! root 4024: if test "$ac_cv_type_unsigned_char" = yes; then
! 4025: if test "$cross_compiling" = yes; then
! 4026: # Depending upon the size, compute the lo and hi bounds.
! 4027: cat >conftest.$ac_ext <<_ACEOF
! 4028: #line 4028 "configure"
1.1 root 4029: #include "confdefs.h"
1.1.1.3 ! root 4030: $ac_includes_default
! 4031: int
! 4032: main ()
1.1 root 4033: {
1.1.1.3 ! root 4034: int _array_ [1 - 2 * !((sizeof (unsigned char)) >= 0)]
! 4035: ;
! 4036: return 0;
1.1 root 4037: }
1.1.1.3 ! root 4038: _ACEOF
! 4039: rm -f conftest.$ac_objext
! 4040: if { (eval echo "$as_me:4040: \"$ac_compile\"") >&5
! 4041: (eval $ac_compile) 2>&5
! 4042: ac_status=$?
! 4043: echo "$as_me:4043: \$? = $ac_status" >&5
! 4044: (exit $ac_status); } &&
! 4045: { ac_try='test -s conftest.$ac_objext'
! 4046: { (eval echo "$as_me:4046: \"$ac_try\"") >&5
! 4047: (eval $ac_try) 2>&5
! 4048: ac_status=$?
! 4049: echo "$as_me:4049: \$? = $ac_status" >&5
! 4050: (exit $ac_status); }; }; then
! 4051: ac_lo=0 ac_mid=0
! 4052: while :; do
! 4053: cat >conftest.$ac_ext <<_ACEOF
! 4054: #line 4054 "configure"
! 4055: #include "confdefs.h"
! 4056: $ac_includes_default
! 4057: int
! 4058: main ()
! 4059: {
! 4060: int _array_ [1 - 2 * !((sizeof (unsigned char)) <= $ac_mid)]
! 4061: ;
! 4062: return 0;
! 4063: }
! 4064: _ACEOF
! 4065: rm -f conftest.$ac_objext
! 4066: if { (eval echo "$as_me:4066: \"$ac_compile\"") >&5
! 4067: (eval $ac_compile) 2>&5
! 4068: ac_status=$?
! 4069: echo "$as_me:4069: \$? = $ac_status" >&5
! 4070: (exit $ac_status); } &&
! 4071: { ac_try='test -s conftest.$ac_objext'
! 4072: { (eval echo "$as_me:4072: \"$ac_try\"") >&5
! 4073: (eval $ac_try) 2>&5
! 4074: ac_status=$?
! 4075: echo "$as_me:4075: \$? = $ac_status" >&5
! 4076: (exit $ac_status); }; }; then
! 4077: ac_hi=$ac_mid; break
! 4078: else
! 4079: echo "$as_me: failed program was:" >&5
! 4080: cat conftest.$ac_ext >&5
! 4081: ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
! 4082: fi
! 4083: rm -f conftest.$ac_objext conftest.$ac_ext
! 4084: done
1.1 root 4085: else
1.1.1.3 ! root 4086: echo "$as_me: failed program was:" >&5
! 4087: cat conftest.$ac_ext >&5
! 4088: ac_hi=-1 ac_mid=-1
! 4089: while :; do
! 4090: cat >conftest.$ac_ext <<_ACEOF
! 4091: #line 4091 "configure"
! 4092: #include "confdefs.h"
! 4093: $ac_includes_default
! 4094: int
! 4095: main ()
! 4096: {
! 4097: int _array_ [1 - 2 * !((sizeof (unsigned char)) >= $ac_mid)]
! 4098: ;
! 4099: return 0;
! 4100: }
! 4101: _ACEOF
! 4102: rm -f conftest.$ac_objext
! 4103: if { (eval echo "$as_me:4103: \"$ac_compile\"") >&5
! 4104: (eval $ac_compile) 2>&5
! 4105: ac_status=$?
! 4106: echo "$as_me:4106: \$? = $ac_status" >&5
! 4107: (exit $ac_status); } &&
! 4108: { ac_try='test -s conftest.$ac_objext'
! 4109: { (eval echo "$as_me:4109: \"$ac_try\"") >&5
! 4110: (eval $ac_try) 2>&5
! 4111: ac_status=$?
! 4112: echo "$as_me:4112: \$? = $ac_status" >&5
! 4113: (exit $ac_status); }; }; then
! 4114: ac_lo=$ac_mid; break
! 4115: else
! 4116: echo "$as_me: failed program was:" >&5
! 4117: cat conftest.$ac_ext >&5
! 4118: ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
1.1 root 4119: fi
1.1.1.3 ! root 4120: rm -f conftest.$ac_objext conftest.$ac_ext
! 4121: done
1.1 root 4122: fi
1.1.1.3 ! root 4123: rm -f conftest.$ac_objext conftest.$ac_ext
! 4124: # Binary search between lo and hi bounds.
! 4125: while test "x$ac_lo" != "x$ac_hi"; do
! 4126: ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
! 4127: cat >conftest.$ac_ext <<_ACEOF
! 4128: #line 4128 "configure"
! 4129: #include "confdefs.h"
! 4130: $ac_includes_default
! 4131: int
! 4132: main ()
! 4133: {
! 4134: int _array_ [1 - 2 * !((sizeof (unsigned char)) <= $ac_mid)]
! 4135: ;
! 4136: return 0;
! 4137: }
! 4138: _ACEOF
! 4139: rm -f conftest.$ac_objext
! 4140: if { (eval echo "$as_me:4140: \"$ac_compile\"") >&5
! 4141: (eval $ac_compile) 2>&5
! 4142: ac_status=$?
! 4143: echo "$as_me:4143: \$? = $ac_status" >&5
! 4144: (exit $ac_status); } &&
! 4145: { ac_try='test -s conftest.$ac_objext'
! 4146: { (eval echo "$as_me:4146: \"$ac_try\"") >&5
! 4147: (eval $ac_try) 2>&5
! 4148: ac_status=$?
! 4149: echo "$as_me:4149: \$? = $ac_status" >&5
! 4150: (exit $ac_status); }; }; then
! 4151: ac_hi=$ac_mid
! 4152: else
! 4153: echo "$as_me: failed program was:" >&5
! 4154: cat conftest.$ac_ext >&5
! 4155: ac_lo=`expr $ac_mid + 1`
1.1 root 4156: fi
1.1.1.3 ! root 4157: rm -f conftest.$ac_objext conftest.$ac_ext
! 4158: done
! 4159: ac_cv_sizeof_unsigned_char=$ac_lo
1.1 root 4160: else
4161: if test "$cross_compiling" = yes; then
1.1.1.3 ! root 4162: { { echo "$as_me:4162: error: cannot run test program while cross compiling" >&5
! 4163: echo "$as_me: error: cannot run test program while cross compiling" >&2;}
! 4164: { (exit 1); exit 1; }; }
1.1 root 4165: else
1.1.1.3 ! root 4166: cat >conftest.$ac_ext <<_ACEOF
! 4167: #line 4167 "configure"
1.1 root 4168: #include "confdefs.h"
1.1.1.3 ! root 4169: $ac_includes_default
! 4170: int
! 4171: main ()
1.1 root 4172: {
1.1.1.3 ! root 4173: FILE *f = fopen ("conftest.val", "w");
! 4174: if (!f)
! 4175: exit (1);
! 4176: fprintf (f, "%d", (sizeof (unsigned char)));
! 4177: fclose (f);
! 4178: ;
! 4179: return 0;
1.1 root 4180: }
1.1.1.3 ! root 4181: _ACEOF
! 4182: rm -f conftest$ac_exeext
! 4183: if { (eval echo "$as_me:4183: \"$ac_link\"") >&5
! 4184: (eval $ac_link) 2>&5
! 4185: ac_status=$?
! 4186: echo "$as_me:4186: \$? = $ac_status" >&5
! 4187: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4188: { (eval echo "$as_me:4188: \"$ac_try\"") >&5
! 4189: (eval $ac_try) 2>&5
! 4190: ac_status=$?
! 4191: echo "$as_me:4191: \$? = $ac_status" >&5
! 4192: (exit $ac_status); }; }; then
! 4193: ac_cv_sizeof_unsigned_char=`cat conftest.val`
! 4194: else
! 4195: echo "$as_me: program exited with status $ac_status" >&5
! 4196: echo "$as_me: failed program was:" >&5
! 4197: cat conftest.$ac_ext >&5
1.1 root 4198: fi
1.1.1.3 ! root 4199: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1 root 4200: fi
4201: fi
1.1.1.3 ! root 4202: rm -f conftest.val
! 4203: else
! 4204: ac_cv_sizeof_unsigned_char=0
! 4205: fi
! 4206: fi
! 4207: echo "$as_me:4207: result: $ac_cv_sizeof_unsigned_char" >&5
! 4208: echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6
! 4209: cat >>confdefs.h <<EOF
! 4210: #define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
1.1 root 4211: EOF
4212:
1.1.1.3 ! root 4213: echo "$as_me:4213: checking for unsigned short" >&5
! 4214: echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6
! 4215: if test "${ac_cv_type_unsigned_short+set}" = set; then
! 4216: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 4217: else
1.1.1.3 ! root 4218: cat >conftest.$ac_ext <<_ACEOF
! 4219: #line 4219 "configure"
! 4220: #include "confdefs.h"
! 4221: $ac_includes_default
! 4222: int
! 4223: main ()
! 4224: {
! 4225: if ((unsigned short *) 0)
! 4226: return 0;
! 4227: if (sizeof (unsigned short))
! 4228: return 0;
! 4229: ;
! 4230: return 0;
! 4231: }
! 4232: _ACEOF
! 4233: rm -f conftest.$ac_objext
! 4234: if { (eval echo "$as_me:4234: \"$ac_compile\"") >&5
! 4235: (eval $ac_compile) 2>&5
! 4236: ac_status=$?
! 4237: echo "$as_me:4237: \$? = $ac_status" >&5
! 4238: (exit $ac_status); } &&
! 4239: { ac_try='test -s conftest.$ac_objext'
! 4240: { (eval echo "$as_me:4240: \"$ac_try\"") >&5
! 4241: (eval $ac_try) 2>&5
! 4242: ac_status=$?
! 4243: echo "$as_me:4243: \$? = $ac_status" >&5
! 4244: (exit $ac_status); }; }; then
! 4245: ac_cv_type_unsigned_short=yes
! 4246: else
! 4247: echo "$as_me: failed program was:" >&5
! 4248: cat conftest.$ac_ext >&5
! 4249: ac_cv_type_unsigned_short=no
! 4250: fi
! 4251: rm -f conftest.$ac_objext conftest.$ac_ext
! 4252: fi
! 4253: echo "$as_me:4253: result: $ac_cv_type_unsigned_short" >&5
! 4254: echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6
! 4255:
! 4256: echo "$as_me:4256: checking size of unsigned short" >&5
! 4257: echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6
! 4258: if test "${ac_cv_sizeof_unsigned_short+set}" = set; then
! 4259: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 4260: else
1.1.1.3 ! root 4261: if test "$ac_cv_type_unsigned_short" = yes; then
! 4262: if test "$cross_compiling" = yes; then
! 4263: # Depending upon the size, compute the lo and hi bounds.
! 4264: cat >conftest.$ac_ext <<_ACEOF
! 4265: #line 4265 "configure"
1.1 root 4266: #include "confdefs.h"
1.1.1.3 ! root 4267: $ac_includes_default
! 4268: int
! 4269: main ()
1.1 root 4270: {
1.1.1.3 ! root 4271: int _array_ [1 - 2 * !((sizeof (unsigned short)) >= 0)]
! 4272: ;
! 4273: return 0;
1.1 root 4274: }
1.1.1.3 ! root 4275: _ACEOF
! 4276: rm -f conftest.$ac_objext
! 4277: if { (eval echo "$as_me:4277: \"$ac_compile\"") >&5
! 4278: (eval $ac_compile) 2>&5
! 4279: ac_status=$?
! 4280: echo "$as_me:4280: \$? = $ac_status" >&5
! 4281: (exit $ac_status); } &&
! 4282: { ac_try='test -s conftest.$ac_objext'
! 4283: { (eval echo "$as_me:4283: \"$ac_try\"") >&5
! 4284: (eval $ac_try) 2>&5
! 4285: ac_status=$?
! 4286: echo "$as_me:4286: \$? = $ac_status" >&5
! 4287: (exit $ac_status); }; }; then
! 4288: ac_lo=0 ac_mid=0
! 4289: while :; do
! 4290: cat >conftest.$ac_ext <<_ACEOF
! 4291: #line 4291 "configure"
! 4292: #include "confdefs.h"
! 4293: $ac_includes_default
! 4294: int
! 4295: main ()
! 4296: {
! 4297: int _array_ [1 - 2 * !((sizeof (unsigned short)) <= $ac_mid)]
! 4298: ;
! 4299: return 0;
! 4300: }
! 4301: _ACEOF
! 4302: rm -f conftest.$ac_objext
! 4303: if { (eval echo "$as_me:4303: \"$ac_compile\"") >&5
! 4304: (eval $ac_compile) 2>&5
! 4305: ac_status=$?
! 4306: echo "$as_me:4306: \$? = $ac_status" >&5
! 4307: (exit $ac_status); } &&
! 4308: { ac_try='test -s conftest.$ac_objext'
! 4309: { (eval echo "$as_me:4309: \"$ac_try\"") >&5
! 4310: (eval $ac_try) 2>&5
! 4311: ac_status=$?
! 4312: echo "$as_me:4312: \$? = $ac_status" >&5
! 4313: (exit $ac_status); }; }; then
! 4314: ac_hi=$ac_mid; break
! 4315: else
! 4316: echo "$as_me: failed program was:" >&5
! 4317: cat conftest.$ac_ext >&5
! 4318: ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
! 4319: fi
! 4320: rm -f conftest.$ac_objext conftest.$ac_ext
! 4321: done
1.1 root 4322: else
1.1.1.3 ! root 4323: echo "$as_me: failed program was:" >&5
! 4324: cat conftest.$ac_ext >&5
! 4325: ac_hi=-1 ac_mid=-1
! 4326: while :; do
! 4327: cat >conftest.$ac_ext <<_ACEOF
! 4328: #line 4328 "configure"
! 4329: #include "confdefs.h"
! 4330: $ac_includes_default
! 4331: int
! 4332: main ()
! 4333: {
! 4334: int _array_ [1 - 2 * !((sizeof (unsigned short)) >= $ac_mid)]
! 4335: ;
! 4336: return 0;
! 4337: }
! 4338: _ACEOF
! 4339: rm -f conftest.$ac_objext
! 4340: if { (eval echo "$as_me:4340: \"$ac_compile\"") >&5
! 4341: (eval $ac_compile) 2>&5
! 4342: ac_status=$?
! 4343: echo "$as_me:4343: \$? = $ac_status" >&5
! 4344: (exit $ac_status); } &&
! 4345: { ac_try='test -s conftest.$ac_objext'
! 4346: { (eval echo "$as_me:4346: \"$ac_try\"") >&5
! 4347: (eval $ac_try) 2>&5
! 4348: ac_status=$?
! 4349: echo "$as_me:4349: \$? = $ac_status" >&5
! 4350: (exit $ac_status); }; }; then
! 4351: ac_lo=$ac_mid; break
! 4352: else
! 4353: echo "$as_me: failed program was:" >&5
! 4354: cat conftest.$ac_ext >&5
! 4355: ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
1.1 root 4356: fi
1.1.1.3 ! root 4357: rm -f conftest.$ac_objext conftest.$ac_ext
! 4358: done
1.1 root 4359: fi
1.1.1.3 ! root 4360: rm -f conftest.$ac_objext conftest.$ac_ext
! 4361: # Binary search between lo and hi bounds.
! 4362: while test "x$ac_lo" != "x$ac_hi"; do
! 4363: ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
! 4364: cat >conftest.$ac_ext <<_ACEOF
! 4365: #line 4365 "configure"
! 4366: #include "confdefs.h"
! 4367: $ac_includes_default
! 4368: int
! 4369: main ()
! 4370: {
! 4371: int _array_ [1 - 2 * !((sizeof (unsigned short)) <= $ac_mid)]
! 4372: ;
! 4373: return 0;
! 4374: }
! 4375: _ACEOF
! 4376: rm -f conftest.$ac_objext
! 4377: if { (eval echo "$as_me:4377: \"$ac_compile\"") >&5
! 4378: (eval $ac_compile) 2>&5
! 4379: ac_status=$?
! 4380: echo "$as_me:4380: \$? = $ac_status" >&5
! 4381: (exit $ac_status); } &&
! 4382: { ac_try='test -s conftest.$ac_objext'
! 4383: { (eval echo "$as_me:4383: \"$ac_try\"") >&5
! 4384: (eval $ac_try) 2>&5
! 4385: ac_status=$?
! 4386: echo "$as_me:4386: \$? = $ac_status" >&5
! 4387: (exit $ac_status); }; }; then
! 4388: ac_hi=$ac_mid
! 4389: else
! 4390: echo "$as_me: failed program was:" >&5
! 4391: cat conftest.$ac_ext >&5
! 4392: ac_lo=`expr $ac_mid + 1`
1.1 root 4393: fi
1.1.1.3 ! root 4394: rm -f conftest.$ac_objext conftest.$ac_ext
! 4395: done
! 4396: ac_cv_sizeof_unsigned_short=$ac_lo
1.1 root 4397: else
4398: if test "$cross_compiling" = yes; then
1.1.1.3 ! root 4399: { { echo "$as_me:4399: error: cannot run test program while cross compiling" >&5
! 4400: echo "$as_me: error: cannot run test program while cross compiling" >&2;}
! 4401: { (exit 1); exit 1; }; }
1.1 root 4402: else
1.1.1.3 ! root 4403: cat >conftest.$ac_ext <<_ACEOF
! 4404: #line 4404 "configure"
1.1 root 4405: #include "confdefs.h"
1.1.1.3 ! root 4406: $ac_includes_default
! 4407: int
! 4408: main ()
1.1 root 4409: {
1.1.1.3 ! root 4410: FILE *f = fopen ("conftest.val", "w");
! 4411: if (!f)
! 4412: exit (1);
! 4413: fprintf (f, "%d", (sizeof (unsigned short)));
! 4414: fclose (f);
! 4415: ;
! 4416: return 0;
1.1 root 4417: }
1.1.1.3 ! root 4418: _ACEOF
! 4419: rm -f conftest$ac_exeext
! 4420: if { (eval echo "$as_me:4420: \"$ac_link\"") >&5
! 4421: (eval $ac_link) 2>&5
! 4422: ac_status=$?
! 4423: echo "$as_me:4423: \$? = $ac_status" >&5
! 4424: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4425: { (eval echo "$as_me:4425: \"$ac_try\"") >&5
! 4426: (eval $ac_try) 2>&5
! 4427: ac_status=$?
! 4428: echo "$as_me:4428: \$? = $ac_status" >&5
! 4429: (exit $ac_status); }; }; then
! 4430: ac_cv_sizeof_unsigned_short=`cat conftest.val`
! 4431: else
! 4432: echo "$as_me: program exited with status $ac_status" >&5
! 4433: echo "$as_me: failed program was:" >&5
! 4434: cat conftest.$ac_ext >&5
! 4435: fi
! 4436: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 4437: fi
! 4438: fi
! 4439: rm -f conftest.val
1.1 root 4440: else
1.1.1.3 ! root 4441: ac_cv_sizeof_unsigned_short=0
1.1 root 4442: fi
4443: fi
1.1.1.3 ! root 4444: echo "$as_me:4444: result: $ac_cv_sizeof_unsigned_short" >&5
! 4445: echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6
! 4446: cat >>confdefs.h <<EOF
! 4447: #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
! 4448: EOF
1.1 root 4449:
1.1.1.3 ! root 4450: echo "$as_me:4450: checking for unsigned int" >&5
! 4451: echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
! 4452: if test "${ac_cv_type_unsigned_int+set}" = set; then
! 4453: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4454: else
! 4455: cat >conftest.$ac_ext <<_ACEOF
! 4456: #line 4456 "configure"
! 4457: #include "confdefs.h"
! 4458: $ac_includes_default
! 4459: int
! 4460: main ()
! 4461: {
! 4462: if ((unsigned int *) 0)
! 4463: return 0;
! 4464: if (sizeof (unsigned int))
! 4465: return 0;
! 4466: ;
! 4467: return 0;
! 4468: }
! 4469: _ACEOF
! 4470: rm -f conftest.$ac_objext
! 4471: if { (eval echo "$as_me:4471: \"$ac_compile\"") >&5
! 4472: (eval $ac_compile) 2>&5
! 4473: ac_status=$?
! 4474: echo "$as_me:4474: \$? = $ac_status" >&5
! 4475: (exit $ac_status); } &&
! 4476: { ac_try='test -s conftest.$ac_objext'
! 4477: { (eval echo "$as_me:4477: \"$ac_try\"") >&5
! 4478: (eval $ac_try) 2>&5
! 4479: ac_status=$?
! 4480: echo "$as_me:4480: \$? = $ac_status" >&5
! 4481: (exit $ac_status); }; }; then
! 4482: ac_cv_type_unsigned_int=yes
! 4483: else
! 4484: echo "$as_me: failed program was:" >&5
! 4485: cat conftest.$ac_ext >&5
! 4486: ac_cv_type_unsigned_int=no
! 4487: fi
! 4488: rm -f conftest.$ac_objext conftest.$ac_ext
! 4489: fi
! 4490: echo "$as_me:4490: result: $ac_cv_type_unsigned_int" >&5
! 4491: echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
! 4492:
! 4493: echo "$as_me:4493: checking size of unsigned int" >&5
! 4494: echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
! 4495: if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
! 4496: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4497: else
! 4498: if test "$ac_cv_type_unsigned_int" = yes; then
! 4499: if test "$cross_compiling" = yes; then
! 4500: # Depending upon the size, compute the lo and hi bounds.
! 4501: cat >conftest.$ac_ext <<_ACEOF
! 4502: #line 4502 "configure"
! 4503: #include "confdefs.h"
! 4504: $ac_includes_default
! 4505: int
! 4506: main ()
! 4507: {
! 4508: int _array_ [1 - 2 * !((sizeof (unsigned int)) >= 0)]
! 4509: ;
! 4510: return 0;
! 4511: }
! 4512: _ACEOF
! 4513: rm -f conftest.$ac_objext
! 4514: if { (eval echo "$as_me:4514: \"$ac_compile\"") >&5
! 4515: (eval $ac_compile) 2>&5
! 4516: ac_status=$?
! 4517: echo "$as_me:4517: \$? = $ac_status" >&5
! 4518: (exit $ac_status); } &&
! 4519: { ac_try='test -s conftest.$ac_objext'
! 4520: { (eval echo "$as_me:4520: \"$ac_try\"") >&5
! 4521: (eval $ac_try) 2>&5
! 4522: ac_status=$?
! 4523: echo "$as_me:4523: \$? = $ac_status" >&5
! 4524: (exit $ac_status); }; }; then
! 4525: ac_lo=0 ac_mid=0
! 4526: while :; do
! 4527: cat >conftest.$ac_ext <<_ACEOF
! 4528: #line 4528 "configure"
! 4529: #include "confdefs.h"
! 4530: $ac_includes_default
! 4531: int
! 4532: main ()
! 4533: {
! 4534: int _array_ [1 - 2 * !((sizeof (unsigned int)) <= $ac_mid)]
! 4535: ;
! 4536: return 0;
! 4537: }
! 4538: _ACEOF
! 4539: rm -f conftest.$ac_objext
! 4540: if { (eval echo "$as_me:4540: \"$ac_compile\"") >&5
! 4541: (eval $ac_compile) 2>&5
! 4542: ac_status=$?
! 4543: echo "$as_me:4543: \$? = $ac_status" >&5
! 4544: (exit $ac_status); } &&
! 4545: { ac_try='test -s conftest.$ac_objext'
! 4546: { (eval echo "$as_me:4546: \"$ac_try\"") >&5
! 4547: (eval $ac_try) 2>&5
! 4548: ac_status=$?
! 4549: echo "$as_me:4549: \$? = $ac_status" >&5
! 4550: (exit $ac_status); }; }; then
! 4551: ac_hi=$ac_mid; break
! 4552: else
! 4553: echo "$as_me: failed program was:" >&5
! 4554: cat conftest.$ac_ext >&5
! 4555: ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
1.1 root 4556: fi
1.1.1.3 ! root 4557: rm -f conftest.$ac_objext conftest.$ac_ext
! 4558: done
! 4559: else
! 4560: echo "$as_me: failed program was:" >&5
! 4561: cat conftest.$ac_ext >&5
! 4562: ac_hi=-1 ac_mid=-1
! 4563: while :; do
! 4564: cat >conftest.$ac_ext <<_ACEOF
! 4565: #line 4565 "configure"
! 4566: #include "confdefs.h"
! 4567: $ac_includes_default
! 4568: int
! 4569: main ()
! 4570: {
! 4571: int _array_ [1 - 2 * !((sizeof (unsigned int)) >= $ac_mid)]
! 4572: ;
! 4573: return 0;
! 4574: }
! 4575: _ACEOF
! 4576: rm -f conftest.$ac_objext
! 4577: if { (eval echo "$as_me:4577: \"$ac_compile\"") >&5
! 4578: (eval $ac_compile) 2>&5
! 4579: ac_status=$?
! 4580: echo "$as_me:4580: \$? = $ac_status" >&5
! 4581: (exit $ac_status); } &&
! 4582: { ac_try='test -s conftest.$ac_objext'
! 4583: { (eval echo "$as_me:4583: \"$ac_try\"") >&5
! 4584: (eval $ac_try) 2>&5
! 4585: ac_status=$?
! 4586: echo "$as_me:4586: \$? = $ac_status" >&5
! 4587: (exit $ac_status); }; }; then
! 4588: ac_lo=$ac_mid; break
! 4589: else
! 4590: echo "$as_me: failed program was:" >&5
! 4591: cat conftest.$ac_ext >&5
! 4592: ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
! 4593: fi
! 4594: rm -f conftest.$ac_objext conftest.$ac_ext
! 4595: done
! 4596: fi
! 4597: rm -f conftest.$ac_objext conftest.$ac_ext
! 4598: # Binary search between lo and hi bounds.
! 4599: while test "x$ac_lo" != "x$ac_hi"; do
! 4600: ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
! 4601: cat >conftest.$ac_ext <<_ACEOF
! 4602: #line 4602 "configure"
! 4603: #include "confdefs.h"
! 4604: $ac_includes_default
! 4605: int
! 4606: main ()
! 4607: {
! 4608: int _array_ [1 - 2 * !((sizeof (unsigned int)) <= $ac_mid)]
! 4609: ;
! 4610: return 0;
! 4611: }
! 4612: _ACEOF
! 4613: rm -f conftest.$ac_objext
! 4614: if { (eval echo "$as_me:4614: \"$ac_compile\"") >&5
! 4615: (eval $ac_compile) 2>&5
! 4616: ac_status=$?
! 4617: echo "$as_me:4617: \$? = $ac_status" >&5
! 4618: (exit $ac_status); } &&
! 4619: { ac_try='test -s conftest.$ac_objext'
! 4620: { (eval echo "$as_me:4620: \"$ac_try\"") >&5
! 4621: (eval $ac_try) 2>&5
! 4622: ac_status=$?
! 4623: echo "$as_me:4623: \$? = $ac_status" >&5
! 4624: (exit $ac_status); }; }; then
! 4625: ac_hi=$ac_mid
! 4626: else
! 4627: echo "$as_me: failed program was:" >&5
! 4628: cat conftest.$ac_ext >&5
! 4629: ac_lo=`expr $ac_mid + 1`
! 4630: fi
! 4631: rm -f conftest.$ac_objext conftest.$ac_ext
! 4632: done
! 4633: ac_cv_sizeof_unsigned_int=$ac_lo
! 4634: else
! 4635: if test "$cross_compiling" = yes; then
! 4636: { { echo "$as_me:4636: error: cannot run test program while cross compiling" >&5
! 4637: echo "$as_me: error: cannot run test program while cross compiling" >&2;}
! 4638: { (exit 1); exit 1; }; }
! 4639: else
! 4640: cat >conftest.$ac_ext <<_ACEOF
! 4641: #line 4641 "configure"
! 4642: #include "confdefs.h"
! 4643: $ac_includes_default
! 4644: int
! 4645: main ()
! 4646: {
! 4647: FILE *f = fopen ("conftest.val", "w");
! 4648: if (!f)
! 4649: exit (1);
! 4650: fprintf (f, "%d", (sizeof (unsigned int)));
! 4651: fclose (f);
! 4652: ;
! 4653: return 0;
! 4654: }
! 4655: _ACEOF
! 4656: rm -f conftest$ac_exeext
! 4657: if { (eval echo "$as_me:4657: \"$ac_link\"") >&5
! 4658: (eval $ac_link) 2>&5
! 4659: ac_status=$?
! 4660: echo "$as_me:4660: \$? = $ac_status" >&5
! 4661: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4662: { (eval echo "$as_me:4662: \"$ac_try\"") >&5
! 4663: (eval $ac_try) 2>&5
! 4664: ac_status=$?
! 4665: echo "$as_me:4665: \$? = $ac_status" >&5
! 4666: (exit $ac_status); }; }; then
! 4667: ac_cv_sizeof_unsigned_int=`cat conftest.val`
! 4668: else
! 4669: echo "$as_me: program exited with status $ac_status" >&5
! 4670: echo "$as_me: failed program was:" >&5
! 4671: cat conftest.$ac_ext >&5
! 4672: fi
! 4673: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 4674: fi
! 4675: fi
! 4676: rm -f conftest.val
! 4677: else
! 4678: ac_cv_sizeof_unsigned_int=0
! 4679: fi
! 4680: fi
! 4681: echo "$as_me:4681: result: $ac_cv_sizeof_unsigned_int" >&5
! 4682: echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
! 4683: cat >>confdefs.h <<EOF
! 4684: #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
1.1 root 4685: EOF
4686:
1.1.1.3 ! root 4687: echo "$as_me:4687: checking for unsigned long" >&5
! 4688: echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
! 4689: if test "${ac_cv_type_unsigned_long+set}" = set; then
! 4690: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4691: else
! 4692: cat >conftest.$ac_ext <<_ACEOF
! 4693: #line 4693 "configure"
! 4694: #include "confdefs.h"
! 4695: $ac_includes_default
! 4696: int
! 4697: main ()
! 4698: {
! 4699: if ((unsigned long *) 0)
! 4700: return 0;
! 4701: if (sizeof (unsigned long))
! 4702: return 0;
! 4703: ;
! 4704: return 0;
! 4705: }
! 4706: _ACEOF
! 4707: rm -f conftest.$ac_objext
! 4708: if { (eval echo "$as_me:4708: \"$ac_compile\"") >&5
! 4709: (eval $ac_compile) 2>&5
! 4710: ac_status=$?
! 4711: echo "$as_me:4711: \$? = $ac_status" >&5
! 4712: (exit $ac_status); } &&
! 4713: { ac_try='test -s conftest.$ac_objext'
! 4714: { (eval echo "$as_me:4714: \"$ac_try\"") >&5
! 4715: (eval $ac_try) 2>&5
! 4716: ac_status=$?
! 4717: echo "$as_me:4717: \$? = $ac_status" >&5
! 4718: (exit $ac_status); }; }; then
! 4719: ac_cv_type_unsigned_long=yes
! 4720: else
! 4721: echo "$as_me: failed program was:" >&5
! 4722: cat conftest.$ac_ext >&5
! 4723: ac_cv_type_unsigned_long=no
! 4724: fi
! 4725: rm -f conftest.$ac_objext conftest.$ac_ext
! 4726: fi
! 4727: echo "$as_me:4727: result: $ac_cv_type_unsigned_long" >&5
! 4728: echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
! 4729:
! 4730: echo "$as_me:4730: checking size of unsigned long" >&5
! 4731: echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
! 4732: if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
! 4733: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4734: else
! 4735: if test "$ac_cv_type_unsigned_long" = yes; then
! 4736: if test "$cross_compiling" = yes; then
! 4737: # Depending upon the size, compute the lo and hi bounds.
! 4738: cat >conftest.$ac_ext <<_ACEOF
! 4739: #line 4739 "configure"
! 4740: #include "confdefs.h"
! 4741: $ac_includes_default
! 4742: int
! 4743: main ()
! 4744: {
! 4745: int _array_ [1 - 2 * !((sizeof (unsigned long)) >= 0)]
! 4746: ;
! 4747: return 0;
! 4748: }
! 4749: _ACEOF
! 4750: rm -f conftest.$ac_objext
! 4751: if { (eval echo "$as_me:4751: \"$ac_compile\"") >&5
! 4752: (eval $ac_compile) 2>&5
! 4753: ac_status=$?
! 4754: echo "$as_me:4754: \$? = $ac_status" >&5
! 4755: (exit $ac_status); } &&
! 4756: { ac_try='test -s conftest.$ac_objext'
! 4757: { (eval echo "$as_me:4757: \"$ac_try\"") >&5
! 4758: (eval $ac_try) 2>&5
! 4759: ac_status=$?
! 4760: echo "$as_me:4760: \$? = $ac_status" >&5
! 4761: (exit $ac_status); }; }; then
! 4762: ac_lo=0 ac_mid=0
! 4763: while :; do
! 4764: cat >conftest.$ac_ext <<_ACEOF
! 4765: #line 4765 "configure"
! 4766: #include "confdefs.h"
! 4767: $ac_includes_default
! 4768: int
! 4769: main ()
! 4770: {
! 4771: int _array_ [1 - 2 * !((sizeof (unsigned long)) <= $ac_mid)]
! 4772: ;
! 4773: return 0;
! 4774: }
! 4775: _ACEOF
! 4776: rm -f conftest.$ac_objext
! 4777: if { (eval echo "$as_me:4777: \"$ac_compile\"") >&5
! 4778: (eval $ac_compile) 2>&5
! 4779: ac_status=$?
! 4780: echo "$as_me:4780: \$? = $ac_status" >&5
! 4781: (exit $ac_status); } &&
! 4782: { ac_try='test -s conftest.$ac_objext'
! 4783: { (eval echo "$as_me:4783: \"$ac_try\"") >&5
! 4784: (eval $ac_try) 2>&5
! 4785: ac_status=$?
! 4786: echo "$as_me:4786: \$? = $ac_status" >&5
! 4787: (exit $ac_status); }; }; then
! 4788: ac_hi=$ac_mid; break
! 4789: else
! 4790: echo "$as_me: failed program was:" >&5
! 4791: cat conftest.$ac_ext >&5
! 4792: ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
! 4793: fi
! 4794: rm -f conftest.$ac_objext conftest.$ac_ext
! 4795: done
! 4796: else
! 4797: echo "$as_me: failed program was:" >&5
! 4798: cat conftest.$ac_ext >&5
! 4799: ac_hi=-1 ac_mid=-1
! 4800: while :; do
! 4801: cat >conftest.$ac_ext <<_ACEOF
! 4802: #line 4802 "configure"
! 4803: #include "confdefs.h"
! 4804: $ac_includes_default
! 4805: int
! 4806: main ()
! 4807: {
! 4808: int _array_ [1 - 2 * !((sizeof (unsigned long)) >= $ac_mid)]
! 4809: ;
! 4810: return 0;
! 4811: }
! 4812: _ACEOF
! 4813: rm -f conftest.$ac_objext
! 4814: if { (eval echo "$as_me:4814: \"$ac_compile\"") >&5
! 4815: (eval $ac_compile) 2>&5
! 4816: ac_status=$?
! 4817: echo "$as_me:4817: \$? = $ac_status" >&5
! 4818: (exit $ac_status); } &&
! 4819: { ac_try='test -s conftest.$ac_objext'
! 4820: { (eval echo "$as_me:4820: \"$ac_try\"") >&5
! 4821: (eval $ac_try) 2>&5
! 4822: ac_status=$?
! 4823: echo "$as_me:4823: \$? = $ac_status" >&5
! 4824: (exit $ac_status); }; }; then
! 4825: ac_lo=$ac_mid; break
! 4826: else
! 4827: echo "$as_me: failed program was:" >&5
! 4828: cat conftest.$ac_ext >&5
! 4829: ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
! 4830: fi
! 4831: rm -f conftest.$ac_objext conftest.$ac_ext
! 4832: done
! 4833: fi
! 4834: rm -f conftest.$ac_objext conftest.$ac_ext
! 4835: # Binary search between lo and hi bounds.
! 4836: while test "x$ac_lo" != "x$ac_hi"; do
! 4837: ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
! 4838: cat >conftest.$ac_ext <<_ACEOF
! 4839: #line 4839 "configure"
! 4840: #include "confdefs.h"
! 4841: $ac_includes_default
! 4842: int
! 4843: main ()
! 4844: {
! 4845: int _array_ [1 - 2 * !((sizeof (unsigned long)) <= $ac_mid)]
! 4846: ;
! 4847: return 0;
! 4848: }
! 4849: _ACEOF
! 4850: rm -f conftest.$ac_objext
! 4851: if { (eval echo "$as_me:4851: \"$ac_compile\"") >&5
! 4852: (eval $ac_compile) 2>&5
! 4853: ac_status=$?
! 4854: echo "$as_me:4854: \$? = $ac_status" >&5
! 4855: (exit $ac_status); } &&
! 4856: { ac_try='test -s conftest.$ac_objext'
! 4857: { (eval echo "$as_me:4857: \"$ac_try\"") >&5
! 4858: (eval $ac_try) 2>&5
! 4859: ac_status=$?
! 4860: echo "$as_me:4860: \$? = $ac_status" >&5
! 4861: (exit $ac_status); }; }; then
! 4862: ac_hi=$ac_mid
! 4863: else
! 4864: echo "$as_me: failed program was:" >&5
! 4865: cat conftest.$ac_ext >&5
! 4866: ac_lo=`expr $ac_mid + 1`
! 4867: fi
! 4868: rm -f conftest.$ac_objext conftest.$ac_ext
! 4869: done
! 4870: ac_cv_sizeof_unsigned_long=$ac_lo
! 4871: else
! 4872: if test "$cross_compiling" = yes; then
! 4873: { { echo "$as_me:4873: error: cannot run test program while cross compiling" >&5
! 4874: echo "$as_me: error: cannot run test program while cross compiling" >&2;}
! 4875: { (exit 1); exit 1; }; }
! 4876: else
! 4877: cat >conftest.$ac_ext <<_ACEOF
! 4878: #line 4878 "configure"
! 4879: #include "confdefs.h"
! 4880: $ac_includes_default
! 4881: int
! 4882: main ()
! 4883: {
! 4884: FILE *f = fopen ("conftest.val", "w");
! 4885: if (!f)
! 4886: exit (1);
! 4887: fprintf (f, "%d", (sizeof (unsigned long)));
! 4888: fclose (f);
! 4889: ;
! 4890: return 0;
! 4891: }
! 4892: _ACEOF
! 4893: rm -f conftest$ac_exeext
! 4894: if { (eval echo "$as_me:4894: \"$ac_link\"") >&5
! 4895: (eval $ac_link) 2>&5
! 4896: ac_status=$?
! 4897: echo "$as_me:4897: \$? = $ac_status" >&5
! 4898: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4899: { (eval echo "$as_me:4899: \"$ac_try\"") >&5
! 4900: (eval $ac_try) 2>&5
! 4901: ac_status=$?
! 4902: echo "$as_me:4902: \$? = $ac_status" >&5
! 4903: (exit $ac_status); }; }; then
! 4904: ac_cv_sizeof_unsigned_long=`cat conftest.val`
! 4905: else
! 4906: echo "$as_me: program exited with status $ac_status" >&5
! 4907: echo "$as_me: failed program was:" >&5
! 4908: cat conftest.$ac_ext >&5
! 4909: fi
! 4910: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 4911: fi
! 4912: fi
! 4913: rm -f conftest.val
! 4914: else
! 4915: ac_cv_sizeof_unsigned_long=0
! 4916: fi
! 4917: fi
! 4918: echo "$as_me:4918: result: $ac_cv_sizeof_unsigned_long" >&5
! 4919: echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
! 4920: cat >>confdefs.h <<EOF
! 4921: #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
! 4922: EOF
! 4923:
! 4924: echo "$as_me:4924: checking for unsigned long long" >&5
! 4925: echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
! 4926: if test "${ac_cv_type_unsigned_long_long+set}" = set; then
! 4927: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4928: else
! 4929: cat >conftest.$ac_ext <<_ACEOF
! 4930: #line 4930 "configure"
! 4931: #include "confdefs.h"
! 4932: $ac_includes_default
! 4933: int
! 4934: main ()
! 4935: {
! 4936: if ((unsigned long long *) 0)
! 4937: return 0;
! 4938: if (sizeof (unsigned long long))
! 4939: return 0;
! 4940: ;
! 4941: return 0;
! 4942: }
! 4943: _ACEOF
! 4944: rm -f conftest.$ac_objext
! 4945: if { (eval echo "$as_me:4945: \"$ac_compile\"") >&5
! 4946: (eval $ac_compile) 2>&5
! 4947: ac_status=$?
! 4948: echo "$as_me:4948: \$? = $ac_status" >&5
! 4949: (exit $ac_status); } &&
! 4950: { ac_try='test -s conftest.$ac_objext'
! 4951: { (eval echo "$as_me:4951: \"$ac_try\"") >&5
! 4952: (eval $ac_try) 2>&5
! 4953: ac_status=$?
! 4954: echo "$as_me:4954: \$? = $ac_status" >&5
! 4955: (exit $ac_status); }; }; then
! 4956: ac_cv_type_unsigned_long_long=yes
! 4957: else
! 4958: echo "$as_me: failed program was:" >&5
! 4959: cat conftest.$ac_ext >&5
! 4960: ac_cv_type_unsigned_long_long=no
! 4961: fi
! 4962: rm -f conftest.$ac_objext conftest.$ac_ext
! 4963: fi
! 4964: echo "$as_me:4964: result: $ac_cv_type_unsigned_long_long" >&5
! 4965: echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
! 4966:
! 4967: echo "$as_me:4967: checking size of unsigned long long" >&5
! 4968: echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6
! 4969: if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
! 4970: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4971: else
! 4972: if test "$ac_cv_type_unsigned_long_long" = yes; then
! 4973: if test "$cross_compiling" = yes; then
! 4974: # Depending upon the size, compute the lo and hi bounds.
! 4975: cat >conftest.$ac_ext <<_ACEOF
! 4976: #line 4976 "configure"
! 4977: #include "confdefs.h"
! 4978: $ac_includes_default
! 4979: int
! 4980: main ()
! 4981: {
! 4982: int _array_ [1 - 2 * !((sizeof (unsigned long long)) >= 0)]
! 4983: ;
! 4984: return 0;
! 4985: }
! 4986: _ACEOF
! 4987: rm -f conftest.$ac_objext
! 4988: if { (eval echo "$as_me:4988: \"$ac_compile\"") >&5
! 4989: (eval $ac_compile) 2>&5
! 4990: ac_status=$?
! 4991: echo "$as_me:4991: \$? = $ac_status" >&5
! 4992: (exit $ac_status); } &&
! 4993: { ac_try='test -s conftest.$ac_objext'
! 4994: { (eval echo "$as_me:4994: \"$ac_try\"") >&5
! 4995: (eval $ac_try) 2>&5
! 4996: ac_status=$?
! 4997: echo "$as_me:4997: \$? = $ac_status" >&5
! 4998: (exit $ac_status); }; }; then
! 4999: ac_lo=0 ac_mid=0
! 5000: while :; do
! 5001: cat >conftest.$ac_ext <<_ACEOF
! 5002: #line 5002 "configure"
! 5003: #include "confdefs.h"
! 5004: $ac_includes_default
! 5005: int
! 5006: main ()
! 5007: {
! 5008: int _array_ [1 - 2 * !((sizeof (unsigned long long)) <= $ac_mid)]
! 5009: ;
! 5010: return 0;
! 5011: }
! 5012: _ACEOF
! 5013: rm -f conftest.$ac_objext
! 5014: if { (eval echo "$as_me:5014: \"$ac_compile\"") >&5
! 5015: (eval $ac_compile) 2>&5
! 5016: ac_status=$?
! 5017: echo "$as_me:5017: \$? = $ac_status" >&5
! 5018: (exit $ac_status); } &&
! 5019: { ac_try='test -s conftest.$ac_objext'
! 5020: { (eval echo "$as_me:5020: \"$ac_try\"") >&5
! 5021: (eval $ac_try) 2>&5
! 5022: ac_status=$?
! 5023: echo "$as_me:5023: \$? = $ac_status" >&5
! 5024: (exit $ac_status); }; }; then
! 5025: ac_hi=$ac_mid; break
! 5026: else
! 5027: echo "$as_me: failed program was:" >&5
! 5028: cat conftest.$ac_ext >&5
! 5029: ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
! 5030: fi
! 5031: rm -f conftest.$ac_objext conftest.$ac_ext
! 5032: done
! 5033: else
! 5034: echo "$as_me: failed program was:" >&5
! 5035: cat conftest.$ac_ext >&5
! 5036: ac_hi=-1 ac_mid=-1
! 5037: while :; do
! 5038: cat >conftest.$ac_ext <<_ACEOF
! 5039: #line 5039 "configure"
! 5040: #include "confdefs.h"
! 5041: $ac_includes_default
! 5042: int
! 5043: main ()
! 5044: {
! 5045: int _array_ [1 - 2 * !((sizeof (unsigned long long)) >= $ac_mid)]
! 5046: ;
! 5047: return 0;
! 5048: }
! 5049: _ACEOF
! 5050: rm -f conftest.$ac_objext
! 5051: if { (eval echo "$as_me:5051: \"$ac_compile\"") >&5
! 5052: (eval $ac_compile) 2>&5
! 5053: ac_status=$?
! 5054: echo "$as_me:5054: \$? = $ac_status" >&5
! 5055: (exit $ac_status); } &&
! 5056: { ac_try='test -s conftest.$ac_objext'
! 5057: { (eval echo "$as_me:5057: \"$ac_try\"") >&5
! 5058: (eval $ac_try) 2>&5
! 5059: ac_status=$?
! 5060: echo "$as_me:5060: \$? = $ac_status" >&5
! 5061: (exit $ac_status); }; }; then
! 5062: ac_lo=$ac_mid; break
! 5063: else
! 5064: echo "$as_me: failed program was:" >&5
! 5065: cat conftest.$ac_ext >&5
! 5066: ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
! 5067: fi
! 5068: rm -f conftest.$ac_objext conftest.$ac_ext
! 5069: done
! 5070: fi
! 5071: rm -f conftest.$ac_objext conftest.$ac_ext
! 5072: # Binary search between lo and hi bounds.
! 5073: while test "x$ac_lo" != "x$ac_hi"; do
! 5074: ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
! 5075: cat >conftest.$ac_ext <<_ACEOF
! 5076: #line 5076 "configure"
! 5077: #include "confdefs.h"
! 5078: $ac_includes_default
! 5079: int
! 5080: main ()
! 5081: {
! 5082: int _array_ [1 - 2 * !((sizeof (unsigned long long)) <= $ac_mid)]
! 5083: ;
! 5084: return 0;
! 5085: }
! 5086: _ACEOF
! 5087: rm -f conftest.$ac_objext
! 5088: if { (eval echo "$as_me:5088: \"$ac_compile\"") >&5
! 5089: (eval $ac_compile) 2>&5
! 5090: ac_status=$?
! 5091: echo "$as_me:5091: \$? = $ac_status" >&5
! 5092: (exit $ac_status); } &&
! 5093: { ac_try='test -s conftest.$ac_objext'
! 5094: { (eval echo "$as_me:5094: \"$ac_try\"") >&5
! 5095: (eval $ac_try) 2>&5
! 5096: ac_status=$?
! 5097: echo "$as_me:5097: \$? = $ac_status" >&5
! 5098: (exit $ac_status); }; }; then
! 5099: ac_hi=$ac_mid
! 5100: else
! 5101: echo "$as_me: failed program was:" >&5
! 5102: cat conftest.$ac_ext >&5
! 5103: ac_lo=`expr $ac_mid + 1`
! 5104: fi
! 5105: rm -f conftest.$ac_objext conftest.$ac_ext
! 5106: done
! 5107: ac_cv_sizeof_unsigned_long_long=$ac_lo
! 5108: else
! 5109: if test "$cross_compiling" = yes; then
! 5110: { { echo "$as_me:5110: error: cannot run test program while cross compiling" >&5
! 5111: echo "$as_me: error: cannot run test program while cross compiling" >&2;}
! 5112: { (exit 1); exit 1; }; }
! 5113: else
! 5114: cat >conftest.$ac_ext <<_ACEOF
! 5115: #line 5115 "configure"
! 5116: #include "confdefs.h"
! 5117: $ac_includes_default
! 5118: int
! 5119: main ()
! 5120: {
! 5121: FILE *f = fopen ("conftest.val", "w");
! 5122: if (!f)
! 5123: exit (1);
! 5124: fprintf (f, "%d", (sizeof (unsigned long long)));
! 5125: fclose (f);
! 5126: ;
! 5127: return 0;
! 5128: }
! 5129: _ACEOF
! 5130: rm -f conftest$ac_exeext
! 5131: if { (eval echo "$as_me:5131: \"$ac_link\"") >&5
! 5132: (eval $ac_link) 2>&5
! 5133: ac_status=$?
! 5134: echo "$as_me:5134: \$? = $ac_status" >&5
! 5135: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 5136: { (eval echo "$as_me:5136: \"$ac_try\"") >&5
! 5137: (eval $ac_try) 2>&5
! 5138: ac_status=$?
! 5139: echo "$as_me:5139: \$? = $ac_status" >&5
! 5140: (exit $ac_status); }; }; then
! 5141: ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
! 5142: else
! 5143: echo "$as_me: program exited with status $ac_status" >&5
! 5144: echo "$as_me: failed program was:" >&5
! 5145: cat conftest.$ac_ext >&5
! 5146: fi
! 5147: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 5148: fi
! 5149: fi
! 5150: rm -f conftest.val
! 5151: else
! 5152: ac_cv_sizeof_unsigned_long_long=0
! 5153: fi
! 5154: fi
! 5155: echo "$as_me:5155: result: $ac_cv_sizeof_unsigned_long_long" >&5
! 5156: echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6
! 5157: cat >>confdefs.h <<EOF
! 5158: #define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
! 5159: EOF
1.1 root 5160:
1.1.1.3 ! root 5161: for ac_func in snprintf
1.1 root 5162: do
1.1.1.3 ! root 5163: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 5164: echo "$as_me:5164: checking for $ac_func" >&5
! 5165: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 5166: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 5167: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 5168: else
1.1.1.3 ! root 5169: cat >conftest.$ac_ext <<_ACEOF
! 5170: #line 5170 "configure"
1.1 root 5171: #include "confdefs.h"
5172: /* System header to define __stub macros and hopefully few prototypes,
1.1.1.3 ! root 5173: which can conflict with char $ac_func (); below. */
1.1 root 5174: #include <assert.h>
5175: /* Override any gcc2 internal prototype to avoid an error. */
1.1.1.3 ! root 5176: #ifdef __cplusplus
! 5177: extern "C"
! 5178: #endif
1.1 root 5179: /* We use char because int might match the return type of a gcc2
1.1.1.3 ! root 5180: builtin and then its argument prototype would still apply. */
! 5181: char $ac_func ();
! 5182: char (*f) ();
1.1 root 5183:
1.1.1.3 ! root 5184: int
! 5185: main ()
! 5186: {
1.1 root 5187: /* The GNU C library defines this for functions which it implements
5188: to always fail with ENOSYS. Some functions are actually named
5189: something starting with __ and the normal name is an alias. */
5190: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5191: choke me
5192: #else
1.1.1.3 ! root 5193: f = $ac_func;
1.1 root 5194: #endif
5195:
1.1.1.3 ! root 5196: ;
! 5197: return 0;
! 5198: }
! 5199: _ACEOF
! 5200: rm -f conftest.$ac_objext conftest$ac_exeext
! 5201: if { (eval echo "$as_me:5201: \"$ac_link\"") >&5
! 5202: (eval $ac_link) 2>&5
! 5203: ac_status=$?
! 5204: echo "$as_me:5204: \$? = $ac_status" >&5
! 5205: (exit $ac_status); } &&
! 5206: { ac_try='test -s conftest$ac_exeext'
! 5207: { (eval echo "$as_me:5207: \"$ac_try\"") >&5
! 5208: (eval $ac_try) 2>&5
! 5209: ac_status=$?
! 5210: echo "$as_me:5210: \$? = $ac_status" >&5
! 5211: (exit $ac_status); }; }; then
! 5212: eval "$as_ac_var=yes"
! 5213: else
! 5214: echo "$as_me: failed program was:" >&5
! 5215: cat conftest.$ac_ext >&5
! 5216: eval "$as_ac_var=no"
! 5217: fi
! 5218: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 5219: fi
! 5220: echo "$as_me:5220: result: `eval echo '${'$as_ac_var'}'`" >&5
! 5221: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 5222: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 5223: cat >>confdefs.h <<EOF
! 5224: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1 root 5225: EOF
5226:
5227: fi
5228: done
5229:
1.1.1.3 ! root 5230: for ac_header in tcl8.0.h
1.1 root 5231: do
1.1.1.3 ! root 5232: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 5233: echo "$as_me:5233: checking for $ac_header" >&5
! 5234: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 5235: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 5236: echo $ECHO_N "(cached) $ECHO_C" >&6
! 5237: else
! 5238: cat >conftest.$ac_ext <<_ACEOF
! 5239: #line 5239 "configure"
! 5240: #include "confdefs.h"
! 5241: #include <$ac_header>
! 5242: _ACEOF
! 5243: if { (eval echo "$as_me:5243: \"$ac_cpp conftest.$ac_ext\"") >&5
! 5244: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 5245: ac_status=$?
! 5246: egrep -v '^ *\+' conftest.er1 >conftest.err
! 5247: rm -f conftest.er1
! 5248: cat conftest.err >&5
! 5249: echo "$as_me:5249: \$? = $ac_status" >&5
! 5250: (exit $ac_status); } >/dev/null; then
! 5251: if test -s conftest.err; then
! 5252: ac_cpp_err=$ac_c_preproc_warn_flag
! 5253: else
! 5254: ac_cpp_err=
! 5255: fi
! 5256: else
! 5257: ac_cpp_err=yes
! 5258: fi
! 5259: if test -z "$ac_cpp_err"; then
! 5260: eval "$as_ac_Header=yes"
1.1 root 5261: else
1.1.1.3 ! root 5262: echo "$as_me: failed program was:" >&5
1.1 root 5263: cat conftest.$ac_ext >&5
1.1.1.3 ! root 5264: eval "$as_ac_Header=no"
1.1 root 5265: fi
1.1.1.3 ! root 5266: rm -f conftest.err conftest.$ac_ext
1.1 root 5267: fi
1.1.1.3 ! root 5268: echo "$as_me:5268: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 5269: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 5270: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 5271: cat >>confdefs.h <<EOF
! 5272: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1 root 5273: EOF
1.1.1.3 ! root 5274:
1.1 root 5275: fi
5276: done
5277:
1.1.1.3 ! root 5278: for ac_header in tk8.0.h
1.1 root 5279: do
1.1.1.3 ! root 5280: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 5281: echo "$as_me:5281: checking for $ac_header" >&5
! 5282: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 5283: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 5284: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 root 5285: else
1.1.1.3 ! root 5286: cat >conftest.$ac_ext <<_ACEOF
! 5287: #line 5287 "configure"
1.1 root 5288: #include "confdefs.h"
1.1.1.3 ! root 5289: #include <$ac_header>
! 5290: _ACEOF
! 5291: if { (eval echo "$as_me:5291: \"$ac_cpp conftest.$ac_ext\"") >&5
! 5292: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 5293: ac_status=$?
! 5294: egrep -v '^ *\+' conftest.er1 >conftest.err
! 5295: rm -f conftest.er1
! 5296: cat conftest.err >&5
! 5297: echo "$as_me:5297: \$? = $ac_status" >&5
! 5298: (exit $ac_status); } >/dev/null; then
! 5299: if test -s conftest.err; then
! 5300: ac_cpp_err=$ac_c_preproc_warn_flag
! 5301: else
! 5302: ac_cpp_err=
! 5303: fi
1.1 root 5304: else
1.1.1.3 ! root 5305: ac_cpp_err=yes
! 5306: fi
! 5307: if test -z "$ac_cpp_err"; then
! 5308: eval "$as_ac_Header=yes"
! 5309: else
! 5310: echo "$as_me: failed program was:" >&5
1.1 root 5311: cat conftest.$ac_ext >&5
1.1.1.3 ! root 5312: eval "$as_ac_Header=no"
1.1 root 5313: fi
1.1.1.3 ! root 5314: rm -f conftest.err conftest.$ac_ext
1.1 root 5315: fi
1.1.1.3 ! root 5316: echo "$as_me:5316: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 5317: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 5318: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 5319: cat >>confdefs.h <<EOF
! 5320: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1 root 5321: EOF
1.1.1.3 ! root 5322:
1.1 root 5323: fi
5324: done
5325:
1.1.1.3 ! root 5326: 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"
! 5327: cat >confcache <<\_ACEOF
1.1 root 5328: # This file is a shell script that caches the results of configure
5329: # tests run on this system so they can be shared between configure
1.1.1.3 ! root 5330: # scripts and configure runs, see configure's option --config-cache.
! 5331: # It is not useful on other systems. If it contains results you don't
! 5332: # want to keep, you may remove or edit it.
1.1 root 5333: #
1.1.1.3 ! root 5334: # config.status only pays attention to the cache file if you give it
! 5335: # the --recheck option to rerun configure.
1.1 root 5336: #
1.1.1.3 ! root 5337: # `ac_cv_env_foo' variables (set or unset) will be overriden when
! 5338: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 5339: # following values.
! 5340:
! 5341: _ACEOF
! 5342:
1.1 root 5343: # The following way of writing the cache mishandles newlines in values,
5344: # but we know of no workaround that is simple, portable, and efficient.
5345: # So, don't put newlines in cache variables' values.
5346: # Ultrix sh set writes to stderr and can't be redirected directly,
5347: # and sets the high bit in the cache file unless we assign to the vars.
1.1.1.3 ! root 5348: {
! 5349: (set) 2>&1 |
! 5350: case `(ac_space=' '; set | grep ac_space) 2>&1` in
! 5351: *ac_space=\ *)
! 5352: # `set' does not quote correctly, so add quotes (double-quote
! 5353: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 5354: sed -n \
! 5355: "s/'/'\\\\''/g;
! 5356: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 5357: ;;
! 5358: *)
! 5359: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 5360: sed -n \
! 5361: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 5362: ;;
! 5363: esac;
! 5364: } |
! 5365: sed '
! 5366: t clear
! 5367: : clear
! 5368: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 5369: t end
! 5370: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 5371: : end' >>confcache
! 5372: if cmp -s $cache_file confcache; then :; else
1.1 root 5373: if test -w $cache_file; then
1.1.1.3 ! root 5374: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
! 5375: cat confcache >$cache_file
1.1 root 5376: else
5377: echo "not updating unwritable cache $cache_file"
5378: fi
5379: fi
5380: rm -f confcache
5381:
5382: test "x$prefix" = xNONE && prefix=$ac_default_prefix
5383: # Let make expand exec_prefix.
5384: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5385:
1.1.1.3 ! root 5386: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 5387: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 5388: # trailing colons and then remove the whole line if VPATH becomes empty
! 5389: # (actually we leave an empty line to preserve line numbers).
1.1 root 5390: if test "x$srcdir" = x.; then
1.1.1.3 ! root 5391: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 5392: s/:*\$(srcdir):*/:/;
! 5393: s/:*\${srcdir}:*/:/;
! 5394: s/:*@srcdir@:*/:/;
! 5395: s/^\([^=]*=[ ]*\):*/\1/;
! 5396: s/:*$//;
! 5397: s/^[^=]*=[ ]*$//;
! 5398: }'
1.1 root 5399: fi
5400:
5401: DEFS=-DHAVE_CONFIG_H
5402:
5403: : ${CONFIG_STATUS=./config.status}
1.1.1.3 ! root 5404: ac_clean_files_save=$ac_clean_files
! 5405: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 5406: { echo "$as_me:5406: creating $CONFIG_STATUS" >&5
! 5407: echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 5408: cat >$CONFIG_STATUS <<_ACEOF
! 5409: #! $SHELL
1.1 root 5410: # Generated automatically by configure.
5411: # Run this file to recreate the current configuration.
5412: # Compiler output produced by configure, useful for debugging
1.1.1.3 ! root 5413: # configure, is in config.log if it exists.
1.1 root 5414:
1.1.1.3 ! root 5415: debug=false
! 5416: SHELL=\${CONFIG_SHELL-$SHELL}
! 5417: ac_cs_invocation="\$0 \$@"
! 5418:
! 5419: _ACEOF
! 5420:
! 5421: cat >>$CONFIG_STATUS <<\_ACEOF
! 5422: # Be Bourne compatible
! 5423: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 5424: emulate sh
! 5425: NULLCMD=:
! 5426: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 5427: set -o posix
! 5428: fi
! 5429:
! 5430: # Name of the executable.
! 5431: as_me=`echo "$0" |sed 's,.*[\\/],,'`
! 5432:
! 5433: if expr a : '\(a\)' >/dev/null 2>&1; then
! 5434: as_expr=expr
! 5435: else
! 5436: as_expr=false
! 5437: fi
! 5438:
! 5439: rm -f conf$$ conf$$.exe conf$$.file
! 5440: echo >conf$$.file
! 5441: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 5442: # We could just check for DJGPP; but this test a) works b) is more generic
! 5443: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 5444: if test -f conf$$.exe; then
! 5445: # Don't use ln at all; we don't have any links
! 5446: as_ln_s='cp -p'
! 5447: else
! 5448: as_ln_s='ln -s'
! 5449: fi
! 5450: elif ln conf$$.file conf$$ 2>/dev/null; then
! 5451: as_ln_s=ln
! 5452: else
! 5453: as_ln_s='cp -p'
! 5454: fi
! 5455: rm -f conf$$ conf$$.exe conf$$.file
! 5456:
! 5457: as_executable_p="test -f"
! 5458:
! 5459: # Support unset when possible.
! 5460: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
! 5461: as_unset=unset
! 5462: else
! 5463: as_unset=false
! 5464: fi
! 5465:
! 5466: # NLS nuisances.
! 5467: $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
! 5468: $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
! 5469: $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
! 5470: $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
! 5471: $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
! 5472: $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
! 5473: $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
! 5474: $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
! 5475:
! 5476: # IFS
! 5477: # We need space, tab and new line, in precisely that order.
! 5478: as_nl='
! 5479: '
! 5480: IFS=" $as_nl"
! 5481:
! 5482: # CDPATH.
! 5483: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
! 5484:
! 5485: exec 6>&1
! 5486:
! 5487: _ACEOF
! 5488:
! 5489: # Files that config.status was made for.
! 5490: if test -n "$ac_config_files"; then
! 5491: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
! 5492: fi
! 5493:
! 5494: if test -n "$ac_config_headers"; then
! 5495: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
! 5496: fi
! 5497:
! 5498: if test -n "$ac_config_links"; then
! 5499: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
! 5500: fi
! 5501:
! 5502: if test -n "$ac_config_commands"; then
! 5503: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
! 5504: fi
! 5505:
! 5506: cat >>$CONFIG_STATUS <<\EOF
! 5507:
! 5508: ac_cs_usage="\
! 5509: \`$as_me' instantiates files from templates according to the
! 5510: current configuration.
! 5511:
! 5512: Usage: $0 [OPTIONS] [FILE]...
! 5513:
! 5514: -h, --help print this help, then exit
! 5515: -V, --version print version number, then exit
! 5516: -d, --debug don't remove temporary files
! 5517: --recheck update $as_me by reconfiguring in the same conditions
! 5518: --file=FILE[:TEMPLATE]
! 5519: instantiate the configuration file FILE
! 5520: --header=FILE[:TEMPLATE]
! 5521: instantiate the configuration header FILE
! 5522:
! 5523: Configuration files:
! 5524: $config_files
! 5525:
! 5526: Configuration headers:
! 5527: $config_headers
! 5528:
! 5529: Configuration commands:
! 5530: $config_commands
! 5531:
! 5532: Report bugs to <[email protected]>."
! 5533: EOF
! 5534:
! 5535: cat >>$CONFIG_STATUS <<EOF
! 5536: ac_cs_version="\\
! 5537: config.status
! 5538: configured by $0, generated by GNU Autoconf 2.52,
! 5539: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
! 5540:
! 5541: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
! 5542: Free Software Foundation, Inc.
! 5543: This config.status script is free software; the Free Software Foundation
! 5544: gives unlimited permission to copy, distribute and modify it."
! 5545: srcdir=$srcdir
! 5546: INSTALL="$INSTALL"
! 5547: EOF
! 5548:
! 5549: cat >>$CONFIG_STATUS <<\EOF
! 5550: # If no file are specified by the user, then we need to provide default
! 5551: # value. By we need to know if files were specified by the user.
! 5552: ac_need_defaults=:
! 5553: while test $# != 0
1.1 root 5554: do
1.1.1.3 ! root 5555: case $1 in
! 5556: --*=*)
! 5557: ac_option=`expr "x$1" : 'x\([^=]*\)='`
! 5558: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
! 5559: shift
! 5560: set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
! 5561: shift
! 5562: ;;
! 5563: -*);;
! 5564: *) # This is not an option, so the user has probably given explicit
! 5565: # arguments.
! 5566: ac_need_defaults=false;;
! 5567: esac
! 5568:
! 5569: case $1 in
! 5570: # Handling of the options.
! 5571: EOF
! 5572: cat >>$CONFIG_STATUS <<EOF
1.1 root 5573: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.1.1.3 ! root 5574: echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
! 5575: exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
! 5576: EOF
! 5577: cat >>$CONFIG_STATUS <<\EOF
! 5578: --version | --vers* | -V )
! 5579: echo "$ac_cs_version"; exit 0 ;;
! 5580: --he | --h)
! 5581: # Conflict between --help and --header
! 5582: { { echo "$as_me:5582: error: ambiguous option: $1
! 5583: Try \`$0 --help' for more information." >&5
! 5584: echo "$as_me: error: ambiguous option: $1
! 5585: Try \`$0 --help' for more information." >&2;}
! 5586: { (exit 1); exit 1; }; };;
! 5587: --help | --hel | -h )
! 5588: echo "$ac_cs_usage"; exit 0 ;;
! 5589: --debug | --d* | -d )
! 5590: debug=: ;;
! 5591: --file | --fil | --fi | --f )
! 5592: shift
! 5593: CONFIG_FILES="$CONFIG_FILES $1"
! 5594: ac_need_defaults=false;;
! 5595: --header | --heade | --head | --hea )
! 5596: shift
! 5597: CONFIG_HEADERS="$CONFIG_HEADERS $1"
! 5598: ac_need_defaults=false;;
! 5599:
! 5600: # This is an error.
! 5601: -*) { { echo "$as_me:5601: error: unrecognized option: $1
! 5602: Try \`$0 --help' for more information." >&5
! 5603: echo "$as_me: error: unrecognized option: $1
! 5604: Try \`$0 --help' for more information." >&2;}
! 5605: { (exit 1); exit 1; }; } ;;
! 5606:
! 5607: *) ac_config_targets="$ac_config_targets $1" ;;
! 5608:
1.1 root 5609: esac
1.1.1.3 ! root 5610: shift
1.1 root 5611: done
5612:
1.1.1.3 ! root 5613: exec 5>>config.log
! 5614: cat >&5 << _ACEOF
1.1 root 5615:
1.1.1.3 ! root 5616: ## ----------------------- ##
! 5617: ## Running config.status. ##
! 5618: ## ----------------------- ##
1.1 root 5619:
1.1.1.3 ! root 5620: This file was extended by $as_me 2.52, executed with
! 5621: CONFIG_FILES = $CONFIG_FILES
! 5622: CONFIG_HEADERS = $CONFIG_HEADERS
! 5623: CONFIG_LINKS = $CONFIG_LINKS
! 5624: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 5625: > $ac_cs_invocation
! 5626: on `(hostname || uname -n) 2>/dev/null | sed 1q`
1.1 root 5627:
1.1.1.3 ! root 5628: _ACEOF
1.1 root 5629: EOF
5630:
1.1.1.3 ! root 5631: cat >>$CONFIG_STATUS <<EOF
! 5632: #
! 5633: # INIT-COMMANDS section.
! 5634: #
1.1 root 5635:
1.1.1.3 ! root 5636: AMDEP_TRUE="$AMDEP_TRUE"
! 5637: ac_aux_dir="$ac_aux_dir"
! 5638:
! 5639: EOF
! 5640:
! 5641: cat >>$CONFIG_STATUS <<\EOF
! 5642: for ac_config_target in $ac_config_targets
! 5643: do
! 5644: case "$ac_config_target" in
! 5645: # Handling of arguments.
! 5646: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 5647: "cpu68k/Makefile" ) CONFIG_FILES="$CONFIG_FILES cpu68k/Makefile" ;;
! 5648: "raze/Makefile" ) CONFIG_FILES="$CONFIG_FILES raze/Makefile" ;;
! 5649: "cmz80/Makefile" ) CONFIG_FILES="$CONFIG_FILES cmz80/Makefile" ;;
! 5650: "ym2612/Makefile" ) CONFIG_FILES="$CONFIG_FILES ym2612/Makefile" ;;
! 5651: "main/Makefile" ) CONFIG_FILES="$CONFIG_FILES main/Makefile" ;;
! 5652: "sn76496/Makefile" ) CONFIG_FILES="$CONFIG_FILES sn76496/Makefile" ;;
! 5653: "glade/Makefile" ) CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;;
! 5654: "gtkopts/Makefile" ) CONFIG_FILES="$CONFIG_FILES gtkopts/Makefile" ;;
! 5655: "raze/raze.asm" ) CONFIG_FILES="$CONFIG_FILES raze/raze.asm" ;;
! 5656: "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
! 5657: "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
! 5658: *) { { echo "$as_me:5658: error: invalid argument: $ac_config_target" >&5
! 5659: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 5660: { (exit 1); exit 1; }; };;
! 5661: esac
1.1 root 5662: done
1.1.1.3 ! root 5663:
! 5664: # If the user did not use the arguments to specify the items to instantiate,
! 5665: # then the envvar interface is used. Set only those that are not.
! 5666: # We use the long form for the default assignment because of an extremely
! 5667: # bizarre bug on SunOS 4.1.3.
! 5668: if $ac_need_defaults; then
! 5669: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 5670: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 5671: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
1.1 root 5672: fi
1.1.1.3 ! root 5673:
! 5674: # Create a temporary directory, and hook for its removal unless debugging.
! 5675: $debug ||
! 5676: {
! 5677: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! 5678: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 5679: }
! 5680:
! 5681: # Create a (secure) tmp directory for tmp files.
! 5682: : ${TMPDIR=/tmp}
! 5683: {
! 5684: tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
! 5685: test -n "$tmp" && test -d "$tmp"
! 5686: } ||
! 5687: {
! 5688: tmp=$TMPDIR/cs$$-$RANDOM
! 5689: (umask 077 && mkdir $tmp)
! 5690: } ||
! 5691: {
! 5692: echo "$me: cannot create a temporary directory in $TMPDIR" >&2
! 5693: { (exit 1); exit 1; }
! 5694: }
! 5695:
1.1 root 5696: EOF
5697:
1.1.1.3 ! root 5698: cat >>$CONFIG_STATUS <<EOF
! 5699:
! 5700: #
! 5701: # CONFIG_FILES section.
! 5702: #
! 5703:
! 5704: # No need to generate the scripts if there are no CONFIG_FILES.
! 5705: # This happens for instance when ./config.status config.h
! 5706: if test -n "\$CONFIG_FILES"; then
! 5707: # Protect against being on the right side of a sed subst in config.status.
! 5708: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
! 5709: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
! 5710: s,@SHELL@,$SHELL,;t t
! 5711: s,@exec_prefix@,$exec_prefix,;t t
! 5712: s,@prefix@,$prefix,;t t
! 5713: s,@program_transform_name@,$program_transform_name,;t t
! 5714: s,@bindir@,$bindir,;t t
! 5715: s,@sbindir@,$sbindir,;t t
! 5716: s,@libexecdir@,$libexecdir,;t t
! 5717: s,@datadir@,$datadir,;t t
! 5718: s,@sysconfdir@,$sysconfdir,;t t
! 5719: s,@sharedstatedir@,$sharedstatedir,;t t
! 5720: s,@localstatedir@,$localstatedir,;t t
! 5721: s,@libdir@,$libdir,;t t
! 5722: s,@includedir@,$includedir,;t t
! 5723: s,@oldincludedir@,$oldincludedir,;t t
! 5724: s,@infodir@,$infodir,;t t
! 5725: s,@mandir@,$mandir,;t t
! 5726: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
! 5727: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
! 5728: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
! 5729: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
! 5730: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
! 5731: s,@build_alias@,$build_alias,;t t
! 5732: s,@host_alias@,$host_alias,;t t
! 5733: s,@target_alias@,$target_alias,;t t
! 5734: s,@ECHO_C@,$ECHO_C,;t t
! 5735: s,@ECHO_N@,$ECHO_N,;t t
! 5736: s,@ECHO_T@,$ECHO_T,;t t
! 5737: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
! 5738: s,@DEFS@,$DEFS,;t t
! 5739: s,@LIBS@,$LIBS,;t t
! 5740: s,@build@,$build,;t t
! 5741: s,@build_cpu@,$build_cpu,;t t
! 5742: s,@build_vendor@,$build_vendor,;t t
! 5743: s,@build_os@,$build_os,;t t
! 5744: s,@host@,$host,;t t
! 5745: s,@host_cpu@,$host_cpu,;t t
! 5746: s,@host_vendor@,$host_vendor,;t t
! 5747: s,@host_os@,$host_os,;t t
! 5748: s,@target@,$target,;t t
! 5749: s,@target_cpu@,$target_cpu,;t t
! 5750: s,@target_vendor@,$target_vendor,;t t
! 5751: s,@target_os@,$target_os,;t t
! 5752: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
! 5753: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
! 5754: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
! 5755: s,@PACKAGE@,$PACKAGE,;t t
! 5756: s,@VERSION@,$VERSION,;t t
! 5757: s,@EXEEXT@,$EXEEXT,;t t
! 5758: s,@OBJEXT@,$OBJEXT,;t t
! 5759: s,@ACLOCAL@,$ACLOCAL,;t t
! 5760: s,@AUTOCONF@,$AUTOCONF,;t t
! 5761: s,@AUTOMAKE@,$AUTOMAKE,;t t
! 5762: s,@AUTOHEADER@,$AUTOHEADER,;t t
! 5763: s,@MAKEINFO@,$MAKEINFO,;t t
! 5764: s,@AMTAR@,$AMTAR,;t t
! 5765: s,@install_sh@,$install_sh,;t t
! 5766: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
! 5767: s,@AWK@,$AWK,;t t
! 5768: s,@SET_MAKE@,$SET_MAKE,;t t
! 5769: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
! 5770: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
! 5771: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
! 5772: s,@DEPDIR@,$DEPDIR,;t t
! 5773: s,@PROGRAM@,$PROGRAM,;t t
! 5774: s,@ASMOUTPUT@,$ASMOUTPUT,;t t
! 5775: s,@UNDERSCORE@,$UNDERSCORE,;t t
! 5776: s,@MY_LIBS@,$MY_LIBS,;t t
! 5777: s,@MY_SUBDIRS@,$MY_SUBDIRS,;t t
! 5778: s,@MY_DIST_SUBDIRS@,$MY_DIST_SUBDIRS,;t t
! 5779: s,@CC@,$CC,;t t
! 5780: s,@CFLAGS@,$CFLAGS,;t t
! 5781: s,@LDFLAGS@,$LDFLAGS,;t t
! 5782: s,@CPPFLAGS@,$CPPFLAGS,;t t
! 5783: s,@ac_ct_CC@,$ac_ct_CC,;t t
! 5784: s,@am__include@,$am__include,;t t
! 5785: s,@am__quote@,$am__quote,;t t
! 5786: s,@CCDEPMODE@,$CCDEPMODE,;t t
! 5787: s,@RANLIB@,$RANLIB,;t t
! 5788: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
! 5789: s,@CPP@,$CPP,;t t
! 5790: s,@GTK_CONFIG@,$GTK_CONFIG,;t t
! 5791: s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
! 5792: s,@GTK_LIBS@,$GTK_LIBS,;t t
! 5793: s,@SDL_CONFIG@,$SDL_CONFIG,;t t
! 5794: s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
! 5795: s,@SDL_LIBS@,$SDL_LIBS,;t t
! 5796: CEOF
! 5797:
! 5798: EOF
! 5799:
! 5800: cat >>$CONFIG_STATUS <<\EOF
! 5801: # Split the substitutions into bite-sized pieces for seds with
! 5802: # small command number limits, like on Digital OSF/1 and HP-UX.
! 5803: ac_max_sed_lines=48
! 5804: ac_sed_frag=1 # Number of current file.
! 5805: ac_beg=1 # First line for current file.
! 5806: ac_end=$ac_max_sed_lines # Line after last line for current file.
! 5807: ac_more_lines=:
! 5808: ac_sed_cmds=
! 5809: while $ac_more_lines; do
! 5810: if test $ac_beg -gt 1; then
! 5811: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 5812: else
! 5813: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 5814: fi
! 5815: if test ! -s $tmp/subs.frag; then
! 5816: ac_more_lines=false
! 5817: else
! 5818: # The purpose of the label and of the branching condition is to
! 5819: # speed up the sed processing (if there are no `@' at all, there
! 5820: # is no need to browse any of the substitutions).
! 5821: # These are the two extra sed commands mentioned above.
! 5822: (echo ':t
! 5823: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
! 5824: if test -z "$ac_sed_cmds"; then
! 5825: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
! 5826: else
! 5827: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
! 5828: fi
! 5829: ac_sed_frag=`expr $ac_sed_frag + 1`
! 5830: ac_beg=$ac_end
! 5831: ac_end=`expr $ac_end + $ac_max_sed_lines`
! 5832: fi
! 5833: done
! 5834: if test -z "$ac_sed_cmds"; then
! 5835: ac_sed_cmds=cat
! 5836: fi
! 5837: fi # test -n "$CONFIG_FILES"
1.1 root 5838:
5839: EOF
1.1.1.3 ! root 5840: cat >>$CONFIG_STATUS <<\EOF
! 5841: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1 root 5842: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.1.1.3 ! root 5843: case $ac_file in
! 5844: - | *:- | *:-:* ) # input from stdin
! 5845: cat >$tmp/stdin
! 5846: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 5847: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 5848: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 5849: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 5850: * ) ac_file_in=$ac_file.in ;;
1.1 root 5851: esac
5852:
1.1.1.3 ! root 5853: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! 5854: ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 5855: X"$ac_file" : 'X\(//\)[^/]' \| \
! 5856: X"$ac_file" : 'X\(//\)$' \| \
! 5857: X"$ac_file" : 'X\(/\)' \| \
! 5858: . : '\(.\)' 2>/dev/null ||
! 5859: echo X"$ac_file" |
! 5860: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 5861: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 5862: /^X\(\/\/\)$/{ s//\1/; q; }
! 5863: /^X\(\/\).*/{ s//\1/; q; }
! 5864: s/.*/./; q'`
1.1 root 5865: if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1.1.1.3 ! root 5866: { case "$ac_dir" in
! 5867: [\\/]* | ?:[\\/]* ) as_incr_dir=;;
! 5868: *) as_incr_dir=.;;
! 5869: esac
! 5870: as_dummy="$ac_dir"
! 5871: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
! 5872: case $as_mkdir_dir in
! 5873: # Skip DOS drivespec
! 5874: ?:) as_incr_dir=$as_mkdir_dir ;;
! 5875: *)
! 5876: as_incr_dir=$as_incr_dir/$as_mkdir_dir
! 5877: test -d "$as_incr_dir" || mkdir "$as_incr_dir"
! 5878: ;;
! 5879: esac
! 5880: done; }
! 5881:
! 5882: ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
1.1 root 5883: # A "../" for each directory in $ac_dir_suffix.
1.1.1.3 ! root 5884: ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
1.1 root 5885: else
5886: ac_dir_suffix= ac_dots=
5887: fi
5888:
1.1.1.3 ! root 5889: case $srcdir in
! 5890: .) ac_srcdir=.
! 5891: if test -z "$ac_dots"; then
! 5892: ac_top_srcdir=.
! 5893: else
! 5894: ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
! 5895: fi ;;
! 5896: [\\/]* | ?:[\\/]* )
! 5897: ac_srcdir=$srcdir$ac_dir_suffix;
! 5898: ac_top_srcdir=$srcdir ;;
1.1 root 5899: *) # Relative path.
1.1.1.3 ! root 5900: ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
! 5901: ac_top_srcdir=$ac_dots$srcdir ;;
1.1 root 5902: esac
5903:
1.1.1.3 ! root 5904: case $INSTALL in
! 5905: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 5906: *) ac_INSTALL=$ac_dots$INSTALL ;;
! 5907: esac
! 5908:
! 5909: if test x"$ac_file" != x-; then
! 5910: { echo "$as_me:5910: creating $ac_file" >&5
! 5911: echo "$as_me: creating $ac_file" >&6;}
! 5912: rm -f "$ac_file"
! 5913: fi
! 5914: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 5915: # use $as_me), people would be surprised to read:
! 5916: # /* config.h. Generated automatically by config.status. */
! 5917: configure_input="Generated automatically from `echo $ac_file_in |
! 5918: sed 's,.*/,,'` by configure."
! 5919:
! 5920: # First look for the input files in the build tree, otherwise in the
! 5921: # src tree.
! 5922: ac_file_inputs=`IFS=:
! 5923: for f in $ac_file_in; do
! 5924: case $f in
! 5925: -) echo $tmp/stdin ;;
! 5926: [\\/$]*)
! 5927: # Absolute (can't be DOS-style, as IFS=:)
! 5928: test -f "$f" || { { echo "$as_me:5928: error: cannot find input file: $f" >&5
! 5929: echo "$as_me: error: cannot find input file: $f" >&2;}
! 5930: { (exit 1); exit 1; }; }
! 5931: echo $f;;
! 5932: *) # Relative
! 5933: if test -f "$f"; then
! 5934: # Build tree
! 5935: echo $f
! 5936: elif test -f "$srcdir/$f"; then
! 5937: # Source tree
! 5938: echo $srcdir/$f
! 5939: else
! 5940: # /dev/null tree
! 5941: { { echo "$as_me:5941: error: cannot find input file: $f" >&5
! 5942: echo "$as_me: error: cannot find input file: $f" >&2;}
! 5943: { (exit 1); exit 1; }; }
! 5944: fi;;
! 5945: esac
! 5946: done` || { (exit 1); exit 1; }
! 5947: EOF
! 5948: cat >>$CONFIG_STATUS <<EOF
! 5949: sed "$ac_vpsub
! 5950: $extrasub
! 5951: EOF
! 5952: cat >>$CONFIG_STATUS <<\EOF
! 5953: :t
! 5954: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 5955: s,@configure_input@,$configure_input,;t t
! 5956: s,@srcdir@,$ac_srcdir,;t t
! 5957: s,@top_srcdir@,$ac_top_srcdir,;t t
! 5958: s,@INSTALL@,$ac_INSTALL,;t t
! 5959: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
! 5960: rm -f $tmp/stdin
! 5961: if test x"$ac_file" != x-; then
! 5962: mv $tmp/out $ac_file
! 5963: else
! 5964: cat $tmp/out
! 5965: rm -f $tmp/out
! 5966: fi
! 5967:
! 5968: done
! 5969: EOF
! 5970: cat >>$CONFIG_STATUS <<\EOF
! 5971:
! 5972: #
! 5973: # CONFIG_HEADER section.
! 5974: #
1.1 root 5975:
5976: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5977: # NAME is the cpp macro being defined and VALUE is the value it is being given.
5978: #
5979: # ac_d sets the value in "#define NAME VALUE" lines.
1.1.1.3 ! root 5980: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
! 5981: ac_dB='[ ].*$,\1#\2'
! 5982: ac_dC=' '
! 5983: ac_dD=',;t'
! 5984: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
! 5985: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
! 5986: ac_uB='$,\1#\2define\3'
1.1 root 5987: ac_uC=' '
1.1.1.3 ! root 5988: ac_uD=',;t'
1.1 root 5989:
1.1.1.3 ! root 5990: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1 root 5991: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.1.1.3 ! root 5992: case $ac_file in
! 5993: - | *:- | *:-:* ) # input from stdin
! 5994: cat >$tmp/stdin
! 5995: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 5996: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 5997: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 5998: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 5999: * ) ac_file_in=$ac_file.in ;;
! 6000: esac
1.1 root 6001:
1.1.1.3 ! root 6002: test x"$ac_file" != x- && { echo "$as_me:6002: creating $ac_file" >&5
! 6003: echo "$as_me: creating $ac_file" >&6;}
! 6004:
! 6005: # First look for the input files in the build tree, otherwise in the
! 6006: # src tree.
! 6007: ac_file_inputs=`IFS=:
! 6008: for f in $ac_file_in; do
! 6009: case $f in
! 6010: -) echo $tmp/stdin ;;
! 6011: [\\/$]*)
! 6012: # Absolute (can't be DOS-style, as IFS=:)
! 6013: test -f "$f" || { { echo "$as_me:6013: error: cannot find input file: $f" >&5
! 6014: echo "$as_me: error: cannot find input file: $f" >&2;}
! 6015: { (exit 1); exit 1; }; }
! 6016: echo $f;;
! 6017: *) # Relative
! 6018: if test -f "$f"; then
! 6019: # Build tree
! 6020: echo $f
! 6021: elif test -f "$srcdir/$f"; then
! 6022: # Source tree
! 6023: echo $srcdir/$f
! 6024: else
! 6025: # /dev/null tree
! 6026: { { echo "$as_me:6026: error: cannot find input file: $f" >&5
! 6027: echo "$as_me: error: cannot find input file: $f" >&2;}
! 6028: { (exit 1); exit 1; }; }
! 6029: fi;;
! 6030: esac
! 6031: done` || { (exit 1); exit 1; }
! 6032: # Remove the trailing spaces.
! 6033: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
1.1 root 6034:
6035: EOF
1.1.1.3 ! root 6036:
! 6037: # Transform confdefs.h into two sed scripts, `conftest.defines' and
! 6038: # `conftest.undefs', that substitutes the proper values into
! 6039: # config.h.in to produce config.h. The first handles `#define'
! 6040: # templates, and the second `#undef' templates.
! 6041: # And first: Protect against being on the right side of a sed subst in
! 6042: # config.status. Protect against being in an unquoted here document
! 6043: # in config.status.
! 6044: rm -f conftest.defines conftest.undefs
! 6045: # Using a here document instead of a string reduces the quoting nightmare.
! 6046: # Putting comments in sed scripts is not portable.
! 6047: #
! 6048: # `end' is used to avoid that the second main sed command (meant for
! 6049: # 0-ary CPP macros) applies to n-ary macro definitions.
! 6050: # See the Autoconf documentation for `clear'.
! 6051: cat >confdef2sed.sed <<\EOF
! 6052: s/[\\&,]/\\&/g
! 6053: s,[\\$`],\\&,g
! 6054: t clear
! 6055: : clear
! 6056: s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
! 6057: t end
! 6058: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
! 6059: : end
! 6060: EOF
! 6061: # If some macros were called several times there might be several times
! 6062: # the same #defines, which is useless. Nevertheless, we may not want to
! 6063: # sort them, since we want the *last* AC-DEFINE to be honored.
! 6064: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
! 6065: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
! 6066: rm -f confdef2sed.sed
1.1 root 6067:
6068: # This sed command replaces #undef with comments. This is necessary, for
6069: # example, in the case of _POSIX_SOURCE, which is predefined and required
6070: # on some systems where configure will not decide to define it.
1.1.1.3 ! root 6071: cat >>conftest.undefs <<\EOF
! 6072: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.1 root 6073: EOF
6074:
1.1.1.3 ! root 6075: # Break up conftest.defines because some shells have a limit on the size
! 6076: # of here documents, and old seds have small limits too (100 cmds).
! 6077: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
! 6078: echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
! 6079: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
! 6080: echo ' :' >>$CONFIG_STATUS
! 6081: rm -f conftest.tail
! 6082: while grep . conftest.defines >/dev/null
! 6083: do
! 6084: # Write a limited-size here document to $tmp/defines.sed.
! 6085: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
! 6086: # Speed up: don't consider the non `#define' lines.
! 6087: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
! 6088: # Work around the forget-to-reset-the-flag bug.
! 6089: echo 't clr' >>$CONFIG_STATUS
! 6090: echo ': clr' >>$CONFIG_STATUS
! 6091: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
! 6092: echo 'CEOF
! 6093: sed -f $tmp/defines.sed $tmp/in >$tmp/out
! 6094: rm -f $tmp/in
! 6095: mv $tmp/out $tmp/in
! 6096: ' >>$CONFIG_STATUS
! 6097: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
! 6098: rm -f conftest.defines
! 6099: mv conftest.tail conftest.defines
! 6100: done
! 6101: rm -f conftest.defines
! 6102: echo ' fi # egrep' >>$CONFIG_STATUS
! 6103: echo >>$CONFIG_STATUS
! 6104:
! 6105: # Break up conftest.undefs because some shells have a limit on the size
! 6106: # of here documents, and old seds have small limits too (100 cmds).
! 6107: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
1.1 root 6108: rm -f conftest.tail
1.1.1.3 ! root 6109: while grep . conftest.undefs >/dev/null
1.1 root 6110: do
1.1.1.3 ! root 6111: # Write a limited-size here document to $tmp/undefs.sed.
! 6112: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
! 6113: # Speed up: don't consider the non `#undef'
! 6114: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
! 6115: # Work around the forget-to-reset-the-flag bug.
! 6116: echo 't clr' >>$CONFIG_STATUS
! 6117: echo ': clr' >>$CONFIG_STATUS
! 6118: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1 root 6119: echo 'CEOF
1.1.1.3 ! root 6120: sed -f $tmp/undefs.sed $tmp/in >$tmp/out
! 6121: rm -f $tmp/in
! 6122: mv $tmp/out $tmp/in
! 6123: ' >>$CONFIG_STATUS
! 6124: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
! 6125: rm -f conftest.undefs
! 6126: mv conftest.tail conftest.undefs
! 6127: done
! 6128: rm -f conftest.undefs
! 6129:
! 6130: cat >>$CONFIG_STATUS <<\EOF
! 6131: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 6132: # use $as_me), people would be surprised to read:
! 6133: # /* config.h. Generated automatically by config.status. */
! 6134: if test x"$ac_file" = x-; then
! 6135: echo "/* Generated automatically by configure. */" >$tmp/config.h
1.1 root 6136: else
1.1.1.3 ! root 6137: echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
! 6138: fi
! 6139: cat $tmp/in >>$tmp/config.h
! 6140: rm -f $tmp/in
! 6141: if test x"$ac_file" != x-; then
! 6142: if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
! 6143: { echo "$as_me:6143: $ac_file is unchanged" >&5
! 6144: echo "$as_me: $ac_file is unchanged" >&6;}
! 6145: else
! 6146: ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 6147: X"$ac_file" : 'X\(//\)[^/]' \| \
! 6148: X"$ac_file" : 'X\(//\)$' \| \
! 6149: X"$ac_file" : 'X\(/\)' \| \
! 6150: . : '\(.\)' 2>/dev/null ||
! 6151: echo X"$ac_file" |
! 6152: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 6153: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 6154: /^X\(\/\/\)$/{ s//\1/; q; }
! 6155: /^X\(\/\).*/{ s//\1/; q; }
! 6156: s/.*/./; q'`
1.1 root 6157: if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1.1.1.3 ! root 6158: { case "$ac_dir" in
! 6159: [\\/]* | ?:[\\/]* ) as_incr_dir=;;
! 6160: *) as_incr_dir=.;;
! 6161: esac
! 6162: as_dummy="$ac_dir"
! 6163: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
! 6164: case $as_mkdir_dir in
! 6165: # Skip DOS drivespec
! 6166: ?:) as_incr_dir=$as_mkdir_dir ;;
! 6167: *)
! 6168: as_incr_dir=$as_incr_dir/$as_mkdir_dir
! 6169: test -d "$as_incr_dir" || mkdir "$as_incr_dir"
! 6170: ;;
! 6171: esac
! 6172: done; }
! 6173:
! 6174: fi
! 6175: rm -f $ac_file
! 6176: mv $tmp/config.h $ac_file
1.1 root 6177: fi
1.1.1.3 ! root 6178: else
! 6179: cat $tmp/config.h
! 6180: rm -f $tmp/config.h
1.1 root 6181: fi
1.1.1.3 ! root 6182: # Run the commands associated with the file.
! 6183: case $ac_file in
! 6184: config.h ) # update the timestamp
! 6185: echo timestamp >"./stamp-h1"
! 6186: ;;
! 6187: esac
! 6188: done
1.1 root 6189: EOF
1.1.1.3 ! root 6190: cat >>$CONFIG_STATUS <<\EOF
1.1 root 6191:
1.1.1.3 ! root 6192: #
! 6193: # CONFIG_COMMANDS section.
! 6194: #
! 6195: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
! 6196: ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
! 6197: ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 6198:
! 6199: case $ac_dest in
! 6200: default-1 )
! 6201: test x"$AMDEP_TRUE" != x"" ||
! 6202: for mf in $CONFIG_FILES; do
! 6203: case "$mf" in
! 6204: Makefile) dirpart=.;;
! 6205: */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
! 6206: *) continue;;
! 6207: esac
! 6208: grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
! 6209: # Extract the definition of DEP_FILES from the Makefile without
! 6210: # running `make'.
! 6211: DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
! 6212: test -z "$DEPDIR" && continue
! 6213: # When using ansi2knr, U may be empty or an underscore; expand it
! 6214: U=`sed -n -e '/^U = / s///p' < "$mf"`
! 6215: test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
! 6216: # We invoke sed twice because it is the simplest approach to
! 6217: # changing $(DEPDIR) to its actual value in the expansion.
! 6218: for file in `sed -n -e '
! 6219: /^DEP_FILES = .*\\\\$/ {
! 6220: s/^DEP_FILES = //
! 6221: :loop
! 6222: s/\\\\$//
! 6223: p
! 6224: n
! 6225: /\\\\$/ b loop
! 6226: p
! 6227: }
! 6228: /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
! 6229: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 6230: # Make sure the directory exists.
! 6231: test -f "$dirpart/$file" && continue
! 6232: fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
! 6233: $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
! 6234: # echo "creating $dirpart/$file"
! 6235: echo '# dummy' > "$dirpart/$file"
! 6236: done
! 6237: done
! 6238: ;;
! 6239: esac
! 6240: done
1.1 root 6241: EOF
6242:
1.1.1.3 ! root 6243: cat >>$CONFIG_STATUS <<\EOF
! 6244:
! 6245: { (exit 0); exit 0; }
1.1 root 6246: EOF
6247: chmod +x $CONFIG_STATUS
1.1.1.3 ! root 6248: ac_clean_files=$ac_clean_files_save
1.1 root 6249:
1.1.1.3 ! root 6250: # configure is writing to config.log, and then calls config.status.
! 6251: # config.status does its own redirection, appending to config.log.
! 6252: # Unfortunately, on DOS this fails, as config.log is still kept open
! 6253: # by configure, so config.status won't be able to write to it; its
! 6254: # output is simply discarded. So we exec the FD to /dev/null,
! 6255: # effectively closing config.log, so it can be properly (re)opened and
! 6256: # appended to by config.status. When coming back to configure, we
! 6257: # need to make the FD available again.
! 6258: if test "$no_create" != yes; then
! 6259: ac_cs_success=:
! 6260: exec 5>/dev/null
! 6261: $SHELL $CONFIG_STATUS || ac_cs_success=false
! 6262: exec 5>>config.log
! 6263: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 6264: # would make configure fail if this is the last instruction.
! 6265: $ac_cs_success || { (exit 1); exit 1; }
! 6266: fi
1.1 root 6267:
6268: if [ $optimum = no ]; then
6269: echo '!!! Generator was compiled non-optimally, see warnings above !!!' 1>&2
6270: fi
6271:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.