2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
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
17 # Sed expression to map a string onto a valid variable name.
18 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
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"
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
31 # Name of the executable.
32 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
34 if expr a
: '\(a\)' >/dev
/null
2>&1; then
40 rm -f conf$$ conf$$.exe 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
51 elif ln conf$$.
file conf$$
2>/dev
/null
; then
56 rm -f conf$$ conf$$.exe conf$$.
file
58 as_executable_p
="test -f"
60 # Support unset when possible.
61 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
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
; }
78 # We need space, tab and new line, in precisely that order.
84 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
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`
96 ac_default_prefix
=/usr
/local
100 SHELL
=${CONFIG_SHELL-/bin/sh}
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}
107 ac_unique_file
="cpu.c"
109 # Initialize some variables set by options.
111 ac_init_version
=false
112 # The variables have the same names as the options, with
113 # dashes changed to underlines.
121 program_transform_name
=s
,x
,x
,
129 # Installation directory options.
130 # These are left unexpanded so users can "make install exec_prefix=/foo"
131 # and all the variables that are supposed to be based on exec_prefix
132 # by default will actually change.
133 # Use braces instead of parens because sh, perl, etc. also accept them.
134 bindir
='${exec_prefix}/bin'
135 sbindir
='${exec_prefix}/sbin'
136 libexecdir
='${exec_prefix}/libexec'
137 datadir
='${prefix}/share'
138 sysconfdir
='${prefix}/etc'
139 sharedstatedir
='${prefix}/com'
140 localstatedir
='${prefix}/var'
141 libdir
='${exec_prefix}/lib'
142 includedir
='${prefix}/include'
143 oldincludedir
='/usr/include'
144 infodir
='${prefix}/info'
145 mandir
='${prefix}/man'
147 # Identity of this package.
157 # If the previous option needs an argument, assign it.
158 if test -n "$ac_prev"; then
159 eval "$ac_prev=\$ac_option"
164 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
166 # Accept the important Cygnus configure options, so we can diagnose typos.
170 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
172 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
175 -build |
--build |
--buil |
--bui |
--bu)
176 ac_prev
=build_alias
;;
177 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
178 build_alias
=$ac_optarg ;;
180 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
181 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
182 ac_prev
=cache_file
;;
183 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
184 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
185 cache_file
=$ac_optarg ;;
188 cache_file
=config.cache
;;
190 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
192 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
194 datadir
=$ac_optarg ;;
196 -disable-* |
--disable-*)
197 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
198 # Reject names that are not valid shell variable names.
199 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
200 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
201 { (exit 1); exit 1; }; }
202 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
203 eval "enable_$ac_feature=no" ;;
205 -enable-* |
--enable-*)
206 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
207 # Reject names that are not valid shell variable names.
208 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
209 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
210 { (exit 1); exit 1; }; }
211 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
213 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
216 eval "enable_$ac_feature='$ac_optarg'" ;;
218 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
219 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
220 |
--exec |
--exe |
--ex)
221 ac_prev
=exec_prefix
;;
222 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
223 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
224 |
--exec=* |
--exe=* |
--ex=*)
225 exec_prefix
=$ac_optarg ;;
227 -gas |
--gas |
--ga |
--g)
228 # Obsolete; use --with-gas.
231 -help |
--help |
--hel |
--he |
-h)
233 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
234 ac_init_help
=recursive
;;
235 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
236 ac_init_help
=short
;;
238 -host |
--host |
--hos |
--ho)
239 ac_prev
=host_alias
;;
240 -host=* |
--host=* |
--hos=* |
--ho=*)
241 host_alias
=$ac_optarg ;;
243 -includedir |
--includedir |
--includedi |
--included |
--include \
244 |
--includ |
--inclu |
--incl |
--inc)
245 ac_prev
=includedir
;;
246 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
247 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
248 includedir
=$ac_optarg ;;
250 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
252 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
253 infodir
=$ac_optarg ;;
255 -libdir |
--libdir |
--libdi |
--libd)
257 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
260 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
261 |
--libexe |
--libex |
--libe)
262 ac_prev
=libexecdir
;;
263 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
264 |
--libexe=* |
--libex=* |
--libe=*)
265 libexecdir
=$ac_optarg ;;
267 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
268 |
--localstate |
--localstat |
--localsta |
--localst \
269 |
--locals |
--local |
--loca |
--loc |
--lo)
270 ac_prev
=localstatedir
;;
271 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
272 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
273 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
274 localstatedir
=$ac_optarg ;;
276 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
278 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
282 # Obsolete; use --without-fp.
285 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
289 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
290 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
293 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
294 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
295 |
--oldin |
--oldi |
--old |
--ol |
--o)
296 ac_prev
=oldincludedir
;;
297 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
298 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
299 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
300 oldincludedir
=$ac_optarg ;;
302 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
304 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
307 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
308 |
--program-pre |
--program-pr |
--program-p)
309 ac_prev
=program_prefix
;;
310 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
311 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
312 program_prefix
=$ac_optarg ;;
314 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
315 |
--program-suf |
--program-su |
--program-s)
316 ac_prev
=program_suffix
;;
317 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
318 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
319 program_suffix
=$ac_optarg ;;
321 -program-transform-name |
--program-transform-name \
322 |
--program-transform-nam |
--program-transform-na \
323 |
--program-transform-n |
--program-transform- \
324 |
--program-transform |
--program-transfor \
325 |
--program-transfo |
--program-transf \
326 |
--program-trans |
--program-tran \
327 |
--progr-tra |
--program-tr |
--program-t)
328 ac_prev
=program_transform_name
;;
329 -program-transform-name=* |
--program-transform-name=* \
330 |
--program-transform-nam=* |
--program-transform-na=* \
331 |
--program-transform-n=* |
--program-transform-=* \
332 |
--program-transform=* |
--program-transfor=* \
333 |
--program-transfo=* |
--program-transf=* \
334 |
--program-trans=* |
--program-tran=* \
335 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
336 program_transform_name
=$ac_optarg ;;
338 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
339 |
-silent |
--silent |
--silen |
--sile |
--sil)
342 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
344 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
346 sbindir
=$ac_optarg ;;
348 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
349 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
350 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
352 ac_prev
=sharedstatedir
;;
353 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
354 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
355 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
357 sharedstatedir
=$ac_optarg ;;
359 -site |
--site |
--sit)
361 -site=* |
--site=* |
--sit=*)
364 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
366 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
369 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
370 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
371 ac_prev
=sysconfdir
;;
372 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
373 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
374 sysconfdir
=$ac_optarg ;;
376 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
377 ac_prev
=target_alias
;;
378 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
379 target_alias
=$ac_optarg ;;
381 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
384 -version |
--version |
--versio |
--versi |
--vers |
-V)
388 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
389 # Reject names that are not valid shell variable names.
390 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
391 { echo "$as_me: error: invalid package name: $ac_package" >&2
392 { (exit 1); exit 1; }; }
393 ac_package
=`echo $ac_package| sed 's/-/_/g'`
395 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398 eval "with_$ac_package='$ac_optarg'" ;;
400 -without-* |
--without-*)
401 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
402 # Reject names that are not valid shell variable names.
403 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
404 { echo "$as_me: error: invalid package name: $ac_package" >&2
405 { (exit 1); exit 1; }; }
406 ac_package
=`echo $ac_package | sed 's/-/_/g'`
407 eval "with_$ac_package=no" ;;
410 # Obsolete; use --with-x.
413 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
414 |
--x-incl |
--x-inc |
--x-in |
--x-i)
415 ac_prev
=x_includes
;;
416 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
417 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
418 x_includes
=$ac_optarg ;;
420 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
421 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
422 ac_prev
=x_libraries
;;
423 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
424 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
425 x_libraries
=$ac_optarg ;;
427 -*) { echo "$as_me: error: unrecognized option: $ac_option
428 Try \`$0 --help' for more information." >&2
429 { (exit 1); exit 1; }; }
433 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
434 # Reject names that are not valid shell variable names.
435 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
436 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
437 { (exit 1); exit 1; }; }
438 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
439 eval "$ac_envvar='$ac_optarg'"
443 # FIXME: should be removed in autoconf 3.0.
444 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
445 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
446 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
447 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
453 if test -n "$ac_prev"; then
454 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
455 { echo "$as_me: error: missing argument to $ac_option" >&2
456 { (exit 1); exit 1; }; }
459 # Be sure to have absolute paths.
460 for ac_var
in exec_prefix prefix
462 eval ac_val
=$
`echo $ac_var`
464 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
465 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
466 { (exit 1); exit 1; }; };;
470 # Be sure to have absolute paths.
471 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
472 localstatedir libdir includedir oldincludedir infodir mandir
474 eval ac_val
=$
`echo $ac_var`
476 [\\/$
]* | ?
:[\\/]* ) ;;
477 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
478 { (exit 1); exit 1; }; };;
482 # There might be people who depend on the old broken behavior: `$host'
483 # used to hold the argument of --host etc.
488 # FIXME: should be removed in autoconf 3.0.
489 if test "x$host_alias" != x
; then
490 if test "x$build_alias" = x
; then
491 cross_compiling
=maybe
492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
493 If a cross compiler is detected then cross compile mode will be used." >&2
494 elif test "x$build_alias" != "x$host_alias"; then
500 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
502 test "$silent" = yes && exec 6>/dev
/null
504 # Find the source files, if location was not specified.
505 if test -z "$srcdir"; then
506 ac_srcdir_defaulted
=yes
507 # Try the directory containing this script, then its parent.
509 ac_confdir
=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
510 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
512 if test ! -r $srcdir/$ac_unique_file; then
516 ac_srcdir_defaulted
=no
518 if test ! -r $srcdir/$ac_unique_file; then
519 if test "$ac_srcdir_defaulted" = yes; then
520 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
521 { (exit 1); exit 1; }; }
523 { echo "$as_me: error: cannot find sources in $srcdir" >&2
524 { (exit 1); exit 1; }; }
527 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
528 ac_env_build_alias_set
=${build_alias+set}
529 ac_env_build_alias_value
=$build_alias
530 ac_cv_env_build_alias_set
=${build_alias+set}
531 ac_cv_env_build_alias_value
=$build_alias
532 ac_env_host_alias_set
=${host_alias+set}
533 ac_env_host_alias_value
=$host_alias
534 ac_cv_env_host_alias_set
=${host_alias+set}
535 ac_cv_env_host_alias_value
=$host_alias
536 ac_env_target_alias_set
=${target_alias+set}
537 ac_env_target_alias_value
=$target_alias
538 ac_cv_env_target_alias_set
=${target_alias+set}
539 ac_cv_env_target_alias_value
=$target_alias
540 ac_env_CC_set
=${CC+set}
542 ac_cv_env_CC_set
=${CC+set}
543 ac_cv_env_CC_value
=$CC
544 ac_env_CFLAGS_set
=${CFLAGS+set}
545 ac_env_CFLAGS_value
=$CFLAGS
546 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
547 ac_cv_env_CFLAGS_value
=$CFLAGS
548 ac_env_LDFLAGS_set
=${LDFLAGS+set}
549 ac_env_LDFLAGS_value
=$LDFLAGS
550 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
551 ac_cv_env_LDFLAGS_value
=$LDFLAGS
552 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
553 ac_env_CPPFLAGS_value
=$CPPFLAGS
554 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
555 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
556 ac_env_CPP_set
=${CPP+set}
557 ac_env_CPP_value
=$CPP
558 ac_cv_env_CPP_set
=${CPP+set}
559 ac_cv_env_CPP_value
=$CPP
562 # Report the --help message.
564 if test "$ac_init_help" = "long"; then
565 # Omit some internal or obsolete options to make the list less imposing.
566 # This message is too long to be a string in the A/UX 3.1 sh.
568 \`configure' configures this package to adapt to many kinds of systems.
570 Usage: $0 [OPTION]... [VAR=VALUE]...
572 To assign environment variables (e.g., CC, CFLAGS...), specify them as
573 VAR=VALUE. See below for descriptions of some of the useful variables.
575 Defaults for the options are specified in brackets.
578 -h, --help display this help and exit
579 --help=short display options specific to this package
580 --help=recursive display the short help of all the included packages
581 -V, --version display version information and exit
582 -q, --quiet, --silent do not print \`checking...' messages
583 --cache-file=FILE cache test results in FILE [disabled]
584 -C, --config-cache alias for \`--cache-file=config.cache'
585 -n, --no-create do not create output files
586 --srcdir=DIR find the sources in DIR [configure dir or \`..']
591 Installation directories:
592 --prefix=PREFIX install architecture-independent files in PREFIX
594 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
597 By default, \`make install' will install all the files in
598 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
599 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
600 for instance \`--prefix=\$HOME'.
602 For better control, use the options below.
604 Fine tuning of the installation directories:
605 --bindir=DIR user executables [EPREFIX/bin]
606 --sbindir=DIR system admin executables [EPREFIX/sbin]
607 --libexecdir=DIR program executables [EPREFIX/libexec]
608 --datadir=DIR read-only architecture-independent data [PREFIX/share]
609 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
610 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
611 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
612 --libdir=DIR object code libraries [EPREFIX/lib]
613 --includedir=DIR C header files [PREFIX/include]
614 --oldincludedir=DIR C header files for non-gcc [/usr/include]
615 --infodir=DIR info documentation [PREFIX/info]
616 --mandir=DIR man documentation [PREFIX/man]
622 --x-includes=DIR X include files are
in DIR
623 --x-libraries=DIR X library files are
in DIR
627 if test -n "$ac_init_help"; then
632 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
633 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
634 --enable-warnings enable selected compiler warnings
635 --enable-debug include debugging symbols
636 --enable-profile enable performance profiling
637 --enable-arch compile
for specific
host cpu architecture
638 --enable-optimize=LEVEL
select optimization level
(full
,low
,none
)
639 --enable-asm use hand-optimized asm cores
642 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
643 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
644 --with-fb build framebuffer device interface
645 --with-svgalib build Linux svgalib interface
646 --with-sdl build SDL interface
647 --with-x use the X Window System
649 Some influential environment variables
:
650 CC C compiler
command
651 CFLAGS C compiler flags
652 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
653 nonstandard directory
<lib dir
>
654 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
655 headers
in a nonstandard directory
<include dir
>
658 Use these variables to override the choices made by
`configure' or to help
659 it to find libraries and programs with nonstandard names/locations.
664 if test "$ac_init_help" = "recursive"; then
665 # If there are subdirs, report their specific --help.
667 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
669 # A "../" for each directory in /$ac_subdir.
670 ac_dots=`echo $ac_subdir |
671 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
674 .) # No --srcdir option. We are building in place.
675 ac_sub_srcdir=$srcdir ;;
676 [\\/]* | ?:[\\/]* ) # Absolute path.
677 ac_sub_srcdir=$srcdir/$ac_subdir ;;
679 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
682 # Check for guested configure; otherwise get Cygnus style configure.
683 if test -f $ac_sub_srcdir/configure.gnu; then
685 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
686 elif test -f $ac_sub_srcdir/configure; then
688 $SHELL $ac_sub_srcdir/configure --help=recursive
689 elif test -f $ac_sub_srcdir/configure.ac ||
690 test -f $ac_sub_srcdir/configure.in; then
694 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
700 test -n "$ac_init_help" && exit 0
701 if $ac_init_version; then
704 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
705 Free Software Foundation, Inc.
706 This configure script is free software; the Free Software Foundation
707 gives unlimited permission to copy, distribute and modify it.
713 This file contains any messages produced by compilers while
714 running configure, to aid debugging if configure makes a mistake.
716 It was created by $as_me, which was
717 generated by GNU Autoconf 2.52. Invocation command line was
728 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
729 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
730 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
731 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
732 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
734 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
735 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
737 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
738 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
739 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
740 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
741 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
742 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
743 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
757 # Keep a trace of the command line.
758 # Strip out --no-create and --no-recursion so they do not pile up.
759 # Also quote any args containing shell meta-characters.
765 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
766 | --no-cr | --no-c) ;;
767 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
768 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
769 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
770 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
771 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
773 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
776 # Get rid of the leading space.
779 # When interrupted or exit'd, cleanup temporary files, and complete
780 # config.log. We remove comments because anyway the quotes in there
781 # would cause problems or look ugly.
783 # Save into config.log some information that might help in debugging.
785 echo "## ----------------- ##" >&5
786 echo "## Cache variables. ##" >&5
787 echo "## ----------------- ##" >&5
789 # The following way of writing the cache mishandles newlines in values,
792 case `(ac_space
='"'"' '"'"'; set |
grep ac_space
) 2>&1` in
795 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
796 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
800 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
804 sed "/^$/d" confdefs.h >conftest.log
805 if test -s conftest.log; then
807 echo "## ------------ ##" >&5
808 echo "## confdefs.h. ##" >&5
809 echo "## ------------ ##" >&5
814 test "$ac_signal" != 0 &&
815 echo "$as_me: caught signal $ac_signal" >&5
816 echo "$as_me: exit $exit_status" >&5
817 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
820 for ac_signal in 1 2 13 15; do
821 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
825 # confdefs.h avoids OS command line length limits that DEFS can exceed.
826 rm -rf conftest* confdefs.h
827 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
830 # Let the site file select an alternate cache file if it wants to.
831 # Prefer explicitly selected file to automatically selected ones.
832 if test -z "$CONFIG_SITE"; then
833 if test "x$prefix" != xNONE; then
834 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
836 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
839 for ac_site_file in $CONFIG_SITE; do
840 if test -r "$ac_site_file"; then
841 { echo "$as_me:841: loading site script $ac_site_file" >&5
842 echo "$as_me: loading site script $ac_site_file" >&6;}
843 cat "$ac_site_file" >&5
848 if test -r "$cache_file"; then
849 # Some versions of bash will fail to source /dev/null (special
850 # files actually), so we avoid doing that.
851 if test -f "$cache_file"; then
852 { echo "$as_me:852: loading cache $cache_file" >&5
853 echo "$as_me: loading cache $cache_file" >&6;}
855 [\\/]* | ?:[\\/]* ) . $cache_file;;
860 { echo "$as_me:860: creating cache $cache_file" >&5
861 echo "$as_me: creating cache $cache_file" >&6;}
865 # Check that the precious variables saved in the cache have kept the same
867 ac_cache_corrupted=false
868 for ac_var in `(set) 2>&1 |
869 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
870 eval ac_old_set=\$ac_cv_env_${ac_var}_set
871 eval ac_new_set=\$ac_env_${ac_var}_set
872 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
873 eval ac_new_val="\$ac_env_${ac_var}_value"
874 case $ac_old_set,$ac_new_set in
876 { echo "$as_me:876: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
877 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
878 ac_cache_corrupted=: ;;
880 { echo "$as_me:880: error: \`$ac_var' was not
set in the previous run
" >&5
881 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
882 ac_cache_corrupted=: ;;
885 if test "x$ac_old_val" != "x$ac_new_val"; then
886 { echo "$as_me:886: error: \`$ac_var' has changed since the previous run:" >&5
887 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
888 { echo "$as_me:888: former value
: $ac_old_val" >&5
889 echo "$as_me: former value
: $ac_old_val" >&2;}
890 { echo "$as_me:890: current value
: $ac_new_val" >&5
891 echo "$as_me: current value
: $ac_new_val" >&2;}
895 # Pass precious variables to config.status. It doesn't matter if
896 # we pass some twice (in addition to the command line arguments).
897 if test "$ac_new_set" = set; then
899 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
900 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"`
901 ac_configure_args="$ac_configure_args '$ac_arg'"
903 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
908 if $ac_cache_corrupted; then
909 { echo "$as_me:909: error
: changes
in the environment can compromise the build
" >&5
910 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
911 { { echo "$as_me:911: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
912 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
913 { (exit 1); exit 1; }; }
917 ac_cpp='$CPP $CPPFLAGS'
918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
922 case `echo "testing\c"; echo 1,2,3`,`echo -n testing
; echo 1,2,3` in
923 *c*,-n*) ECHO_N= ECHO_C='
925 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
926 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
928 echo "#! $SHELL" >conftest.sh
929 echo "exit 0" >>conftest.sh
931 if { (echo "$as_me:931: PATH=\".;.\"; conftest.sh") >&5
932 (PATH=".;."; conftest.sh) 2>&5
934 echo "$as_me:934: \$? = $ac_status" >&5
935 (exit $ac_status); }; then
936 ac_path_separator=';'
940 PATH_SEPARATOR="$ac_path_separator"
946 ac_cpp='$CPP $CPPFLAGS'
947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
950 if test -n "$ac_tool_prefix"; then
951 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
952 set dummy ${ac_tool_prefix}gcc; ac_word=$2
953 echo "$as_me:953: checking for $ac_word" >&5
954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
955 if test "${ac_cv_prog_CC+set}" = set; then
956 echo $ECHO_N "(cached) $ECHO_C" >&6
958 if test -n "$CC"; then
959 ac_cv_prog_CC="$CC" # Let the user override the test.
961 ac_save_IFS=$IFS; IFS=$ac_path_separator
963 for ac_dir in $ac_dummy; do
965 test -z "$ac_dir" && ac_dir=.
966 $as_executable_p "$ac_dir/$ac_word" || continue
967 ac_cv_prog_CC="${ac_tool_prefix}gcc"
968 echo "$as_me:968: found $ac_dir/$ac_word" >&5
975 if test -n "$CC"; then
976 echo "$as_me:976: result: $CC" >&5
977 echo "${ECHO_T}$CC" >&6
979 echo "$as_me:979: result: no" >&5
980 echo "${ECHO_T}no" >&6
984 if test -z "$ac_cv_prog_CC"; then
986 # Extract the first word of "gcc", so it can be a program name with args.
987 set dummy gcc; ac_word=$2
988 echo "$as_me:988: checking for $ac_word" >&5
989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
990 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
991 echo $ECHO_N "(cached) $ECHO_C" >&6
993 if test -n "$ac_ct_CC"; then
994 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
996 ac_save_IFS=$IFS; IFS=$ac_path_separator
998 for ac_dir in $ac_dummy; do
1000 test -z "$ac_dir" && ac_dir=.
1001 $as_executable_p "$ac_dir/$ac_word" || continue
1002 ac_cv_prog_ac_ct_CC="gcc"
1003 echo "$as_me:1003: found $ac_dir/$ac_word" >&5
1009 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1010 if test -n "$ac_ct_CC"; then
1011 echo "$as_me:1011: result: $ac_ct_CC" >&5
1012 echo "${ECHO_T}$ac_ct_CC" >&6
1014 echo "$as_me:1014: result: no" >&5
1015 echo "${ECHO_T}no" >&6
1023 if test -z "$CC"; then
1024 if test -n "$ac_tool_prefix"; then
1025 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1026 set dummy ${ac_tool_prefix}cc; ac_word=$2
1027 echo "$as_me:1027: checking for $ac_word" >&5
1028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1029 if test "${ac_cv_prog_CC+set}" = set; then
1030 echo $ECHO_N "(cached) $ECHO_C" >&6
1032 if test -n "$CC"; then
1033 ac_cv_prog_CC="$CC" # Let the user override the test.
1035 ac_save_IFS=$IFS; IFS=$ac_path_separator
1037 for ac_dir in $ac_dummy; do
1039 test -z "$ac_dir" && ac_dir=.
1040 $as_executable_p "$ac_dir/$ac_word" || continue
1041 ac_cv_prog_CC="${ac_tool_prefix}cc"
1042 echo "$as_me:1042: found $ac_dir/$ac_word" >&5
1049 if test -n "$CC"; then
1050 echo "$as_me:1050: result: $CC" >&5
1051 echo "${ECHO_T}$CC" >&6
1053 echo "$as_me:1053: result: no" >&5
1054 echo "${ECHO_T}no" >&6
1058 if test -z "$ac_cv_prog_CC"; then
1060 # Extract the first word of "cc", so it can be a program name with args.
1061 set dummy cc; ac_word=$2
1062 echo "$as_me:1062: checking for $ac_word" >&5
1063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1064 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1065 echo $ECHO_N "(cached) $ECHO_C" >&6
1067 if test -n "$ac_ct_CC"; then
1068 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1070 ac_save_IFS=$IFS; IFS=$ac_path_separator
1072 for ac_dir in $ac_dummy; do
1074 test -z "$ac_dir" && ac_dir=.
1075 $as_executable_p "$ac_dir/$ac_word" || continue
1076 ac_cv_prog_ac_ct_CC="cc"
1077 echo "$as_me:1077: found $ac_dir/$ac_word" >&5
1083 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1084 if test -n "$ac_ct_CC"; then
1085 echo "$as_me:1085: result: $ac_ct_CC" >&5
1086 echo "${ECHO_T}$ac_ct_CC" >&6
1088 echo "$as_me:1088: result: no" >&5
1089 echo "${ECHO_T}no" >&6
1098 if test -z "$CC"; then
1099 # Extract the first word of "cc", so it can be a program name with args.
1100 set dummy cc; ac_word=$2
1101 echo "$as_me:1101: checking for $ac_word" >&5
1102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1103 if test "${ac_cv_prog_CC+set}" = set; then
1104 echo $ECHO_N "(cached) $ECHO_C" >&6
1106 if test -n "$CC"; then
1107 ac_cv_prog_CC="$CC" # Let the user override the test.
1110 ac_save_IFS=$IFS; IFS=$ac_path_separator
1112 for ac_dir in $ac_dummy; do
1114 test -z "$ac_dir" && ac_dir=.
1115 $as_executable_p "$ac_dir/$ac_word" || continue
1116 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1117 ac_prog_rejected=yes
1121 echo "$as_me:1121: found $ac_dir/$ac_word" >&5
1125 if test $ac_prog_rejected = yes; then
1126 # We found a bogon in the path, so make sure we never use it.
1127 set dummy $ac_cv_prog_CC
1129 if test $# != 0; then
1130 # We chose a different compiler from the bogus one.
1131 # However, it has the same basename, so the bogon will be chosen
1132 # first if we set CC to just the basename; use the full file name.
1134 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1142 if test -n "$CC"; then
1143 echo "$as_me:1143: result: $CC" >&5
1144 echo "${ECHO_T}$CC" >&6
1146 echo "$as_me:1146: result: no" >&5
1147 echo "${ECHO_T}no" >&6
1151 if test -z "$CC"; then
1152 if test -n "$ac_tool_prefix"; then
1155 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1156 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1157 echo "$as_me:1157: checking for $ac_word" >&5
1158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1159 if test "${ac_cv_prog_CC+set}" = set; then
1160 echo $ECHO_N "(cached) $ECHO_C" >&6
1162 if test -n "$CC"; then
1163 ac_cv_prog_CC="$CC" # Let the user override the test.
1165 ac_save_IFS=$IFS; IFS=$ac_path_separator
1167 for ac_dir in $ac_dummy; do
1169 test -z "$ac_dir" && ac_dir=.
1170 $as_executable_p "$ac_dir/$ac_word" || continue
1171 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1172 echo "$as_me:1172: found $ac_dir/$ac_word" >&5
1179 if test -n "$CC"; then
1180 echo "$as_me:1180: result: $CC" >&5
1181 echo "${ECHO_T}$CC" >&6
1183 echo "$as_me:1183: result: no" >&5
1184 echo "${ECHO_T}no" >&6
1187 test -n "$CC" && break
1190 if test -z "$CC"; then
1194 # Extract the first word of "$ac_prog", so it can be a program name with args.
1195 set dummy $ac_prog; ac_word=$2
1196 echo "$as_me:1196: checking for $ac_word" >&5
1197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1198 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1199 echo $ECHO_N "(cached) $ECHO_C" >&6
1201 if test -n "$ac_ct_CC"; then
1202 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1204 ac_save_IFS=$IFS; IFS=$ac_path_separator
1206 for ac_dir in $ac_dummy; do
1208 test -z "$ac_dir" && ac_dir=.
1209 $as_executable_p "$ac_dir/$ac_word" || continue
1210 ac_cv_prog_ac_ct_CC="$ac_prog"
1211 echo "$as_me:1211: found $ac_dir/$ac_word" >&5
1217 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1218 if test -n "$ac_ct_CC"; then
1219 echo "$as_me:1219: result: $ac_ct_CC" >&5
1220 echo "${ECHO_T}$ac_ct_CC" >&6
1222 echo "$as_me:1222: result: no" >&5
1223 echo "${ECHO_T}no" >&6
1226 test -n "$ac_ct_CC" && break
1234 test -z "$CC" && { { echo "$as_me:1234: error: no acceptable cc found in \$PATH" >&5
1235 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1236 { (exit 1); exit 1; }; }
1238 # Provide some information about the compiler.
1239 echo "$as_me:1239:" \
1240 "checking for C compiler version" >&5
1241 ac_compiler=`set X
$ac_compile; echo $2`
1242 { (eval echo "$as_me:1242: \"$ac_compiler --version </dev/null >&5\"") >&5
1243 (eval $ac_compiler --version </dev/null >&5) 2>&5
1245 echo "$as_me:1245: \$? = $ac_status" >&5
1246 (exit $ac_status); }
1247 { (eval echo "$as_me:1247: \"$ac_compiler -v </dev/null >&5\"") >&5
1248 (eval $ac_compiler -v </dev/null >&5) 2>&5
1250 echo "$as_me:1250: \$? = $ac_status" >&5
1251 (exit $ac_status); }
1252 { (eval echo "$as_me:1252: \"$ac_compiler -V </dev/null >&5\"") >&5
1253 (eval $ac_compiler -V </dev/null >&5) 2>&5
1255 echo "$as_me:1255: \$? = $ac_status" >&5
1256 (exit $ac_status); }
1258 cat >conftest.$ac_ext <<_ACEOF
1259 #line 1259 "configure"
1260 #include "confdefs.h"
1270 ac_clean_files_save=$ac_clean_files
1271 ac_clean_files="$ac_clean_files a.out a.exe"
1272 # Try to create an executable without -o first, disregard a.out.
1273 # It will help us diagnose broken compilers, and finding out an intuition
1275 echo "$as_me:1275: checking for C compiler default output" >&5
1276 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1277 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1278 if { (eval echo "$as_me:1278: \"$ac_link_default\"") >&5
1279 (eval $ac_link_default) 2>&5
1281 echo "$as_me:1281: \$? = $ac_status" >&5
1282 (exit $ac_status); }; then
1283 # Find the output, starting from the most likely. This scheme is
1284 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1286 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1287 ls a.out conftest 2>/dev/null;
1288 ls a.* conftest.* 2>/dev/null`; do
1290 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1291 a.out ) # We found the default executable, but exeext='' is most
1294 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.
]*\
(\..
*\
)'`
1295 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1302 echo "$as_me: failed program was:" >&5
1303 cat conftest.$ac_ext >&5
1304 { { echo "$as_me:1304: error: C compiler cannot create executables" >&5
1305 echo "$as_me: error: C compiler cannot create executables" >&2;}
1306 { (exit 77); exit 77; }; }
1309 ac_exeext=$ac_cv_exeext
1310 echo "$as_me:1310: result: $ac_file" >&5
1311 echo "${ECHO_T}$ac_file" >&6
1313 # Check the compiler produces executables we can run. If not, either
1314 # the compiler is broken, or we cross compile.
1315 echo "$as_me:1315: checking whether the C compiler works" >&5
1316 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1317 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1318 # If not cross compiling, check that we can run a simple program.
1319 if test "$cross_compiling" != yes; then
1320 if { ac_try='.
/$ac_file'
1321 { (eval echo "$as_me:1321: \"$ac_try\"") >&5
1324 echo "$as_me:1324: \$? = $ac_status" >&5
1325 (exit $ac_status); }; }; then
1328 if test "$cross_compiling" = maybe; then
1331 { { echo "$as_me:1331: error: cannot run C compiled programs.
1332 If you meant to cross compile, use \`--host'.
" >&5
1333 echo "$as_me: error
: cannot run C compiled programs.
1334 If you meant to cross compile
, use \
`--host'." >&2;}
1335 { (exit 1); exit 1; }; }
1339 echo "$as_me:1339: result: yes" >&5
1340 echo "${ECHO_T}yes" >&6
1342 rm -f a.out a.exe conftest$ac_cv_exeext
1343 ac_clean_files=$ac_clean_files_save
1344 # Check the compiler produces executables we can run. If not, either
1345 # the compiler is broken, or we cross compile.
1346 echo "$as_me:1346: checking whether we are cross compiling" >&5
1347 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1348 echo "$as_me:1348: result: $cross_compiling" >&5
1349 echo "${ECHO_T}$cross_compiling" >&6
1351 echo "$as_me:1351: checking for executable suffix" >&5
1352 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1353 if { (eval echo "$as_me:1353: \"$ac_link\"") >&5
1354 (eval $ac_link) 2>&5
1356 echo "$as_me:1356: \$? = $ac_status" >&5
1357 (exit $ac_status); }; then
1358 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1359 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1360 # work properly (i.e., refer to `conftest.exe'), while it won't with
1362 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1364 *.
$ac_ext |
*.o |
*.obj |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1365 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1372 { { echo "$as_me:1372: error: cannot compute EXEEXT: cannot compile and link" >&5
1373 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1374 { (exit 1); exit 1; }; }
1377 rm -f conftest
$ac_cv_exeext
1378 echo "$as_me:1378: result: $ac_cv_exeext" >&5
1379 echo "${ECHO_T}$ac_cv_exeext" >&6
1381 rm -f conftest.
$ac_ext
1382 EXEEXT
=$ac_cv_exeext
1384 echo "$as_me:1384: checking for object suffix" >&5
1385 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1386 if test "${ac_cv_objext+set}" = set; then
1387 echo $ECHO_N "(cached) $ECHO_C" >&6
1389 cat >conftest.
$ac_ext <<_ACEOF
1390 #line 1390 "configure"
1391 #include "confdefs.h"
1401 rm -f conftest.o conftest.obj
1402 if { (eval echo "$as_me:1402: \"$ac_compile\"") >&5
1403 (eval $ac_compile) 2>&5
1405 echo "$as_me:1405: \$? = $ac_status" >&5
1406 (exit $ac_status); }; then
1407 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1409 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb
) ;;
1410 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1415 echo "$as_me: failed program was:" >&5
1416 cat conftest.
$ac_ext >&5
1417 { { echo "$as_me:1417: error: cannot compute OBJEXT: cannot compile" >&5
1418 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1419 { (exit 1); exit 1; }; }
1422 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1424 echo "$as_me:1424: result: $ac_cv_objext" >&5
1425 echo "${ECHO_T}$ac_cv_objext" >&6
1426 OBJEXT
=$ac_cv_objext
1428 echo "$as_me:1428: checking whether we are using the GNU C compiler" >&5
1429 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1430 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 cat >conftest.
$ac_ext <<_ACEOF
1434 #line 1434 "configure"
1435 #include "confdefs.h"
1448 rm -f conftest.
$ac_objext
1449 if { (eval echo "$as_me:1449: \"$ac_compile\"") >&5
1450 (eval $ac_compile) 2>&5
1452 echo "$as_me:1452: \$? = $ac_status" >&5
1453 (exit $ac_status); } &&
1454 { ac_try
='test -s conftest.$ac_objext'
1455 { (eval echo "$as_me:1455: \"$ac_try\"") >&5
1458 echo "$as_me:1458: \$? = $ac_status" >&5
1459 (exit $ac_status); }; }; then
1462 echo "$as_me: failed program was:" >&5
1463 cat conftest.
$ac_ext >&5
1466 rm -f conftest.
$ac_objext conftest.
$ac_ext
1467 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1470 echo "$as_me:1470: result: $ac_cv_c_compiler_gnu" >&5
1471 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1472 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1473 ac_test_CFLAGS
=${CFLAGS+set}
1474 ac_save_CFLAGS
=$CFLAGS
1476 echo "$as_me:1476: checking whether $CC accepts -g" >&5
1477 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1478 if test "${ac_cv_prog_cc_g+set}" = set; then
1479 echo $ECHO_N "(cached) $ECHO_C" >&6
1481 cat >conftest.
$ac_ext <<_ACEOF
1482 #line 1482 "configure"
1483 #include "confdefs.h"
1493 rm -f conftest.
$ac_objext
1494 if { (eval echo "$as_me:1494: \"$ac_compile\"") >&5
1495 (eval $ac_compile) 2>&5
1497 echo "$as_me:1497: \$? = $ac_status" >&5
1498 (exit $ac_status); } &&
1499 { ac_try
='test -s conftest.$ac_objext'
1500 { (eval echo "$as_me:1500: \"$ac_try\"") >&5
1503 echo "$as_me:1503: \$? = $ac_status" >&5
1504 (exit $ac_status); }; }; then
1507 echo "$as_me: failed program was:" >&5
1508 cat conftest.
$ac_ext >&5
1511 rm -f conftest.
$ac_objext conftest.
$ac_ext
1513 echo "$as_me:1513: result: $ac_cv_prog_cc_g" >&5
1514 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1515 if test "$ac_test_CFLAGS" = set; then
1516 CFLAGS
=$ac_save_CFLAGS
1517 elif test $ac_cv_prog_cc_g = yes; then
1518 if test "$GCC" = yes; then
1524 if test "$GCC" = yes; then
1530 # Some people use a C++ compiler to compile C. Since we use `exit',
1531 # in C++ we need to declare it. In case someone uses the same compiler
1532 # for both compiling C and C++ we need to have the C++ compiler decide
1533 # the declaration of exit, since it's the most demanding environment.
1534 cat >conftest.
$ac_ext <<_ACEOF
1539 rm -f conftest.
$ac_objext
1540 if { (eval echo "$as_me:1540: \"$ac_compile\"") >&5
1541 (eval $ac_compile) 2>&5
1543 echo "$as_me:1543: \$? = $ac_status" >&5
1544 (exit $ac_status); } &&
1545 { ac_try
='test -s conftest.$ac_objext'
1546 { (eval echo "$as_me:1546: \"$ac_try\"") >&5
1549 echo "$as_me:1549: \$? = $ac_status" >&5
1550 (exit $ac_status); }; }; then
1551 for ac_declaration
in \
1553 '#include <stdlib.h>' \
1554 'extern "C" void std::exit (int) throw (); using std::exit;' \
1555 'extern "C" void std::exit (int); using std::exit;' \
1556 'extern "C" void exit (int) throw ();' \
1557 'extern "C" void exit (int);' \
1560 cat >conftest.
$ac_ext <<_ACEOF
1561 #line 1561 "configure"
1562 #include "confdefs.h"
1573 rm -f conftest.
$ac_objext
1574 if { (eval echo "$as_me:1574: \"$ac_compile\"") >&5
1575 (eval $ac_compile) 2>&5
1577 echo "$as_me:1577: \$? = $ac_status" >&5
1578 (exit $ac_status); } &&
1579 { ac_try
='test -s conftest.$ac_objext'
1580 { (eval echo "$as_me:1580: \"$ac_try\"") >&5
1583 echo "$as_me:1583: \$? = $ac_status" >&5
1584 (exit $ac_status); }; }; then
1587 echo "$as_me: failed program was:" >&5
1588 cat conftest.
$ac_ext >&5
1591 rm -f conftest.
$ac_objext conftest.
$ac_ext
1592 cat >conftest.
$ac_ext <<_ACEOF
1593 #line 1593 "configure"
1594 #include "confdefs.h"
1604 rm -f conftest.
$ac_objext
1605 if { (eval echo "$as_me:1605: \"$ac_compile\"") >&5
1606 (eval $ac_compile) 2>&5
1608 echo "$as_me:1608: \$? = $ac_status" >&5
1609 (exit $ac_status); } &&
1610 { ac_try
='test -s conftest.$ac_objext'
1611 { (eval echo "$as_me:1611: \"$ac_try\"") >&5
1614 echo "$as_me:1614: \$? = $ac_status" >&5
1615 (exit $ac_status); }; }; then
1618 echo "$as_me: failed program was:" >&5
1619 cat conftest.
$ac_ext >&5
1621 rm -f conftest.
$ac_objext conftest.
$ac_ext
1624 if test -n "$ac_declaration"; then
1625 echo '#ifdef __cplusplus' >>confdefs.h
1626 echo $ac_declaration >>confdefs.h
1627 echo '#endif' >>confdefs.h
1631 echo "$as_me: failed program was:" >&5
1632 cat conftest.
$ac_ext >&5
1634 rm -f conftest.
$ac_objext conftest.
$ac_ext
1636 ac_cpp
='$CPP $CPPFLAGS'
1637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1642 ac_cpp
='$CPP $CPPFLAGS'
1643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1646 echo "$as_me:1646: checking how to run the C preprocessor" >&5
1647 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1648 # On Suns, sometimes $CPP names a directory.
1649 if test -n "$CPP" && test -d "$CPP"; then
1652 if test -z "$CPP"; then
1653 if test "${ac_cv_prog_CPP+set}" = set; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1656 # Double quotes because CPP needs to be expanded
1657 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1660 for ac_c_preproc_warn_flag
in '' yes
1662 # Use a header file that comes with gcc, so configuring glibc
1663 # with a fresh cross-compiler works.
1664 # On the NeXT, cc -E runs the code through the compiler's parser,
1665 # not just through cpp. "Syntax error" is here to catch this case.
1666 cat >conftest.
$ac_ext <<_ACEOF
1667 #line 1667 "configure"
1668 #include "confdefs.h"
1672 if { (eval echo "$as_me:1672: \"$ac_cpp conftest.$ac_ext\"") >&5
1673 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1675 egrep -v '^ *\+' conftest.er1
>conftest.err
1677 cat conftest.err
>&5
1678 echo "$as_me:1678: \$? = $ac_status" >&5
1679 (exit $ac_status); } >/dev
/null
; then
1680 if test -s conftest.err
; then
1681 ac_cpp_err
=$ac_c_preproc_warn_flag
1688 if test -z "$ac_cpp_err"; then
1691 echo "$as_me: failed program was:" >&5
1692 cat conftest.
$ac_ext >&5
1693 # Broken: fails on valid input.
1696 rm -f conftest.err conftest.
$ac_ext
1698 # OK, works on sane cases. Now check whether non-existent headers
1699 # can be detected and how.
1700 cat >conftest.
$ac_ext <<_ACEOF
1701 #line 1701 "configure"
1702 #include "confdefs.h"
1703 #include <ac_nonexistent.h>
1705 if { (eval echo "$as_me:1705: \"$ac_cpp conftest.$ac_ext\"") >&5
1706 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1708 egrep -v '^ *\+' conftest.er1
>conftest.err
1710 cat conftest.err
>&5
1711 echo "$as_me:1711: \$? = $ac_status" >&5
1712 (exit $ac_status); } >/dev
/null
; then
1713 if test -s conftest.err
; then
1714 ac_cpp_err
=$ac_c_preproc_warn_flag
1721 if test -z "$ac_cpp_err"; then
1722 # Broken: success on invalid input.
1725 echo "$as_me: failed program was:" >&5
1726 cat conftest.
$ac_ext >&5
1727 # Passes both tests.
1731 rm -f conftest.err conftest.
$ac_ext
1734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1735 rm -f conftest.err conftest.
$ac_ext
1736 if $ac_preproc_ok; then
1748 echo "$as_me:1748: result: $CPP" >&5
1749 echo "${ECHO_T}$CPP" >&6
1751 for ac_c_preproc_warn_flag
in '' yes
1753 # Use a header file that comes with gcc, so configuring glibc
1754 # with a fresh cross-compiler works.
1755 # On the NeXT, cc -E runs the code through the compiler's parser,
1756 # not just through cpp. "Syntax error" is here to catch this case.
1757 cat >conftest.
$ac_ext <<_ACEOF
1758 #line 1758 "configure"
1759 #include "confdefs.h"
1763 if { (eval echo "$as_me:1763: \"$ac_cpp conftest.$ac_ext\"") >&5
1764 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1766 egrep -v '^ *\+' conftest.er1
>conftest.err
1768 cat conftest.err
>&5
1769 echo "$as_me:1769: \$? = $ac_status" >&5
1770 (exit $ac_status); } >/dev
/null
; then
1771 if test -s conftest.err
; then
1772 ac_cpp_err
=$ac_c_preproc_warn_flag
1779 if test -z "$ac_cpp_err"; then
1782 echo "$as_me: failed program was:" >&5
1783 cat conftest.
$ac_ext >&5
1784 # Broken: fails on valid input.
1787 rm -f conftest.err conftest.
$ac_ext
1789 # OK, works on sane cases. Now check whether non-existent headers
1790 # can be detected and how.
1791 cat >conftest.
$ac_ext <<_ACEOF
1792 #line 1792 "configure"
1793 #include "confdefs.h"
1794 #include <ac_nonexistent.h>
1796 if { (eval echo "$as_me:1796: \"$ac_cpp conftest.$ac_ext\"") >&5
1797 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
1799 egrep -v '^ *\+' conftest.er1
>conftest.err
1801 cat conftest.err
>&5
1802 echo "$as_me:1802: \$? = $ac_status" >&5
1803 (exit $ac_status); } >/dev
/null
; then
1804 if test -s conftest.err
; then
1805 ac_cpp_err
=$ac_c_preproc_warn_flag
1812 if test -z "$ac_cpp_err"; then
1813 # Broken: success on invalid input.
1816 echo "$as_me: failed program was:" >&5
1817 cat conftest.
$ac_ext >&5
1818 # Passes both tests.
1822 rm -f conftest.err conftest.
$ac_ext
1825 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1826 rm -f conftest.err conftest.
$ac_ext
1827 if $ac_preproc_ok; then
1830 { { echo "$as_me:1830: error: C preprocessor \"$CPP\" fails sanity check" >&5
1831 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
1832 { (exit 1); exit 1; }; }
1836 ac_cpp
='$CPP $CPPFLAGS'
1837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1842 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1843 if test -f $ac_dir/install-sh
; then
1845 ac_install_sh
="$ac_aux_dir/install-sh -c"
1847 elif test -f $ac_dir/install.sh
; then
1849 ac_install_sh
="$ac_aux_dir/install.sh -c"
1851 elif test -f $ac_dir/shtool
; then
1853 ac_install_sh
="$ac_aux_dir/shtool install -c"
1857 if test -z "$ac_aux_dir"; then
1858 { { echo "$as_me:1858: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1859 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1860 { (exit 1); exit 1; }; }
1862 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1863 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1864 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1866 # Find a good install program. We prefer a C program (faster),
1867 # so one script is as good as another. But avoid the broken or
1868 # incompatible versions:
1869 # SysV /etc/install, /usr/sbin/install
1870 # SunOS /usr/etc/install
1871 # IRIX /sbin/install
1873 # AmigaOS /C/install, which installs bootblocks on floppy discs
1874 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1875 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1876 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1877 # ./install, which can be erroneously created by make from ./install.sh.
1878 echo "$as_me:1878: checking for a BSD compatible install" >&5
1879 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
1880 if test -z "$INSTALL"; then
1881 if test "${ac_cv_path_install+set}" = set; then
1882 echo $ECHO_N "(cached) $ECHO_C" >&6
1884 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
1885 for ac_dir
in $PATH; do
1887 # Account for people who put trailing slashes in PATH elements.
1889 / | .
/ | .
// |
/cC
/* \
1890 |
/etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* \
1893 # OSF1 and SCO ODT 3.0 have their own names for install.
1894 # Don't use installbsd from OSF since it installs stuff as root
1896 for ac_prog
in ginstall scoinst
install; do
1897 if $as_executable_p "$ac_dir/$ac_prog"; then
1898 if test $ac_prog = install &&
1899 grep dspmsg
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
1900 # AIX install. It has an incompatible calling convention.
1902 elif test $ac_prog = install &&
1903 grep pwplus
"$ac_dir/$ac_prog" >/dev
/null
2>&1; then
1904 # program-specific install script used by HP pwplus--don't use.
1907 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1917 if test "${ac_cv_path_install+set}" = set; then
1918 INSTALL
=$ac_cv_path_install
1920 # As a last resort, use the slow shell script. We don't cache a
1921 # path for INSTALL within a source directory, because that will
1922 # break other packages using the cache if that directory is
1923 # removed, or if the path is relative.
1924 INSTALL
=$ac_install_sh
1927 echo "$as_me:1927: result: $INSTALL" >&5
1928 echo "${ECHO_T}$INSTALL" >&6
1930 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1931 # It thinks the first close brace ends the variable substitution.
1932 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1934 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1936 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1938 test "$cross_compiling" = "yes" ||
1939 echo "$as_me:1939: checking whether byte ordering is bigendian" >&5
1940 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
1941 if test "${ac_cv_c_bigendian+set}" = set; then
1942 echo $ECHO_N "(cached) $ECHO_C" >&6
1944 ac_cv_c_bigendian
=unknown
1945 # See if sys/param.h defines the BYTE_ORDER macro.
1946 cat >conftest.
$ac_ext <<_ACEOF
1947 #line 1947 "configure"
1948 #include "confdefs.h"
1949 #include <sys/types.h>
1950 #include <sys/param.h>
1955 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
1963 rm -f conftest.
$ac_objext
1964 if { (eval echo "$as_me:1964: \"$ac_compile\"") >&5
1965 (eval $ac_compile) 2>&5
1967 echo "$as_me:1967: \$? = $ac_status" >&5
1968 (exit $ac_status); } &&
1969 { ac_try
='test -s conftest.$ac_objext'
1970 { (eval echo "$as_me:1970: \"$ac_try\"") >&5
1973 echo "$as_me:1973: \$? = $ac_status" >&5
1974 (exit $ac_status); }; }; then
1975 # It does; now see whether it defined to BIG_ENDIAN or not.
1976 cat >conftest.
$ac_ext <<_ACEOF
1977 #line 1977 "configure"
1978 #include "confdefs.h"
1979 #include <sys/types.h>
1980 #include <sys/param.h>
1985 #if BYTE_ORDER != BIG_ENDIAN
1993 rm -f conftest.
$ac_objext
1994 if { (eval echo "$as_me:1994: \"$ac_compile\"") >&5
1995 (eval $ac_compile) 2>&5
1997 echo "$as_me:1997: \$? = $ac_status" >&5
1998 (exit $ac_status); } &&
1999 { ac_try
='test -s conftest.$ac_objext'
2000 { (eval echo "$as_me:2000: \"$ac_try\"") >&5
2003 echo "$as_me:2003: \$? = $ac_status" >&5
2004 (exit $ac_status); }; }; then
2005 ac_cv_c_bigendian
=yes
2007 echo "$as_me: failed program was:" >&5
2008 cat conftest.
$ac_ext >&5
2009 ac_cv_c_bigendian
=no
2011 rm -f conftest.
$ac_objext conftest.
$ac_ext
2013 echo "$as_me: failed program was:" >&5
2014 cat conftest.
$ac_ext >&5
2016 rm -f conftest.
$ac_objext conftest.
$ac_ext
2017 if test $ac_cv_c_bigendian = unknown
; then
2018 if test "$cross_compiling" = yes; then
2019 { { echo "$as_me:2019: error: cannot run test program while cross compiling" >&5
2020 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
2021 { (exit 1); exit 1; }; }
2023 cat >conftest.
$ac_ext <<_ACEOF
2024 #line 2024 "configure"
2025 #include "confdefs.h"
2029 /* Are we little or big endian? From Harbison&Steele. */
2033 char c[sizeof (long)];
2036 exit (u.c[sizeof (long) - 1] == 1);
2039 rm -f conftest
$ac_exeext
2040 if { (eval echo "$as_me:2040: \"$ac_link\"") >&5
2041 (eval $ac_link) 2>&5
2043 echo "$as_me:2043: \$? = $ac_status" >&5
2044 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2045 { (eval echo "$as_me:2045: \"$ac_try\"") >&5
2048 echo "$as_me:2048: \$? = $ac_status" >&5
2049 (exit $ac_status); }; }; then
2050 ac_cv_c_bigendian
=no
2052 echo "$as_me: program exited with status $ac_status" >&5
2053 echo "$as_me: failed program was:" >&5
2054 cat conftest.
$ac_ext >&5
2055 ac_cv_c_bigendian
=yes
2057 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2061 echo "$as_me:2061: result: $ac_cv_c_bigendian" >&5
2062 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2063 if test $ac_cv_c_bigendian = yes; then
2065 cat >>confdefs.h
<<\EOF
2066 #define WORDS_BIGENDIAN 1
2071 test "$ac_cv_c_bigendian" = "no" && ENDIAN
="-DIS_LITTLE_ENDIAN"
2073 for ac_func
in usleep
2075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2076 echo "$as_me:2076: checking for $ac_func" >&5
2077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2078 if eval "test \"\${$as_ac_var+set}\" = set"; then
2079 echo $ECHO_N "(cached) $ECHO_C" >&6
2081 cat >conftest.
$ac_ext <<_ACEOF
2082 #line 2082 "configure"
2083 #include "confdefs.h"
2084 /* System header to define __stub macros and hopefully few prototypes,
2085 which can conflict with char $ac_func (); below. */
2087 /* Override any gcc2 internal prototype to avoid an error. */
2091 /* We use char because int might match the return type of a gcc2
2092 builtin and then its argument prototype would still apply. */
2099 /* The GNU C library defines this for functions which it implements
2100 to always fail with ENOSYS. Some functions are actually named
2101 something starting with __ and the normal name is an alias. */
2102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2112 rm -f conftest.
$ac_objext conftest
$ac_exeext
2113 if { (eval echo "$as_me:2113: \"$ac_link\"") >&5
2114 (eval $ac_link) 2>&5
2116 echo "$as_me:2116: \$? = $ac_status" >&5
2117 (exit $ac_status); } &&
2118 { ac_try
='test -s conftest$ac_exeext'
2119 { (eval echo "$as_me:2119: \"$ac_try\"") >&5
2122 echo "$as_me:2122: \$? = $ac_status" >&5
2123 (exit $ac_status); }; }; then
2124 eval "$as_ac_var=yes"
2126 echo "$as_me: failed program was:" >&5
2127 cat conftest.
$ac_ext >&5
2128 eval "$as_ac_var=no"
2130 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2132 echo "$as_me:2132: result: `eval echo '${'$as_ac_var'}'`" >&5
2133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2134 if test `eval echo '${'$as_ac_var'}'` = yes; then
2135 cat >>confdefs.h
<<EOF
2136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2141 for ac_func
in select
2143 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2144 echo "$as_me:2144: checking for $ac_func" >&5
2145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2146 if eval "test \"\${$as_ac_var+set}\" = set"; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 cat >conftest.
$ac_ext <<_ACEOF
2150 #line 2150 "configure"
2151 #include "confdefs.h"
2152 /* System header to define __stub macros and hopefully few prototypes,
2153 which can conflict with char $ac_func (); below. */
2155 /* Override any gcc2 internal prototype to avoid an error. */
2159 /* We use char because int might match the return type of a gcc2
2160 builtin and then its argument prototype would still apply. */
2167 /* The GNU C library defines this for functions which it implements
2168 to always fail with ENOSYS. Some functions are actually named
2169 something starting with __ and the normal name is an alias. */
2170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2180 rm -f conftest.
$ac_objext conftest
$ac_exeext
2181 if { (eval echo "$as_me:2181: \"$ac_link\"") >&5
2182 (eval $ac_link) 2>&5
2184 echo "$as_me:2184: \$? = $ac_status" >&5
2185 (exit $ac_status); } &&
2186 { ac_try
='test -s conftest$ac_exeext'
2187 { (eval echo "$as_me:2187: \"$ac_try\"") >&5
2190 echo "$as_me:2190: \$? = $ac_status" >&5
2191 (exit $ac_status); }; }; then
2192 eval "$as_ac_var=yes"
2194 echo "$as_me: failed program was:" >&5
2195 cat conftest.
$ac_ext >&5
2196 eval "$as_ac_var=no"
2198 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2200 echo "$as_me:2200: result: `eval echo '${'$as_ac_var'}'`" >&5
2201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2202 if test `eval echo '${'$as_ac_var'}'` = yes; then
2203 cat >>confdefs.h
<<EOF
2204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2209 { { echo "$as_me:2209: error: your system must support either usleep or select" >&5
2210 echo "$as_me: error: your system must support either usleep or select" >&2;}
2211 { (exit 1); exit 1; }; }
2219 LIBS
="$LIBS -L/usr/local/lib -L/usr/X11R6/lib"
2221 # Check whether --with-fb or --without-fb was given.
2222 if test "${with_fb+set}" = set; then
2229 # Check whether --with-svgalib or --without-svgalib was given.
2230 if test "${with_svgalib+set}" = set; then
2231 withval
="$with_svgalib"
2237 # Check whether --with-sdl or --without-sdl was given.
2238 if test "${with_sdl+set}" = set; then
2252 for ac_header
in sys
/soundcard.h
2254 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2255 echo "$as_me:2255: checking for $ac_header" >&5
2256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 cat >conftest.
$ac_ext <<_ACEOF
2261 #line 2261 "configure"
2262 #include "confdefs.h"
2263 #include <$ac_header>
2265 if { (eval echo "$as_me:2265: \"$ac_cpp conftest.$ac_ext\"") >&5
2266 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2268 egrep -v '^ *\+' conftest.er1
>conftest.err
2270 cat conftest.err
>&5
2271 echo "$as_me:2271: \$? = $ac_status" >&5
2272 (exit $ac_status); } >/dev
/null
; then
2273 if test -s conftest.err
; then
2274 ac_cpp_err
=$ac_c_preproc_warn_flag
2281 if test -z "$ac_cpp_err"; then
2282 eval "$as_ac_Header=yes"
2284 echo "$as_me: failed program was:" >&5
2285 cat conftest.
$ac_ext >&5
2286 eval "$as_ac_Header=no"
2288 rm -f conftest.err conftest.
$ac_ext
2290 echo "$as_me:2290: result: `eval echo '${'$as_ac_Header'}'`" >&5
2291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2293 cat >>confdefs.h
<<EOF
2294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2300 for ac_header
in linux
/joystick.h
2302 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2303 echo "$as_me:2303: checking for $ac_header" >&5
2304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2306 echo $ECHO_N "(cached) $ECHO_C" >&6
2308 cat >conftest.
$ac_ext <<_ACEOF
2309 #line 2309 "configure"
2310 #include "confdefs.h"
2311 #include <$ac_header>
2313 if { (eval echo "$as_me:2313: \"$ac_cpp conftest.$ac_ext\"") >&5
2314 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2316 egrep -v '^ *\+' conftest.er1
>conftest.err
2318 cat conftest.err
>&5
2319 echo "$as_me:2319: \$? = $ac_status" >&5
2320 (exit $ac_status); } >/dev
/null
; then
2321 if test -s conftest.err
; then
2322 ac_cpp_err
=$ac_c_preproc_warn_flag
2329 if test -z "$ac_cpp_err"; then
2330 eval "$as_ac_Header=yes"
2332 echo "$as_me: failed program was:" >&5
2333 cat conftest.
$ac_ext >&5
2334 eval "$as_ac_Header=no"
2336 rm -f conftest.err conftest.
$ac_ext
2338 echo "$as_me:2338: result: `eval echo '${'$as_ac_Header'}'`" >&5
2339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2341 cat >>confdefs.h
<<EOF
2342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2348 test "$with_fb" = "no" ||
2349 for ac_header
in linux
/fb.h
2351 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2352 echo "$as_me:2352: checking for $ac_header" >&5
2353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 cat >conftest.
$ac_ext <<_ACEOF
2358 #line 2358 "configure"
2359 #include "confdefs.h"
2360 #include <$ac_header>
2362 if { (eval echo "$as_me:2362: \"$ac_cpp conftest.$ac_ext\"") >&5
2363 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2365 egrep -v '^ *\+' conftest.er1
>conftest.err
2367 cat conftest.err
>&5
2368 echo "$as_me:2368: \$? = $ac_status" >&5
2369 (exit $ac_status); } >/dev
/null
; then
2370 if test -s conftest.err
; then
2371 ac_cpp_err
=$ac_c_preproc_warn_flag
2378 if test -z "$ac_cpp_err"; then
2379 eval "$as_ac_Header=yes"
2381 echo "$as_me: failed program was:" >&5
2382 cat conftest.
$ac_ext >&5
2383 eval "$as_ac_Header=no"
2385 rm -f conftest.err conftest.
$ac_ext
2387 echo "$as_me:2387: result: `eval echo '${'$as_ac_Header'}'`" >&5
2388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2390 cat >>confdefs.h
<<EOF
2391 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2401 for ac_header
in machine
/soundcard.h
2403 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2404 echo "$as_me:2404: checking for $ac_header" >&5
2405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2409 cat >conftest.
$ac_ext <<_ACEOF
2410 #line 2410 "configure"
2411 #include "confdefs.h"
2412 #include <$ac_header>
2414 if { (eval echo "$as_me:2414: \"$ac_cpp conftest.$ac_ext\"") >&5
2415 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2417 egrep -v '^ *\+' conftest.er1
>conftest.err
2419 cat conftest.err
>&5
2420 echo "$as_me:2420: \$? = $ac_status" >&5
2421 (exit $ac_status); } >/dev
/null
; then
2422 if test -s conftest.err
; then
2423 ac_cpp_err
=$ac_c_preproc_warn_flag
2430 if test -z "$ac_cpp_err"; then
2431 eval "$as_ac_Header=yes"
2433 echo "$as_me: failed program was:" >&5
2434 cat conftest.
$ac_ext >&5
2435 eval "$as_ac_Header=no"
2437 rm -f conftest.err conftest.
$ac_ext
2439 echo "$as_me:2439: result: `eval echo '${'$as_ac_Header'}'`" >&5
2440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2442 cat >>confdefs.h
<<EOF
2443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2453 for ac_header
in soundcard.h
2455 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2456 echo "$as_me:2456: checking for $ac_header" >&5
2457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
2461 cat >conftest.
$ac_ext <<_ACEOF
2462 #line 2462 "configure"
2463 #include "confdefs.h"
2464 #include <$ac_header>
2466 if { (eval echo "$as_me:2466: \"$ac_cpp conftest.$ac_ext\"") >&5
2467 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2469 egrep -v '^ *\+' conftest.er1
>conftest.err
2471 cat conftest.err
>&5
2472 echo "$as_me:2472: \$? = $ac_status" >&5
2473 (exit $ac_status); } >/dev
/null
; then
2474 if test -s conftest.err
; then
2475 ac_cpp_err
=$ac_c_preproc_warn_flag
2482 if test -z "$ac_cpp_err"; then
2483 eval "$as_ac_Header=yes"
2485 echo "$as_me: failed program was:" >&5
2486 cat conftest.
$ac_ext >&5
2487 eval "$as_ac_Header=no"
2489 rm -f conftest.err conftest.
$ac_ext
2491 echo "$as_me:2491: result: `eval echo '${'$as_ac_Header'}'`" >&5
2492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2494 cat >>confdefs.h
<<EOF
2495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2504 test "$SOUND" || SOUND
=sys
/dummy
/nosound.o
2505 test "$JOY" || JOY
=sys
/dummy
/nojoy.o
2508 linux
) FB_OBJS
="sys/linux/fbdev.o sys/linux/kb.o sys/pc/keymap.o" ;;
2509 *) FB_OBJS
="" ; with_fb
=no
;;
2512 if test "$with_svgalib" != "no" ; then
2513 echo "$as_me:2513: checking for vga_init in -lvga" >&5
2514 echo $ECHO_N "checking for vga_init in -lvga... $ECHO_C" >&6
2515 if test "${ac_cv_lib_vga_vga_init+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 ac_check_lib_save_LIBS
=$LIBS
2520 cat >conftest.
$ac_ext <<_ACEOF
2521 #line 2521 "configure"
2522 #include "confdefs.h"
2524 /* Override any gcc2 internal prototype to avoid an error. */
2528 /* We use char because int might match the return type of a gcc2
2529 builtin and then its argument prototype would still apply. */
2539 rm -f conftest.
$ac_objext conftest
$ac_exeext
2540 if { (eval echo "$as_me:2540: \"$ac_link\"") >&5
2541 (eval $ac_link) 2>&5
2543 echo "$as_me:2543: \$? = $ac_status" >&5
2544 (exit $ac_status); } &&
2545 { ac_try
='test -s conftest$ac_exeext'
2546 { (eval echo "$as_me:2546: \"$ac_try\"") >&5
2549 echo "$as_me:2549: \$? = $ac_status" >&5
2550 (exit $ac_status); }; }; then
2551 ac_cv_lib_vga_vga_init
=yes
2553 echo "$as_me: failed program was:" >&5
2554 cat conftest.
$ac_ext >&5
2555 ac_cv_lib_vga_vga_init
=no
2557 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2558 LIBS
=$ac_check_lib_save_LIBS
2560 echo "$as_me:2560: result: $ac_cv_lib_vga_vga_init" >&5
2561 echo "${ECHO_T}$ac_cv_lib_vga_vga_init" >&6
2562 if test $ac_cv_lib_vga_vga_init = yes; then
2564 for ac_header
in vga.h vgakeyboard.h
2566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2567 echo "$as_me:2567: checking for $ac_header" >&5
2568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2570 echo $ECHO_N "(cached) $ECHO_C" >&6
2572 cat >conftest.
$ac_ext <<_ACEOF
2573 #line 2573 "configure"
2574 #include "confdefs.h"
2575 #include <$ac_header>
2577 if { (eval echo "$as_me:2577: \"$ac_cpp conftest.$ac_ext\"") >&5
2578 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2580 egrep -v '^ *\+' conftest.er1
>conftest.err
2582 cat conftest.err
>&5
2583 echo "$as_me:2583: \$? = $ac_status" >&5
2584 (exit $ac_status); } >/dev
/null
; then
2585 if test -s conftest.err
; then
2586 ac_cpp_err
=$ac_c_preproc_warn_flag
2593 if test -z "$ac_cpp_err"; then
2594 eval "$as_ac_Header=yes"
2596 echo "$as_me: failed program was:" >&5
2597 cat conftest.
$ac_ext >&5
2598 eval "$as_ac_Header=no"
2600 rm -f conftest.err conftest.
$ac_ext
2602 echo "$as_me:2602: result: `eval echo '${'$as_ac_Header'}'`" >&5
2603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2605 cat >>confdefs.h
<<EOF
2606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2611 { echo "$as_me:2611: WARNING: svgalib found but headers are missing!!" >&5
2612 echo "$as_me: WARNING: svgalib found but headers are missing!!" >&2;}
2624 if test "$with_sdl" != "no" ; then
2625 # Extract the first word of "sdl-config", so it can be a program name with args.
2626 set dummy sdl-config
; ac_word
=$2
2627 echo "$as_me:2627: checking for $ac_word" >&5
2628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2629 if test "${ac_cv_prog_SDL_CONFIG+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 if test -n "$SDL_CONFIG"; then
2633 ac_cv_prog_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test.
2635 ac_save_IFS
=$IFS; IFS
=$ac_path_separator
2637 for ac_dir
in $ac_dummy; do
2639 test -z "$ac_dir" && ac_dir
=.
2640 $as_executable_p "$ac_dir/$ac_word" ||
continue
2641 ac_cv_prog_SDL_CONFIG
="yes"
2642 echo "$as_me:2642: found $ac_dir/$ac_word" >&5
2648 SDL_CONFIG
=$ac_cv_prog_SDL_CONFIG
2649 if test -n "$SDL_CONFIG"; then
2650 echo "$as_me:2650: result: $SDL_CONFIG" >&5
2651 echo "${ECHO_T}$SDL_CONFIG" >&6
2653 echo "$as_me:2653: result: no" >&5
2654 echo "${ECHO_T}no" >&6
2657 if test "$SDL_CONFIG" ; then
2658 SDL_LIBS
="`sdl-config --libs`"
2659 SDL_CFLAGS
="`sdl-config --cflags`"
2661 INCS
="$INCS $SDL_CFLAGS"
2662 echo "$as_me:2662: checking for SDL_Init in -lSDL" >&5
2663 echo $ECHO_N "checking for SDL_Init in -lSDL... $ECHO_C" >&6
2664 if test "${ac_cv_lib_SDL_SDL_Init+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 ac_check_lib_save_LIBS
=$LIBS
2668 LIBS
="-lSDL $SDL_LIBS $LIBS"
2669 cat >conftest.
$ac_ext <<_ACEOF
2670 #line 2670 "configure"
2671 #include "confdefs.h"
2673 /* Override any gcc2 internal prototype to avoid an error. */
2677 /* We use char because int might match the return type of a gcc2
2678 builtin and then its argument prototype would still apply. */
2688 rm -f conftest.
$ac_objext conftest
$ac_exeext
2689 if { (eval echo "$as_me:2689: \"$ac_link\"") >&5
2690 (eval $ac_link) 2>&5
2692 echo "$as_me:2692: \$? = $ac_status" >&5
2693 (exit $ac_status); } &&
2694 { ac_try
='test -s conftest$ac_exeext'
2695 { (eval echo "$as_me:2695: \"$ac_try\"") >&5
2698 echo "$as_me:2698: \$? = $ac_status" >&5
2699 (exit $ac_status); }; }; then
2700 ac_cv_lib_SDL_SDL_Init
=yes
2702 echo "$as_me: failed program was:" >&5
2703 cat conftest.
$ac_ext >&5
2704 ac_cv_lib_SDL_SDL_Init
=no
2706 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2707 LIBS
=$ac_check_lib_save_LIBS
2709 echo "$as_me:2709: result: $ac_cv_lib_SDL_SDL_Init" >&5
2710 echo "${ECHO_T}$ac_cv_lib_SDL_SDL_Init" >&6
2711 if test $ac_cv_lib_SDL_SDL_Init = yes; then
2713 for ac_header
in SDL
/SDL.h
2715 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2716 echo "$as_me:2716: checking for $ac_header" >&5
2717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 cat >conftest.
$ac_ext <<_ACEOF
2722 #line 2722 "configure"
2723 #include "confdefs.h"
2724 #include <$ac_header>
2726 if { (eval echo "$as_me:2726: \"$ac_cpp conftest.$ac_ext\"") >&5
2727 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2729 egrep -v '^ *\+' conftest.er1
>conftest.err
2731 cat conftest.err
>&5
2732 echo "$as_me:2732: \$? = $ac_status" >&5
2733 (exit $ac_status); } >/dev
/null
; then
2734 if test -s conftest.err
; then
2735 ac_cpp_err
=$ac_c_preproc_warn_flag
2742 if test -z "$ac_cpp_err"; then
2743 eval "$as_ac_Header=yes"
2745 echo "$as_me: failed program was:" >&5
2746 cat conftest.
$ac_ext >&5
2747 eval "$as_ac_Header=no"
2749 rm -f conftest.err conftest.
$ac_ext
2751 echo "$as_me:2751: result: `eval echo '${'$as_ac_Header'}'`" >&5
2752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2754 cat >>confdefs.h
<<EOF
2755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2760 { echo "$as_me:2760: WARNING: SDL found but headers are missing!!" >&5
2761 echo "$as_me: WARNING: SDL found but headers are missing!!" >&2;}
2777 echo "$as_me:2777: checking for X" >&5
2778 echo $ECHO_N "checking for X... $ECHO_C" >&6
2780 # Check whether --with-x or --without-x was given.
2781 if test "${with_x+set}" = set; then
2785 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2786 if test "x$with_x" = xno
; then
2787 # The user explicitly disabled X.
2790 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2791 # Both variables are already set.
2794 if test "${ac_cv_have_x+set}" = set; then
2795 echo $ECHO_N "(cached) $ECHO_C" >&6
2797 # One or both of the vars are not set, and there is no cached value.
2798 ac_x_includes
=no ac_x_libraries
=no
2800 if mkdir conftest.dir
; then
2802 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2803 cat >Imakefile
<<'EOF'
2805 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2807 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2808 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2809 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2810 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2811 for ac_extension
in a so sl
; do
2812 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2813 test -f $ac_im_libdir/libX11.
$ac_extension; then
2814 ac_im_usrlibdir
=$ac_im_libdir; break
2817 # Screen out bogus values from the imake configuration. They are
2818 # bogus both because they are the default anyway, and because
2819 # using them would break gcc on systems where it needs fixed includes.
2820 case $ac_im_incroot in
2822 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2824 case $ac_im_usrlibdir in
2826 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2833 # Standard set of common directories for X headers.
2834 # Check X11 before X11Rn because it is often a symlink to the current release.
2846 /usr/local/X11/include
2847 /usr/local/X11R6/include
2848 /usr/local/X11R5/include
2849 /usr/local/X11R4/include
2851 /usr/local/include/X11
2852 /usr/local/include/X11R6
2853 /usr/local/include/X11R5
2854 /usr/local/include/X11R4
2858 /usr/XFree86/include/X11
2862 /usr/unsupported/include
2864 /usr/local/x11r5/include
2865 /usr/lpp/Xamples/include
2867 /usr/openwin/include
2868 /usr/openwin/share/include'
2870 if test "$ac_x_includes" = no
; then
2871 # Guess where to find include files, by looking for Intrinsic.h.
2872 # First, try using that file with no special directory specified.
2873 cat >conftest.
$ac_ext <<_ACEOF
2874 #line 2874 "configure"
2875 #include "confdefs.h"
2876 #include <X11/Intrinsic.h>
2878 if { (eval echo "$as_me:2878: \"$ac_cpp conftest.$ac_ext\"") >&5
2879 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2881 egrep -v '^ *\+' conftest.er1
>conftest.err
2883 cat conftest.err
>&5
2884 echo "$as_me:2884: \$? = $ac_status" >&5
2885 (exit $ac_status); } >/dev
/null
; then
2886 if test -s conftest.err
; then
2887 ac_cpp_err
=$ac_c_preproc_warn_flag
2894 if test -z "$ac_cpp_err"; then
2895 # We can compile using X headers with no special include directory.
2898 echo "$as_me: failed program was:" >&5
2899 cat conftest.
$ac_ext >&5
2900 for ac_dir
in $ac_x_header_dirs; do
2901 if test -r "$ac_dir/X11/Intrinsic.h"; then
2902 ac_x_includes
=$ac_dir
2907 rm -f conftest.err conftest.
$ac_ext
2908 fi # $ac_x_includes = no
2910 if test "$ac_x_libraries" = no
; then
2911 # Check for the libraries.
2912 # See if we find them without any special options.
2913 # Don't add to $LIBS permanently.
2916 cat >conftest.
$ac_ext <<_ACEOF
2917 #line 2917 "configure"
2918 #include "confdefs.h"
2919 #include <X11/Intrinsic.h>
2928 rm -f conftest.
$ac_objext conftest
$ac_exeext
2929 if { (eval echo "$as_me:2929: \"$ac_link\"") >&5
2930 (eval $ac_link) 2>&5
2932 echo "$as_me:2932: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try
='test -s conftest$ac_exeext'
2935 { (eval echo "$as_me:2935: \"$ac_try\"") >&5
2938 echo "$as_me:2938: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2941 # We can link X programs with no special library path.
2944 echo "$as_me: failed program was:" >&5
2945 cat conftest.
$ac_ext >&5
2947 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2949 # Don't even attempt the hair of trying to link an X program!
2950 for ac_extension
in a so sl
; do
2951 if test -r $ac_dir/libXt.
$ac_extension; then
2952 ac_x_libraries
=$ac_dir
2958 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2959 fi # $ac_x_libraries = no
2961 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2962 # Didn't find X anywhere. Cache the known absence of X.
2963 ac_cv_have_x
="have_x=no"
2965 # Record where we found X for the cache.
2966 ac_cv_have_x
="have_x=yes \
2967 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2972 eval "$ac_cv_have_x"
2975 if test "$have_x" != yes; then
2976 echo "$as_me:2976: result: $have_x" >&5
2977 echo "${ECHO_T}$have_x" >&6
2980 # If each of the values was on the command line, it overrides each guess.
2981 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2982 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2983 # Update the cache value to reflect the command line values.
2984 ac_cv_have_x
="have_x=yes \
2985 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2986 echo "$as_me:2986: result: libraries $x_libraries, headers $x_includes" >&5
2987 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2990 if test "$no_x" != "yes" ; then
2993 echo "$as_me:2993: checking for XShmCreateImage in -lXext" >&5
2994 echo $ECHO_N "checking for XShmCreateImage in -lXext... $ECHO_C" >&6
2995 if test "${ac_cv_lib_Xext_XShmCreateImage+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2998 ac_check_lib_save_LIBS
=$LIBS
3000 cat >conftest.
$ac_ext <<_ACEOF
3001 #line 3001 "configure"
3002 #include "confdefs.h"
3004 /* Override any gcc2 internal prototype to avoid an error. */
3008 /* We use char because int might match the return type of a gcc2
3009 builtin and then its argument prototype would still apply. */
3010 char XShmCreateImage ();
3019 rm -f conftest.
$ac_objext conftest
$ac_exeext
3020 if { (eval echo "$as_me:3020: \"$ac_link\"") >&5
3021 (eval $ac_link) 2>&5
3023 echo "$as_me:3023: \$? = $ac_status" >&5
3024 (exit $ac_status); } &&
3025 { ac_try
='test -s conftest$ac_exeext'
3026 { (eval echo "$as_me:3026: \"$ac_try\"") >&5
3029 echo "$as_me:3029: \$? = $ac_status" >&5
3030 (exit $ac_status); }; }; then
3031 ac_cv_lib_Xext_XShmCreateImage
=yes
3033 echo "$as_me: failed program was:" >&5
3034 cat conftest.
$ac_ext >&5
3035 ac_cv_lib_Xext_XShmCreateImage
=no
3037 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3038 LIBS
=$ac_check_lib_save_LIBS
3040 echo "$as_me:3040: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
3041 echo "${ECHO_T}$ac_cv_lib_Xext_XShmCreateImage" >&6
3042 if test $ac_cv_lib_Xext_XShmCreateImage = yes; then
3043 cat >>confdefs.h
<<EOF
3044 #define HAVE_LIBXEXT 1
3051 for ac_header
in sys
/ipc.h sys
/shm.h X11
/extensions
/XShm.h
3053 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3054 echo "$as_me:3054: checking for $ac_header" >&5
3055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3057 echo $ECHO_N "(cached) $ECHO_C" >&6
3059 cat >conftest.
$ac_ext <<_ACEOF
3060 #line 3060 "configure"
3061 #include "confdefs.h"
3062 #include <$ac_header>
3064 if { (eval echo "$as_me:3064: \"$ac_cpp conftest.$ac_ext\"") >&5
3065 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3067 egrep -v '^ *\+' conftest.er1
>conftest.err
3069 cat conftest.err
>&5
3070 echo "$as_me:3070: \$? = $ac_status" >&5
3071 (exit $ac_status); } >/dev
/null
; then
3072 if test -s conftest.err
; then
3073 ac_cpp_err
=$ac_c_preproc_warn_flag
3080 if test -z "$ac_cpp_err"; then
3081 eval "$as_ac_Header=yes"
3083 echo "$as_me: failed program was:" >&5
3084 cat conftest.
$ac_ext >&5
3085 eval "$as_ac_Header=no"
3087 rm -f conftest.err conftest.
$ac_ext
3089 echo "$as_me:3089: result: `eval echo '${'$as_ac_Header'}'`" >&5
3090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3092 cat >>confdefs.h
<<EOF
3093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3099 test "$x_includes" && XINCS
="-I$x_includes"
3100 test "$x_libraries" && XLIBS
="-L$x_libraries"
3105 test "$with_x" = "no" || TARGETS
="$TARGETS xgnuboy"
3106 test "$with_fb" = "no" || TARGETS
="$TARGETS fbgnuboy"
3107 test "$with_svgalib" = "no" || TARGETS
="$TARGETS sgnuboy"
3108 test "$with_sdl" = "no" || TARGETS
="$TARGETS sdlgnuboy"
3110 # Check whether --enable-warnings or --disable-warnings was given.
3111 if test "${enable_warnings+set}" = set; then
3112 enableval
="$enable_warnings"
3117 # Check whether --enable-debug or --disable-debug was given.
3118 if test "${enable_debug+set}" = set; then
3119 enableval
="$enable_debug"
3122 # Check whether --enable-profile or --disable-profile was given.
3123 if test "${enable_profile+set}" = set; then
3124 enableval
="$enable_profile"
3127 # Check whether --enable-arch or --disable-arch was given.
3128 if test "${enable_arch+set}" = set; then
3129 enableval
="$enable_arch"
3134 # Check whether --enable-optimize or --disable-optimize was given.
3135 if test "${enable_optimize+set}" = set; then
3136 enableval
="$enable_optimize"
3141 # Check whether --enable-asm or --disable-asm was given.
3142 if test "${enable_asm+set}" = set; then
3143 enableval
="$enable_asm"
3149 if test "$enable_warnings" = yes ; then
3150 case "$CC" in *gcc
*)
3151 echo "$as_me:3151: result: enabling selected compiler warnings" >&5
3152 echo "${ECHO_T}enabling selected compiler warnings" >&6
3153 CFLAGS
="$CFLAGS -ansi -pedantic -Wall" ;;
3155 echo "$as_me:3155: result: disabling warnings for non-gcc compiler" >&5
3156 echo "${ECHO_T}disabling warnings for non-gcc compiler" >&6 ;;
3160 if test "$enable_debug" = yes ; then
3161 echo "$as_me:3161: result: including debugging symbols" >&5
3162 echo "${ECHO_T}including debugging symbols" >&6
3166 if test "$enable_profile" = yes ; then
3167 echo "$as_me:3167: result: enabling performance profiling" >&5
3168 echo "${ECHO_T}enabling performance profiling" >&6
3169 CFLAGS
="$CFLAGS -pg"
3172 if test "$enable_arch" = yes ; then
3173 if test `uname -s` = Linux
-a -f /proc
/cpuinfo
; then
3174 case `grep "model name" /proc/cpuinfo` in
3175 *AMD-K6
*) enable_arch
=k6
;;
3176 *Pentium
*Pro
*|
*Pentium\ I
*|
*Klamath
*) enable_arch
=i686
;;
3177 *Pentium
*|
*586*) enable_arch
=i586
;;
3178 *486*) enable_arch
=i486
;;
3179 *386*) enable_arch
=i386
;;
3180 *) enable_arch
=no
;;
3185 #i686) enable_arch=i686 ;;
3186 #i586) enable_arch=i586 ;;
3187 #i486) enable_arch=i486 ;;
3188 #i386) enable_arch=i386 ;;
3189 #*) enable_arch=no ;;
3194 case `$CC --version` in
3198 case "$enable_arch" in
3199 k6|i686|i586|i486|i386
) CFLAGS
="$CFLAGS -march=$enable_arch" ;;
3201 *) { echo "$as_me:3201: WARNING: unknown architecture $enable_arch" >&5
3202 echo "$as_me: WARNING: unknown architecture $enable_arch" >&2;} ;;
3207 case "$enable_arch" in
3208 k6|i686|i586
) { echo "$as_me:3208: WARNING: your compiler is too old to support $enable_arch optimizations" >&5
3209 echo "$as_me: WARNING: your compiler is too old to support $enable_arch optimizations" >&2;} ;;
3210 i486
) CFLAGS
="$CFLAGS -m486" ;;
3211 i386
) CFLAGS
="$CFLAGS -m386" ;;
3213 *) { echo "$as_me:3213: WARNING: unknown architecture $enable_arch" >&5
3214 echo "$as_me: WARNING: unknown architecture $enable_arch" >&2;} ;;
3219 case "$enable_optimize" in
3221 echo "$as_me:3221: result: producing heavily optimized code" >&5
3222 echo "${ECHO_T}producing heavily optimized code" >&6
3224 CFLAGS
="$CFLAGS -O3"
3227 i?
86) CFLAGS
="$CFLAGS -DALLOW_UNALIGNED_IO" ;;
3230 #case `$CC --version` in
3232 CFLAGS
="$CFLAGS -fstrength-reduce -fthread-jumps \
3233 -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop \
3234 -fexpensive-optimizations -fforce-addr"
3237 #AC_MSG_WARN(your compiler is too old for fancy optimizations)
3241 if test "$enable_debug" != yes -a "$enable_profile" != yes ; then
3242 CFLAGS
="$CFLAGS -fomit-frame-pointer"
3243 LDFLAGS
="$LDFLAGS -s"
3248 echo "$as_me:3248: result: using minimal optimizations" >&5
3249 echo "${ECHO_T}using minimal optimizations" >&6
3250 CFLAGS
="$CFLAGS -O3" ;;
3254 if test "$enable_asm" = yes ; then
3257 echo "$as_me:3257: result: using optimized i386 cores" >&5
3258 echo "${ECHO_T}using optimized i386 cores" >&6
3259 ASM
="-DUSE_ASM -I./asm/i386" ; ASM_OBJS
="asm/i386/cpu.o asm/i386/lcd.o asm/i386/refresh.s" ;;
3261 echo "$as_me:3261: result: no optimized asm core available for \`uname -m\`" >&5
3262 echo "${ECHO_T}no optimized asm core available for \`uname -m\`" >&6 ;;
3266 ac_config_headers
="$ac_config_headers sys/nix/config.h"
3268 ac_config_files
="$ac_config_files Makefile"
3269 cat >confcache
<<\_ACEOF
3270 # This file is a shell script that caches the results of configure
3271 # tests run on this system so they can be shared between configure
3272 # scripts and configure runs, see configure's option --config-cache.
3273 # It is not useful on other systems. If it contains results you don't
3274 # want to keep, you may remove or edit it.
3276 # config.status only pays attention to the cache file if you give it
3277 # the --recheck option to rerun configure.
3279 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3280 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3285 # The following way of writing the cache mishandles newlines in values,
3286 # but we know of no workaround that is simple, portable, and efficient.
3287 # So, don't put newlines in cache variables' values.
3288 # Ultrix sh set writes to stderr and can't be redirected directly,
3289 # and sets the high bit in the cache file unless we assign to the vars.
3292 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3294 # `set' does not quote correctly, so add quotes (double-quote
3295 # substitution turns \\\\ into \\, and sed turns \\ into \).
3298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3301 # `set' quotes correctly as required by POSIX, so do not add quotes.
3303 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3310 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3312 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3314 if cmp -s $cache_file confcache
; then :; else
3315 if test -w $cache_file; then
3316 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3317 cat confcache
>$cache_file
3319 echo "not updating unwritable cache $cache_file"
3324 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3325 # Let make expand exec_prefix.
3326 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3328 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3329 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3330 # trailing colons and then remove the whole line if VPATH becomes empty
3331 # (actually we leave an empty line to preserve line numbers).
3332 if test "x$srcdir" = x.
; then
3333 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3334 s/:*\$(srcdir):*/:/;
3335 s/:*\${srcdir}:*/:/;
3337 s/^\([^=]*=[ ]*\):*/\1/;
3343 DEFS
=-DHAVE_CONFIG_H
3345 : ${CONFIG_STATUS=./config.status}
3346 ac_clean_files_save
=$ac_clean_files
3347 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3348 { echo "$as_me:3348: creating $CONFIG_STATUS" >&5
3349 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3350 cat >$CONFIG_STATUS <<_ACEOF
3352 # Generated automatically by configure.
3353 # Run this file to recreate the current configuration.
3354 # Compiler output produced by configure, useful for debugging
3355 # configure, is in config.log if it exists.
3358 SHELL=\${CONFIG_SHELL-$SHELL}
3359 ac_cs_invocation="\$0 \$@"
3363 cat >>$CONFIG_STATUS <<\_ACEOF
3364 # Be Bourne compatible
3365 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3368 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
3372 # Name of the executable.
3373 as_me
=`echo "$0" |sed 's,.*[\\/],,'`
3375 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3381 rm -f conf$$ conf$$.exe conf$$.
file
3383 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3384 # We could just check for DJGPP; but this test a) works b) is more generic
3385 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3386 if test -f conf$$.exe
; then
3387 # Don't use ln at all; we don't have any links
3392 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3397 rm -f conf$$ conf$$.exe conf$$.
file
3399 as_executable_p
="test -f"
3401 # Support unset when possible.
3402 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
3409 $as_unset LANG ||
test "${LANG+set}" != set ||
{ LANG
=C
; export LANG
; }
3410 $as_unset LC_ALL ||
test "${LC_ALL+set}" != set ||
{ LC_ALL
=C
; export LC_ALL
; }
3411 $as_unset LC_TIME ||
test "${LC_TIME+set}" != set ||
{ LC_TIME
=C
; export LC_TIME
; }
3412 $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set ||
{ LC_CTYPE
=C
; export LC_CTYPE
; }
3413 $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set ||
{ LANGUAGE
=C
; export LANGUAGE
; }
3414 $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set ||
{ LC_COLLATE
=C
; export LC_COLLATE
; }
3415 $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set ||
{ LC_NUMERIC
=C
; export LC_NUMERIC
; }
3416 $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set ||
{ LC_MESSAGES
=C
; export LC_MESSAGES
; }
3419 # We need space, tab and new line, in precisely that order.
3425 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=:; export CDPATH
; }
3431 # Files that config.status was made for.
3432 if test -n "$ac_config_files"; then
3433 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3436 if test -n "$ac_config_headers"; then
3437 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3440 if test -n "$ac_config_links"; then
3441 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3444 if test -n "$ac_config_commands"; then
3445 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3448 cat >>$CONFIG_STATUS <<\EOF
3451 \`$as_me' instantiates files from templates according to the
3452 current configuration.
3454 Usage: $0 [OPTIONS] [FILE]...
3456 -h, --help print this help, then exit
3457 -V, --version print version number, then exit
3458 -d, --debug don't remove temporary files
3459 --recheck update $as_me by reconfiguring in the same conditions
3460 --file=FILE[:TEMPLATE]
3461 instantiate the configuration file FILE
3462 --header=FILE[:TEMPLATE]
3463 instantiate the configuration header FILE
3465 Configuration files:
3468 Configuration headers:
3471 Report bugs to <bug-autoconf@gnu.org>."
3474 cat >>$CONFIG_STATUS <<EOF
3477 configured by $0, generated by GNU Autoconf 2.52,
3478 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3480 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3481 Free Software Foundation, Inc.
3482 This config.status script is free software; the Free Software Foundation
3483 gives unlimited permission to copy, distribute and modify it."
3488 cat >>$CONFIG_STATUS <<\EOF
3489 # If no file are specified by the user, then we need to provide default
3490 # value. By we need to know if files were specified by the user.
3496 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3497 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3499 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
3503 *) # This is not an option, so the user has probably given explicit
3505 ac_need_defaults
=false
;;
3509 # Handling of the options.
3511 cat >>$CONFIG_STATUS <<EOF
3512 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3513 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3514 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3516 cat >>$CONFIG_STATUS <<\EOF
3517 --version |
--vers* |
-V )
3518 echo "$ac_cs_version"; exit 0 ;;
3520 # Conflict between --help and --header
3521 { { echo "$as_me:3521: error: ambiguous option: $1
3522 Try \`$0 --help' for more information." >&5
3523 echo "$as_me: error: ambiguous option: $1
3524 Try \`$0 --help' for more information." >&2;}
3525 { (exit 1); exit 1; }; };;
3526 --help |
--hel |
-h )
3527 echo "$ac_cs_usage"; exit 0 ;;
3528 --debug |
--d* |
-d )
3530 --file |
--fil |
--fi |
--f )
3532 CONFIG_FILES
="$CONFIG_FILES $1"
3533 ac_need_defaults
=false
;;
3534 --header |
--heade |
--head |
--hea )
3536 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
3537 ac_need_defaults
=false
;;
3540 -*) { { echo "$as_me:3540: error: unrecognized option: $1
3541 Try \`$0 --help' for more information." >&5
3542 echo "$as_me: error: unrecognized option: $1
3543 Try \`$0 --help' for more information." >&2;}
3544 { (exit 1); exit 1; }; } ;;
3546 *) ac_config_targets
="$ac_config_targets $1" ;;
3555 ## ----------------------- ##
3556 ## Running config.status. ##
3557 ## ----------------------- ##
3559 This file was extended by $as_me 2.52, executed with
3560 CONFIG_FILES = $CONFIG_FILES
3561 CONFIG_HEADERS = $CONFIG_HEADERS
3562 CONFIG_LINKS = $CONFIG_LINKS
3563 CONFIG_COMMANDS = $CONFIG_COMMANDS
3565 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3570 cat >>$CONFIG_STATUS <<\EOF
3571 for ac_config_target
in $ac_config_targets
3573 case "$ac_config_target" in
3574 # Handling of arguments.
3575 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3576 "sys/nix/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS sys/nix/config.h" ;;
3577 *) { { echo "$as_me:3577: error: invalid argument: $ac_config_target" >&5
3578 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3579 { (exit 1); exit 1; }; };;
3583 # If the user did not use the arguments to specify the items to instantiate,
3584 # then the envvar interface is used. Set only those that are not.
3585 # We use the long form for the default assignment because of an extremely
3586 # bizarre bug on SunOS 4.1.3.
3587 if $ac_need_defaults; then
3588 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3589 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
3592 # Create a temporary directory, and hook for its removal unless debugging.
3595 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3596 trap '{ (exit 1); exit 1; }' 1 2 13 15
3599 # Create a (secure) tmp directory for tmp files.
3602 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3603 test -n "$tmp" && test -d "$tmp"
3606 tmp
=$TMPDIR/cs$$
-$RANDOM
3607 (umask 077 && mkdir
$tmp)
3610 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3611 { (exit 1); exit 1; }
3616 cat >>$CONFIG_STATUS <<EOF
3619 # CONFIG_FILES section.
3622 # No need to generate the scripts if there are no CONFIG_FILES.
3623 # This happens for instance when ./config.status config.h
3624 if test -n "\$CONFIG_FILES"; then
3625 # Protect against being on the right side of a sed subst in config.status.
3626 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3627 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3628 s,@SHELL@,$SHELL,;t t
3629 s,@exec_prefix@,$exec_prefix,;t t
3630 s,@prefix@,$prefix,;t t
3631 s,@program_transform_name@,$program_transform_name,;t t
3632 s,@bindir@,$bindir,;t t
3633 s,@sbindir@,$sbindir,;t t
3634 s,@libexecdir@,$libexecdir,;t t
3635 s,@datadir@,$datadir,;t t
3636 s,@sysconfdir@,$sysconfdir,;t t
3637 s,@sharedstatedir@,$sharedstatedir,;t t
3638 s,@localstatedir@,$localstatedir,;t t
3639 s,@libdir@,$libdir,;t t
3640 s,@includedir@,$includedir,;t t
3641 s,@oldincludedir@,$oldincludedir,;t t
3642 s,@infodir@,$infodir,;t t
3643 s,@mandir@,$mandir,;t t
3644 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3645 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3646 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3647 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3648 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3649 s,@build_alias@,$build_alias,;t t
3650 s,@host_alias@,$host_alias,;t t
3651 s,@target_alias@,$target_alias,;t t
3652 s,@ECHO_C@,$ECHO_C,;t t
3653 s,@ECHO_N@,$ECHO_N,;t t
3654 s,@ECHO_T@,$ECHO_T,;t t
3655 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3659 s,@CFLAGS@,$CFLAGS,;t t
3660 s,@LDFLAGS@,$LDFLAGS,;t t
3661 s,@CPPFLAGS@,$CPPFLAGS,;t t
3662 s,@ac_ct_CC@,$ac_ct_CC,;t t
3663 s,@EXEEXT@,$EXEEXT,;t t
3664 s,@OBJEXT@,$OBJEXT,;t t
3666 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3667 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3668 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3669 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
3670 s,@SYS_DEFS@,$SYS_DEFS,;t t
3671 s,@ENDIAN@,$ENDIAN,;t t
3672 s,@SOUND@,$SOUND,;t t
3675 s,@ASM_OBJS@,$ASM_OBJS,;t t
3676 s,@FB_OBJS@,$FB_OBJS,;t t
3677 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
3678 s,@SDL_LIBS@,$SDL_LIBS,;t t
3679 s,@TARGETS@,$TARGETS,;t t
3680 s,@XINCS@,$XINCS,;t t
3681 s,@XLIBS@,$XLIBS,;t t
3686 cat >>$CONFIG_STATUS <<\EOF
3687 # Split the substitutions into bite-sized pieces for seds with
3688 # small command number limits, like on Digital OSF/1 and HP-UX.
3690 ac_sed_frag
=1 # Number of current file.
3691 ac_beg
=1 # First line for current file.
3692 ac_end
=$ac_max_sed_lines # Line after last line for current file.
3695 while $ac_more_lines; do
3696 if test $ac_beg -gt 1; then
3697 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3699 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3701 if test ! -s $tmp/subs.frag
; then
3704 # The purpose of the label and of the branching condition is to
3705 # speed up the sed processing (if there are no `@' at all, there
3706 # is no need to browse any of the substitutions).
3707 # These are the two extra sed commands mentioned above.
3709 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
3710 if test -z "$ac_sed_cmds"; then
3711 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
3713 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3715 ac_sed_frag
=`expr $ac_sed_frag + 1`
3717 ac_end
=`expr $ac_end + $ac_max_sed_lines`
3720 if test -z "$ac_sed_cmds"; then
3723 fi # test -n "$CONFIG_FILES"
3726 cat >>$CONFIG_STATUS <<\EOF
3727 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
3728 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3730 - |
*:- |
*:-:* ) # input from stdin
3732 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3733 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3734 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3735 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3736 * ) ac_file_in
=$ac_file.
in ;;
3739 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3740 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3741 X"$ac_file" : 'X\(//\)[^/]' \| \
3742 X"$ac_file" : 'X\(//\)$' \| \
3743 X"$ac_file" : 'X\(/\)' \| \
3744 . : '\(.\)' 2>/dev/null ||
3746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3747 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3748 /^X\(\/\/\)$/{ s//\1/; q; }
3749 /^X\(\/\).*/{ s//\1/; q; }
3751 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
3753 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
3757 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3758 case $as_mkdir_dir in
3759 # Skip DOS drivespec
3760 ?
:) as_incr_dir
=$as_mkdir_dir ;;
3762 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
3763 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
3768 ac_dir_suffix
="/`echo $ac_dir|sed 's,^\./,,'`"
3769 # A "../" for each directory in $ac_dir_suffix.
3770 ac_dots
=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
3772 ac_dir_suffix
= ac_dots
=
3777 if test -z "$ac_dots"; then
3780 ac_top_srcdir
=`echo $ac_dots | sed 's,/$,,'`
3783 ac_srcdir
=$srcdir$ac_dir_suffix;
3784 ac_top_srcdir
=$srcdir ;;
3786 ac_srcdir
=$ac_dots$srcdir$ac_dir_suffix
3787 ac_top_srcdir
=$ac_dots$srcdir ;;
3791 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
3792 *) ac_INSTALL
=$ac_dots$INSTALL ;;
3795 if test x
"$ac_file" != x-
; then
3796 { echo "$as_me:3796: creating $ac_file" >&5
3797 echo "$as_me: creating $ac_file" >&6;}
3800 # Let's still pretend it is `configure' which instantiates (i.e., don't
3801 # use $as_me), people would be surprised to read:
3802 # /* config.h. Generated automatically by config.status. */
3803 configure_input
="Generated automatically from `echo $ac_file_in |
3804 sed 's,.*/,,'` by configure."
3806 # First look for the input files in the build tree, otherwise in the
3808 ac_file_inputs
=`IFS=:
3809 for f in $ac_file_in; do
3811 -) echo $tmp/stdin ;;
3813 # Absolute (can't be DOS-style, as IFS=:)
3814 test -f "$f" || { { echo "$as_me:3814: error: cannot find input file: $f" >&5
3815 echo "$as_me: error: cannot find input file: $f" >&2;}
3816 { (exit 1); exit 1; }; }
3819 if test -f "$f"; then
3822 elif test -f "$srcdir/$f"; then
3827 { { echo "$as_me:3827: error: cannot find input file: $f" >&5
3828 echo "$as_me: error: cannot find input file: $f" >&2;}
3829 { (exit 1); exit 1; }; }
3832 done` ||
{ (exit 1); exit 1; }
3834 cat >>$CONFIG_STATUS <<EOF
3838 cat >>$CONFIG_STATUS <<\EOF
3840 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
3841 s
,@configure_input@
,$configure_input,;t t
3842 s
,@srcdir@
,$ac_srcdir,;t t
3843 s
,@top_srcdir@
,$ac_top_srcdir,;t t
3844 s
,@INSTALL@
,$ac_INSTALL,;t t
3845 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3847 if test x"$ac_file" != x-; then
3848 mv $tmp/out $ac_file
3856 cat >>$CONFIG_STATUS <<\EOF
3859 # CONFIG_HEADER section.
3862 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
3863 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3865 # ac_d sets the value in "#define NAME VALUE" lines.
3866 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3867 ac_dB
='[ ].*$,\1#\2'
3870 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3871 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3872 ac_uB
='$,\1#\2define\3'
3876 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
3877 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3879 - |
*:- |
*:-:* ) # input from stdin
3881 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3882 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3883 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3884 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3885 * ) ac_file_in
=$ac_file.
in ;;
3888 test x
"$ac_file" != x-
&& { echo "$as_me:3888: creating $ac_file" >&5
3889 echo "$as_me: creating $ac_file" >&6;}
3891 # First look for the input files in the build tree, otherwise in the
3893 ac_file_inputs
=`IFS=:
3894 for f in $ac_file_in; do
3896 -) echo $tmp/stdin ;;
3898 # Absolute (can't be DOS-style, as IFS=:)
3899 test -f "$f" || { { echo "$as_me:3899: error: cannot find input file: $f" >&5
3900 echo "$as_me: error: cannot find input file: $f" >&2;}
3901 { (exit 1); exit 1; }; }
3904 if test -f "$f"; then
3907 elif test -f "$srcdir/$f"; then
3912 { { echo "$as_me:3912: error: cannot find input file: $f" >&5
3913 echo "$as_me: error: cannot find input file: $f" >&2;}
3914 { (exit 1); exit 1; }; }
3917 done` ||
{ (exit 1); exit 1; }
3918 # Remove the trailing spaces.
3919 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3923 # Transform confdefs.h into two sed scripts, `conftest.defines' and
3924 # `conftest.undefs', that substitutes the proper values into
3925 # config.h.in to produce config.h. The first handles `#define'
3926 # templates, and the second `#undef' templates.
3927 # And first: Protect against being on the right side of a sed subst in
3928 # config.status. Protect against being in an unquoted here document
3930 rm -f conftest.defines conftest.undefs
3931 # Using a here document instead of a string reduces the quoting nightmare.
3932 # Putting comments in sed scripts is not portable.
3934 # `end' is used to avoid that the second main sed command (meant for
3935 # 0-ary CPP macros) applies to n-ary macro definitions.
3936 # See the Autoconf documentation for `clear'.
3937 cat >confdef2sed.
sed <<\EOF
3942 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
3944 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3947 # If some macros were called several times there might be several times
3948 # the same #defines, which is useless. Nevertheless, we may not want to
3949 # sort them, since we want the *last* AC-DEFINE to be honored.
3950 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3951 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3952 rm -f confdef2sed.sed
3954 # This sed command replaces #undef with comments. This is necessary, for
3955 # example, in the case of _POSIX_SOURCE, which is predefined and required
3956 # on some systems where configure will not decide to define it.
3957 cat >>conftest.undefs <<\EOF
3958 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3961 # Break up conftest.defines because some shells have a limit on the size
3962 # of here documents, and old seds have small limits too (100 cmds).
3963 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3964 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3965 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3966 echo ' :' >>$CONFIG_STATUS
3968 while grep . conftest.defines >/dev/null
3970 # Write a limited-size here document to $tmp/defines.sed.
3971 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3972 # Speed up: don't consider the non `#define' lines.
3973 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3974 # Work around the forget-to-reset-the-flag bug.
3975 echo 't clr' >>$CONFIG_STATUS
3976 echo ': clr' >>$CONFIG_STATUS
3977 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
3979 sed -f $tmp/defines.sed $tmp/in >$tmp/out
3983 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
3984 rm -f conftest.defines
3985 mv conftest.
tail conftest.defines
3987 rm -f conftest.defines
3988 echo ' fi # egrep' >>$CONFIG_STATUS
3989 echo >>$CONFIG_STATUS
3991 # Break up conftest.undefs because some shells have a limit on the size
3992 # of here documents, and old seds have small limits too (100 cmds).
3993 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3995 while grep . conftest.undefs
>/dev
/null
3997 # Write a limited-size here document to $tmp/undefs.sed.
3998 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3999 # Speed up: don't consider the non
`#undef'
4000 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4001 # Work around the forget-to-reset-the-flag bug.
4002 echo 't clr' >>$CONFIG_STATUS
4003 echo ': clr' >>$CONFIG_STATUS
4004 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4006 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4010 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4011 rm -f conftest.undefs
4012 mv conftest.tail conftest.undefs
4014 rm -f conftest.undefs
4016 cat >>$CONFIG_STATUS <<\EOF
4017 # Let's still pretend it is `configure
' which instantiates (i.e., don't
4018 # use $as_me), people would be surprised to read:
4019 # /* config.h. Generated automatically by config.status. */
4020 if test x
"$ac_file" = x-
; then
4021 echo "/* Generated automatically by configure. */" >$tmp/config.h
4023 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
4025 cat $tmp/in >>$tmp/config.h
4027 if test x
"$ac_file" != x-
; then
4028 if cmp -s $ac_file $tmp/config.h
2>/dev
/null
; then
4029 { echo "$as_me:4029: $ac_file is unchanged" >&5
4030 echo "$as_me: $ac_file is unchanged" >&6;}
4032 ac_dir
=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4033 X"$ac_file" : 'X\(//\)[^/]' \| \
4034 X"$ac_file" : 'X\(//\)$' \| \
4035 X"$ac_file" : 'X\(/\)' \| \
4036 . : '\(.\)' 2>/dev/null ||
4038 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4039 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4040 /^X\(\/\/\)$/{ s//\1/; q; }
4041 /^X\(\/\).*/{ s//\1/; q; }
4043 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
4045 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
4049 for as_mkdir_dir
in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4050 case $as_mkdir_dir in
4051 # Skip DOS drivespec
4052 ?
:) as_incr_dir
=$as_mkdir_dir ;;
4054 as_incr_dir
=$as_incr_dir/$as_mkdir_dir
4055 test -d "$as_incr_dir" || mkdir
"$as_incr_dir"
4062 mv $tmp/config.h
$ac_file
4071 cat >>$CONFIG_STATUS <<\EOF
4073 { (exit 0); exit 0; }
4075 chmod +x
$CONFIG_STATUS
4076 ac_clean_files
=$ac_clean_files_save
4078 # configure is writing to config.log, and then calls config.status.
4079 # config.status does its own redirection, appending to config.log.
4080 # Unfortunately, on DOS this fails, as config.log is still kept open
4081 # by configure, so config.status won't be able to write to it; its
4082 # output is simply discarded. So we exec the FD to /dev/null,
4083 # effectively closing config.log, so it can be properly (re)opened and
4084 # appended to by config.status. When coming back to configure, we
4085 # need to make the FD available again.
4086 if test "$no_create" != yes; then
4089 $SHELL $CONFIG_STATUS || ac_cs_success
=false
4091 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4092 # would make configure fail if this is the last instruction.
4093 $ac_cs_success ||
{ (exit 1); exit 1; }