2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="Makefile.am"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB SDL_CONFIG SDL_CFLAGS SDL_LIBS warp_flag audio_flag mixer_flag build build_cpu build_vendor build_os host host_cpu host_vendor host_os doc_dir network_flag inst_flag hi_inst_flag inst_dir hi_dir win32_deps arch_flag ISCC win32_inst_script appname LIBOBJS LTLIBOBJS'
278 # Initialize some variables set by options.
280 ac_init_version
=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name
=s
,x
,x
,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir
='${exec_prefix}/bin'
304 sbindir
='${exec_prefix}/sbin'
305 libexecdir
='${exec_prefix}/libexec'
306 datadir
='${prefix}/share'
307 sysconfdir
='${prefix}/etc'
308 sharedstatedir
='${prefix}/com'
309 localstatedir
='${prefix}/var'
310 libdir
='${exec_prefix}/lib'
311 includedir
='${prefix}/include'
312 oldincludedir
='/usr/include'
313 infodir
='${prefix}/info'
314 mandir
='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
334 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
337 -build |
--build |
--buil |
--bui |
--bu)
338 ac_prev
=build_alias
;;
339 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
340 build_alias
=$ac_optarg ;;
342 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
343 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
344 ac_prev
=cache_file
;;
345 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
346 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
347 cache_file
=$ac_optarg ;;
350 cache_file
=config.cache
;;
352 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
354 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
356 datadir
=$ac_optarg ;;
358 -disable-* |
--disable-*)
359 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* |
--enable-*)
368 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
381 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
382 |
--exec |
--exe |
--ex)
383 ac_prev
=exec_prefix
;;
384 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
385 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
386 |
--exec=* |
--exe=* |
--ex=*)
387 exec_prefix
=$ac_optarg ;;
389 -gas |
--gas |
--ga |
--g)
390 # Obsolete; use --with-gas.
393 -help |
--help |
--hel |
--he |
-h)
395 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
396 ac_init_help
=recursive
;;
397 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
398 ac_init_help
=short
;;
400 -host |
--host |
--hos |
--ho)
401 ac_prev
=host_alias
;;
402 -host=* |
--host=* |
--hos=* |
--ho=*)
403 host_alias
=$ac_optarg ;;
405 -includedir |
--includedir |
--includedi |
--included |
--include \
406 |
--includ |
--inclu |
--incl |
--inc)
407 ac_prev
=includedir
;;
408 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
409 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
410 includedir
=$ac_optarg ;;
412 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
414 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
415 infodir
=$ac_optarg ;;
417 -libdir |
--libdir |
--libdi |
--libd)
419 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
422 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
423 |
--libexe |
--libex |
--libe)
424 ac_prev
=libexecdir
;;
425 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
426 |
--libexe=* |
--libex=* |
--libe=*)
427 libexecdir
=$ac_optarg ;;
429 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
430 |
--localstate |
--localstat |
--localsta |
--localst \
431 |
--locals |
--local |
--loca |
--loc |
--lo)
432 ac_prev
=localstatedir
;;
433 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
434 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
435 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
436 localstatedir
=$ac_optarg ;;
438 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
440 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
444 # Obsolete; use --without-fp.
447 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
448 |
--no-cr |
--no-c |
-n)
451 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
452 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
455 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
456 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
457 |
--oldin |
--oldi |
--old |
--ol |
--o)
458 ac_prev
=oldincludedir
;;
459 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
460 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
461 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
462 oldincludedir
=$ac_optarg ;;
464 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
466 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
469 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
470 |
--program-pre |
--program-pr |
--program-p)
471 ac_prev
=program_prefix
;;
472 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
473 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
474 program_prefix
=$ac_optarg ;;
476 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
477 |
--program-suf |
--program-su |
--program-s)
478 ac_prev
=program_suffix
;;
479 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
480 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
481 program_suffix
=$ac_optarg ;;
483 -program-transform-name |
--program-transform-name \
484 |
--program-transform-nam |
--program-transform-na \
485 |
--program-transform-n |
--program-transform- \
486 |
--program-transform |
--program-transfor \
487 |
--program-transfo |
--program-transf \
488 |
--program-trans |
--program-tran \
489 |
--progr-tra |
--program-tr |
--program-t)
490 ac_prev
=program_transform_name
;;
491 -program-transform-name=* |
--program-transform-name=* \
492 |
--program-transform-nam=* |
--program-transform-na=* \
493 |
--program-transform-n=* |
--program-transform-=* \
494 |
--program-transform=* |
--program-transfor=* \
495 |
--program-transfo=* |
--program-transf=* \
496 |
--program-trans=* |
--program-tran=* \
497 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
498 program_transform_name
=$ac_optarg ;;
500 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
501 |
-silent |
--silent |
--silen |
--sile |
--sil)
504 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
506 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
508 sbindir
=$ac_optarg ;;
510 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
511 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
512 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
514 ac_prev
=sharedstatedir
;;
515 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
516 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
517 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
519 sharedstatedir
=$ac_optarg ;;
521 -site |
--site |
--sit)
523 -site=* |
--site=* |
--sit=*)
526 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
528 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
531 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
532 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
533 ac_prev
=sysconfdir
;;
534 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
535 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
536 sysconfdir
=$ac_optarg ;;
538 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
539 ac_prev
=target_alias
;;
540 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
541 target_alias
=$ac_optarg ;;
543 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
546 -version |
--version |
--versio |
--versi |
--vers |
-V)
550 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package
=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* |
--without-*)
563 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package
=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
576 |
--x-incl |
--x-inc |
--x-in |
--x-i)
577 ac_prev
=x_includes
;;
578 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
579 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
580 x_includes
=$ac_optarg ;;
582 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
583 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
584 ac_prev
=x_libraries
;;
585 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
586 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
587 x_libraries
=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var
in exec_prefix prefix
624 eval ac_val
=$
`echo $ac_var`
626 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val
=$
`echo $ac_var`
638 [\\/$
]* | ?
:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x
; then
653 if test "x$build_alias" = x
; then
654 cross_compiling
=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
665 test "$silent" = yes && exec 6>/dev
/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted
=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir
=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted
=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set
=${build_alias+set}
705 ac_env_build_alias_value
=$build_alias
706 ac_cv_env_build_alias_set
=${build_alias+set}
707 ac_cv_env_build_alias_value
=$build_alias
708 ac_env_host_alias_set
=${host_alias+set}
709 ac_env_host_alias_value
=$host_alias
710 ac_cv_env_host_alias_set
=${host_alias+set}
711 ac_cv_env_host_alias_value
=$host_alias
712 ac_env_target_alias_set
=${target_alias+set}
713 ac_env_target_alias_value
=$target_alias
714 ac_cv_env_target_alias_set
=${target_alias+set}
715 ac_cv_env_target_alias_value
=$target_alias
716 ac_env_CC_set
=${CC+set}
718 ac_cv_env_CC_set
=${CC+set}
719 ac_cv_env_CC_value
=$CC
720 ac_env_CFLAGS_set
=${CFLAGS+set}
721 ac_env_CFLAGS_value
=$CFLAGS
722 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value
=$CFLAGS
724 ac_env_LDFLAGS_set
=${LDFLAGS+set}
725 ac_env_LDFLAGS_value
=$LDFLAGS
726 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value
=$LDFLAGS
728 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value
=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
734 # Report the --help message.
736 if test "$ac_init_help" = "long"; then
737 # Omit some internal or obsolete options to make the list less imposing.
738 # This message is too long to be a string in the A/UX 3.1 sh.
740 \`configure' configures this package to adapt to many kinds of systems.
742 Usage: $0 [OPTION]... [VAR=VALUE]...
744 To assign environment variables (e.g., CC, CFLAGS...), specify them as
745 VAR=VALUE. See below for descriptions of some of the useful variables.
747 Defaults for the options are specified in brackets.
750 -h, --help display this help and exit
751 --help=short display options specific to this package
752 --help=recursive display the short help of all the included packages
753 -V, --version display version information and exit
754 -q, --quiet, --silent do not print \`checking...' messages
755 --cache-file=FILE cache test results in FILE [disabled]
756 -C, --config-cache alias for \`--cache-file=config.cache'
757 -n, --no-create do not create output files
758 --srcdir=DIR find the sources in DIR [configure dir or \`..']
763 Installation directories:
764 --prefix=PREFIX install architecture-independent files in PREFIX
766 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
769 By default, \`make install' will install all the files in
770 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772 for instance \`--prefix=\$HOME'.
774 For better control, use the options below.
776 Fine tuning of the installation directories:
777 --bindir=DIR user executables [EPREFIX/bin]
778 --sbindir=DIR system admin executables [EPREFIX/sbin]
779 --libexecdir=DIR program executables [EPREFIX/libexec]
780 --datadir=DIR read-only architecture-independent data [PREFIX/share]
781 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
784 --libdir=DIR object code libraries [EPREFIX/lib]
785 --includedir=DIR C header files [PREFIX/include]
786 --oldincludedir=DIR C header files for non-gcc [/usr/include]
787 --infodir=DIR info documentation [PREFIX/info]
788 --mandir=DIR man documentation [PREFIX/man]
794 --program-prefix=PREFIX prepend PREFIX to installed program names
795 --program-suffix=SUFFIX append SUFFIX to installed program names
796 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
799 --build=BUILD configure
for building on BUILD
[guessed
]
800 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
804 if test -n "$ac_init_help"; then
809 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
810 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
811 --disable-dependency-tracking Speeds up one-time builds
812 --enable-dependency-tracking Do not reject slow dependency extractors
813 --disable-sdltest Do not try to compile and run a
test SDL program
814 --enable-warp Enable mouse warp
(for BeOS and Mac
)
815 --disable-audio Disables Audio
816 --disable-network No network support.
817 --disable-install No installation. Played from the
source directory.
820 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
821 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
822 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
823 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
824 --with-doc-path=DPATH Directory where documentation is saved.
825 --with-highscore-path=HPATH Directory where global highscore chart is saved.
826 --with-inst-path=IPATH Directory where the game
's data is places.
828 Some influential environment variables:
829 CC C compiler command
830 CFLAGS C compiler flags
831 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
832 nonstandard directory <lib dir>
833 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
834 headers in a nonstandard directory <include dir>
836 Use these variables to override the choices made by `configure' or to
help
837 it to
find libraries and programs with nonstandard names
/locations.
842 if test "$ac_init_help" = "recursive"; then
843 # If there are subdirs, report their specific --help.
845 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
846 test -d $ac_dir ||
continue
849 if test "$ac_dir" != .
; then
850 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
851 # A "../" for each directory in $ac_dir_suffix.
852 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
854 ac_dir_suffix
= ac_top_builddir
=
858 .
) # No --srcdir option. We are building in place.
860 if test -z "$ac_top_builddir"; then
863 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
865 [\\/]* | ?
:[\\/]* ) # Absolute path.
866 ac_srcdir
=$srcdir$ac_dir_suffix;
867 ac_top_srcdir
=$srcdir ;;
869 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
870 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
873 # Do not use `cd foo && pwd` to compute absolute paths, because
874 # the directories may not exist.
876 .
) ac_abs_builddir
="$ac_dir";;
879 .
) ac_abs_builddir
=`pwd`;;
880 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
881 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
884 case $ac_abs_builddir in
885 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
887 case ${ac_top_builddir}.
in
888 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
889 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
890 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
893 case $ac_abs_builddir in
894 .
) ac_abs_srcdir
=$ac_srcdir;;
897 .
) ac_abs_srcdir
=$ac_abs_builddir;;
898 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
899 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
902 case $ac_abs_builddir in
903 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
905 case $ac_top_srcdir in
906 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
907 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
908 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
913 # Check for guested configure; otherwise get Cygnus style configure.
914 if test -f $ac_srcdir/configure.gnu
; then
916 $SHELL $ac_srcdir/configure.gnu
--help=recursive
917 elif test -f $ac_srcdir/configure
; then
919 $SHELL $ac_srcdir/configure
--help=recursive
920 elif test -f $ac_srcdir/configure.ac ||
921 test -f $ac_srcdir/configure.
in; then
925 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
931 test -n "$ac_init_help" && exit 0
932 if $ac_init_version; then
935 Copyright
(C
) 2003 Free Software Foundation
, Inc.
936 This configure
script is free software
; the Free Software Foundation
937 gives unlimited permission to copy
, distribute and modify it.
943 This file contains any messages produced by compilers while
944 running configure, to aid debugging if configure makes a mistake.
946 It was created by $as_me, which was
947 generated by GNU Autoconf 2.59. Invocation command line was
958 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
959 uname -m = `(uname -m) 2>/dev/null || echo unknown`
960 uname -r = `(uname -r) 2>/dev/null || echo unknown`
961 uname -s = `(uname -s) 2>/dev/null || echo unknown`
962 uname -v = `(uname -v) 2>/dev/null || echo unknown`
964 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
965 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
967 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
968 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
969 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
970 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
971 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
972 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
973 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
981 test -z "$as_dir" && as_dir
=.
997 # Keep a trace of the command line.
998 # Strip out --no-create and --no-recursion so they do not pile up.
999 # Strip out --silent because we don't want to record it for future runs.
1000 # Also quote any args containing shell meta-characters.
1001 # Make two passes to allow for proper duplicate-argument suppression.
1006 ac_must_keep_next
=false
1012 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1013 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1014 |
-silent |
--silent |
--silen |
--sile |
--sil)
1016 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1017 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1020 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1022 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1023 if test $ac_must_keep_next = true
; then
1024 ac_must_keep_next
=false
# Got value, back to normal.
1027 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1028 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1029 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1030 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1031 case "$ac_configure_args0 " in
1032 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1035 -* ) ac_must_keep_next
=true
;;
1038 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1039 # Get rid of the leading space.
1045 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1046 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1048 # When interrupted or exit'd, cleanup temporary files, and complete
1049 # config.log. We remove comments because anyway the quotes in there
1050 # would cause problems or look ugly.
1051 # WARNING: Be sure not to use single quotes in there, as some shells,
1052 # such as our DU 5.0 friend, will then `close' the trap.
1053 trap 'exit_status=$?
1054 # Save into config.log some information that might help in debugging.
1059 ## ---------------- ##
1060 ## Cache variables. ##
1061 ## ---------------- ##
1064 # The following way of writing the cache mishandles newlines in values,
1067 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1070 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1075 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1082 ## ----------------- ##
1083 ## Output variables. ##
1084 ## ----------------- ##
1087 for ac_var in $ac_subst_vars
1089 eval ac_val=$`echo $ac_var`
1090 echo "$ac_var='"'"'$ac_val'"'"'"
1094 if test -n "$ac_subst_files"; then
1101 for ac_var in $ac_subst_files
1103 eval ac_val=$`echo $ac_var`
1104 echo "$ac_var='"'"'$ac_val'"'"'"
1109 if test -s confdefs.h; then
1116 sed "/^$/d" confdefs.h | sort
1119 test "$ac_signal" != 0 &&
1120 echo "$as_me: caught signal $ac_signal"
1121 echo "$as_me: exit $exit_status"
1123 rm -f core *.core &&
1124 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1127 for ac_signal
in 1 2 13 15; do
1128 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1132 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1133 rm -rf conftest
* confdefs.h
1134 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1137 # Predefined preprocessor variables.
1139 cat >>confdefs.h
<<_ACEOF
1140 #define PACKAGE_NAME "$PACKAGE_NAME"
1144 cat >>confdefs.h
<<_ACEOF
1145 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1149 cat >>confdefs.h
<<_ACEOF
1150 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1154 cat >>confdefs.h
<<_ACEOF
1155 #define PACKAGE_STRING "$PACKAGE_STRING"
1159 cat >>confdefs.h
<<_ACEOF
1160 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1164 # Let the site file select an alternate cache file if it wants to.
1165 # Prefer explicitly selected file to automatically selected ones.
1166 if test -z "$CONFIG_SITE"; then
1167 if test "x$prefix" != xNONE
; then
1168 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1170 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1173 for ac_site_file
in $CONFIG_SITE; do
1174 if test -r "$ac_site_file"; then
1175 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1176 echo "$as_me: loading site script $ac_site_file" >&6;}
1177 sed 's/^/| /' "$ac_site_file" >&5
1182 if test -r "$cache_file"; then
1183 # Some versions of bash will fail to source /dev/null (special
1184 # files actually), so we avoid doing that.
1185 if test -f "$cache_file"; then
1186 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1187 echo "$as_me: loading cache $cache_file" >&6;}
1189 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1190 *) . .
/$cache_file;;
1194 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1195 echo "$as_me: creating cache $cache_file" >&6;}
1199 # Check that the precious variables saved in the cache have kept the same
1201 ac_cache_corrupted
=false
1202 for ac_var
in `(set) 2>&1 |
1203 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1204 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1205 eval ac_new_set
=\
$ac_env_${ac_var}_set
1206 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1207 eval ac_new_val
="\$ac_env_${ac_var}_value"
1208 case $ac_old_set,$ac_new_set in
1210 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1211 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1212 ac_cache_corrupted
=: ;;
1214 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1215 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1216 ac_cache_corrupted
=: ;;
1219 if test "x$ac_old_val" != "x$ac_new_val"; then
1220 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1221 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1222 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1223 echo "$as_me: former value: $ac_old_val" >&2;}
1224 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1225 echo "$as_me: current value: $ac_new_val" >&2;}
1226 ac_cache_corrupted
=:
1229 # Pass precious variables to config.status.
1230 if test "$ac_new_set" = set; then
1232 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1233 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1234 *) ac_arg
=$ac_var=$ac_new_val ;;
1236 case " $ac_configure_args " in
1237 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1238 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1242 if $ac_cache_corrupted; then
1243 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1244 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1245 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1246 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1247 { (exit 1); exit 1; }; }
1251 ac_cpp
='$CPP $CPPFLAGS'
1252 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1253 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1254 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1275 ac_config_headers
="$ac_config_headers config.h"
1278 am__api_version
="1.7"
1280 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1281 if test -f $ac_dir/install-sh
; then
1283 ac_install_sh
="$ac_aux_dir/install-sh -c"
1285 elif test -f $ac_dir/install.sh
; then
1287 ac_install_sh
="$ac_aux_dir/install.sh -c"
1289 elif test -f $ac_dir/shtool
; then
1291 ac_install_sh
="$ac_aux_dir/shtool install -c"
1295 if test -z "$ac_aux_dir"; then
1296 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1297 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1298 { (exit 1); exit 1; }; }
1300 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1301 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1302 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1304 # Find a good install program. We prefer a C program (faster),
1305 # so one script is as good as another. But avoid the broken or
1306 # incompatible versions:
1307 # SysV /etc/install, /usr/sbin/install
1308 # SunOS /usr/etc/install
1309 # IRIX /sbin/install
1311 # AmigaOS /C/install, which installs bootblocks on floppy discs
1312 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1313 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1314 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1315 # OS/2's system install, which has a completely different semantic
1316 # ./install, which can be erroneously created by make from ./install.sh.
1317 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1318 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1319 if test -z "$INSTALL"; then
1320 if test "${ac_cv_path_install+set}" = set; then
1321 echo $ECHO_N "(cached) $ECHO_C" >&6
1323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1327 test -z "$as_dir" && as_dir
=.
1328 # Account for people who put trailing slashes in PATH elements.
1330 .
/ | .
// |
/cC
/* | \
1331 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1332 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1335 # OSF1 and SCO ODT 3.0 have their own names for install.
1336 # Don't use installbsd from OSF since it installs stuff as root
1338 for ac_prog
in ginstall scoinst
install; do
1339 for ac_exec_ext
in '' $ac_executable_extensions; do
1340 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1341 if test $ac_prog = install &&
1342 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1343 # AIX install. It has an incompatible calling convention.
1345 elif test $ac_prog = install &&
1346 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1347 # program-specific install script used by HP pwplus--don't use.
1350 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1362 if test "${ac_cv_path_install+set}" = set; then
1363 INSTALL
=$ac_cv_path_install
1365 # As a last resort, use the slow shell script. We don't cache a
1366 # path for INSTALL within a source directory, because that will
1367 # break other packages using the cache if that directory is
1368 # removed, or if the path is relative.
1369 INSTALL
=$ac_install_sh
1372 echo "$as_me:$LINENO: result: $INSTALL" >&5
1373 echo "${ECHO_T}$INSTALL" >&6
1375 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1376 # It thinks the first close brace ends the variable substitution.
1377 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1379 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1381 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1383 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1384 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1387 echo timestamp
> conftest.
file
1388 # Do `set' in a subshell so we don't clobber the current shell's
1389 # arguments. Must try -L first in case configure is actually a
1390 # symlink; some systems play weird games with the mod time of symlinks
1391 # (eg FreeBSD returns the mod time of the symlink's containing
1394 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1395 if test "$*" = "X"; then
1397 set X
`ls -t $srcdir/configure conftest.file`
1400 if test "$*" != "X $srcdir/configure conftest.file" \
1401 && test "$*" != "X conftest.file $srcdir/configure"; then
1403 # If neither matched, then we have a broken ls. This can happen
1404 # if, for instance, CONFIG_SHELL is bash and it inherits a
1405 # broken ls alias from the environment. This has actually
1406 # happened. Such a system could not be considered "sane".
1407 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1408 alias in your environment" >&5
1409 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1410 alias in your environment" >&2;}
1411 { (exit 1); exit 1; }; }
1414 test "$2" = conftest.
file
1420 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1421 Check your system clock" >&5
1422 echo "$as_me: error: newly created file is older than distributed files!
1423 Check your system clock" >&2;}
1424 { (exit 1); exit 1; }; }
1426 echo "$as_me:$LINENO: result: yes" >&5
1427 echo "${ECHO_T}yes" >&6
1428 test "$program_prefix" != NONE
&&
1429 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1430 # Use a double $ so make ignores it.
1431 test "$program_suffix" != NONE
&&
1432 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1433 # Double any \ or $. echo might interpret backslashes.
1434 # By default was `s,x,x', remove it if useless.
1435 cat <<\_ACEOF
>conftest.
sed
1436 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1438 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1442 # expand $ac_aux_dir to an absolute path
1443 am_aux_dir
=`cd $ac_aux_dir && pwd`
1445 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1446 # Use eval to expand $SHELL
1447 if eval "$MISSING --run true"; then
1448 am_missing_run
="$MISSING --run "
1451 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1452 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1455 for ac_prog
in gawk mawk nawk
awk
1457 # Extract the first word of "$ac_prog", so it can be a program name with args.
1458 set dummy
$ac_prog; ac_word
=$2
1459 echo "$as_me:$LINENO: checking for $ac_word" >&5
1460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1461 if test "${ac_cv_prog_AWK+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 if test -n "$AWK"; then
1465 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1471 test -z "$as_dir" && as_dir
=.
1472 for ac_exec_ext
in '' $ac_executable_extensions; do
1473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1474 ac_cv_prog_AWK
="$ac_prog"
1475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1484 if test -n "$AWK"; then
1485 echo "$as_me:$LINENO: result: $AWK" >&5
1486 echo "${ECHO_T}$AWK" >&6
1488 echo "$as_me:$LINENO: result: no" >&5
1489 echo "${ECHO_T}no" >&6
1492 test -n "$AWK" && break
1495 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1496 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1497 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1498 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 cat >conftest.
make <<\_ACEOF
1503 @
echo 'ac_maketemp="$(MAKE)"'
1505 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1506 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1507 if test -n "$ac_maketemp"; then
1508 eval ac_cv_prog_make_
${ac_make}_set
=yes
1510 eval ac_cv_prog_make_
${ac_make}_set
=no
1514 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1515 echo "$as_me:$LINENO: result: yes" >&5
1516 echo "${ECHO_T}yes" >&6
1519 echo "$as_me:$LINENO: result: no" >&5
1520 echo "${ECHO_T}no" >&6
1521 SET_MAKE
="MAKE=${MAKE-make}"
1524 rm -rf .tst
2>/dev
/null
1525 mkdir .tst
2>/dev
/null
1526 if test -d .tst
; then
1531 rmdir .tst
2>/dev
/null
1533 # test to see if srcdir already configured
1534 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1535 test -f $srcdir/config.status
; then
1536 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1537 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1538 { (exit 1); exit 1; }; }
1541 # test whether we have cygpath
1542 if test -z "$CYGPATH_W"; then
1543 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1544 CYGPATH_W
='cygpath -w'
1551 # Define the identity of the package.
1556 cat >>confdefs.h
<<_ACEOF
1557 #define PACKAGE "$PACKAGE"
1561 cat >>confdefs.h
<<_ACEOF
1562 #define VERSION "$VERSION"
1565 # Some tools Automake needs.
1567 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1570 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1573 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1576 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1579 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1582 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1584 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1586 # Installed binaries are usually stripped using `strip' when the user
1587 # run `make install-strip'. However `strip' might not be the right
1588 # tool to use in cross-compilation environments, therefore Automake
1589 # will honor the `STRIP' environment variable to overrule this program.
1590 if test "$cross_compiling" != no
; then
1591 if test -n "$ac_tool_prefix"; then
1592 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1593 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1594 echo "$as_me:$LINENO: checking for $ac_word" >&5
1595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1596 if test "${ac_cv_prog_STRIP+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 if test -n "$STRIP"; then
1600 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1606 test -z "$as_dir" && as_dir
=.
1607 for ac_exec_ext
in '' $ac_executable_extensions; do
1608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1609 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1618 STRIP
=$ac_cv_prog_STRIP
1619 if test -n "$STRIP"; then
1620 echo "$as_me:$LINENO: result: $STRIP" >&5
1621 echo "${ECHO_T}$STRIP" >&6
1623 echo "$as_me:$LINENO: result: no" >&5
1624 echo "${ECHO_T}no" >&6
1628 if test -z "$ac_cv_prog_STRIP"; then
1630 # Extract the first word of "strip", so it can be a program name with args.
1631 set dummy strip
; ac_word
=$2
1632 echo "$as_me:$LINENO: checking for $ac_word" >&5
1633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1634 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 if test -n "$ac_ct_STRIP"; then
1638 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1644 test -z "$as_dir" && as_dir
=.
1645 for ac_exec_ext
in '' $ac_executable_extensions; do
1646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1647 ac_cv_prog_ac_ct_STRIP
="strip"
1648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1654 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1657 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1658 if test -n "$ac_ct_STRIP"; then
1659 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1660 echo "${ECHO_T}$ac_ct_STRIP" >&6
1662 echo "$as_me:$LINENO: result: no" >&5
1663 echo "${ECHO_T}no" >&6
1668 STRIP
="$ac_cv_prog_STRIP"
1672 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1674 # We need awk for the "check" target. The system "awk" is bad on
1681 ac_cpp
='$CPP $CPPFLAGS'
1682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1685 if test -n "$ac_tool_prefix"; then
1686 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1687 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1688 echo "$as_me:$LINENO: checking for $ac_word" >&5
1689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1690 if test "${ac_cv_prog_CC+set}" = set; then
1691 echo $ECHO_N "(cached) $ECHO_C" >&6
1693 if test -n "$CC"; then
1694 ac_cv_prog_CC
="$CC" # Let the user override the test.
1696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1700 test -z "$as_dir" && as_dir
=.
1701 for ac_exec_ext
in '' $ac_executable_extensions; do
1702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1703 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1713 if test -n "$CC"; then
1714 echo "$as_me:$LINENO: result: $CC" >&5
1715 echo "${ECHO_T}$CC" >&6
1717 echo "$as_me:$LINENO: result: no" >&5
1718 echo "${ECHO_T}no" >&6
1722 if test -z "$ac_cv_prog_CC"; then
1724 # Extract the first word of "gcc", so it can be a program name with args.
1725 set dummy gcc
; ac_word
=$2
1726 echo "$as_me:$LINENO: checking for $ac_word" >&5
1727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1728 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 if test -n "$ac_ct_CC"; then
1732 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1738 test -z "$as_dir" && as_dir
=.
1739 for ac_exec_ext
in '' $ac_executable_extensions; do
1740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1741 ac_cv_prog_ac_ct_CC
="gcc"
1742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1751 if test -n "$ac_ct_CC"; then
1752 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1753 echo "${ECHO_T}$ac_ct_CC" >&6
1755 echo "$as_me:$LINENO: result: no" >&5
1756 echo "${ECHO_T}no" >&6
1764 if test -z "$CC"; then
1765 if test -n "$ac_tool_prefix"; then
1766 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1767 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_CC+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 if test -n "$CC"; then
1774 ac_cv_prog_CC
="$CC" # Let the user override the test.
1776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1780 test -z "$as_dir" && as_dir
=.
1781 for ac_exec_ext
in '' $ac_executable_extensions; do
1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1793 if test -n "$CC"; then
1794 echo "$as_me:$LINENO: result: $CC" >&5
1795 echo "${ECHO_T}$CC" >&6
1797 echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1802 if test -z "$ac_cv_prog_CC"; then
1804 # Extract the first word of "cc", so it can be a program name with args.
1805 set dummy cc
; ac_word
=$2
1806 echo "$as_me:$LINENO: checking for $ac_word" >&5
1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1811 if test -n "$ac_ct_CC"; then
1812 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1818 test -z "$as_dir" && as_dir
=.
1819 for ac_exec_ext
in '' $ac_executable_extensions; do
1820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1821 ac_cv_prog_ac_ct_CC
="cc"
1822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1830 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1831 if test -n "$ac_ct_CC"; then
1832 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1833 echo "${ECHO_T}$ac_ct_CC" >&6
1835 echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6
1845 if test -z "$CC"; then
1846 # Extract the first word of "cc", so it can be a program name with args.
1847 set dummy cc
; ac_word
=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_CC+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 if test -n "$CC"; then
1854 ac_cv_prog_CC
="$CC" # Let the user override the test.
1857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1861 test -z "$as_dir" && as_dir
=.
1862 for ac_exec_ext
in '' $ac_executable_extensions; do
1863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1864 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1865 ac_prog_rejected
=yes
1869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1875 if test $ac_prog_rejected = yes; then
1876 # We found a bogon in the path, so make sure we never use it.
1877 set dummy
$ac_cv_prog_CC
1879 if test $# != 0; then
1880 # We chose a different compiler from the bogus one.
1881 # However, it has the same basename, so the bogon will be chosen
1882 # first if we set CC to just the basename; use the full file name.
1884 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1890 if test -n "$CC"; then
1891 echo "$as_me:$LINENO: result: $CC" >&5
1892 echo "${ECHO_T}$CC" >&6
1894 echo "$as_me:$LINENO: result: no" >&5
1895 echo "${ECHO_T}no" >&6
1899 if test -z "$CC"; then
1900 if test -n "$ac_tool_prefix"; then
1903 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1904 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1905 echo "$as_me:$LINENO: checking for $ac_word" >&5
1906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1907 if test "${ac_cv_prog_CC+set}" = set; then
1908 echo $ECHO_N "(cached) $ECHO_C" >&6
1910 if test -n "$CC"; then
1911 ac_cv_prog_CC
="$CC" # Let the user override the test.
1913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1917 test -z "$as_dir" && as_dir
=.
1918 for ac_exec_ext
in '' $ac_executable_extensions; do
1919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1920 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1930 if test -n "$CC"; then
1931 echo "$as_me:$LINENO: result: $CC" >&5
1932 echo "${ECHO_T}$CC" >&6
1934 echo "$as_me:$LINENO: result: no" >&5
1935 echo "${ECHO_T}no" >&6
1938 test -n "$CC" && break
1941 if test -z "$CC"; then
1945 # Extract the first word of "$ac_prog", so it can be a program name with args.
1946 set dummy
$ac_prog; ac_word
=$2
1947 echo "$as_me:$LINENO: checking for $ac_word" >&5
1948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1949 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1950 echo $ECHO_N "(cached) $ECHO_C" >&6
1952 if test -n "$ac_ct_CC"; then
1953 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1959 test -z "$as_dir" && as_dir
=.
1960 for ac_exec_ext
in '' $ac_executable_extensions; do
1961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1962 ac_cv_prog_ac_ct_CC
="$ac_prog"
1963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1971 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1972 if test -n "$ac_ct_CC"; then
1973 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1974 echo "${ECHO_T}$ac_ct_CC" >&6
1976 echo "$as_me:$LINENO: result: no" >&5
1977 echo "${ECHO_T}no" >&6
1980 test -n "$ac_ct_CC" && break
1989 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1990 See \`config.log' for more details." >&5
1991 echo "$as_me: error: no acceptable C compiler found in \$PATH
1992 See \`config.log' for more details." >&2;}
1993 { (exit 1); exit 1; }; }
1995 # Provide some information about the compiler.
1996 echo "$as_me:$LINENO:" \
1997 "checking for C compiler version" >&5
1998 ac_compiler
=`set X $ac_compile; echo $2`
1999 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2000 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }
2004 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2005 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }
2009 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2010 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }
2015 cat >conftest.
$ac_ext <<_ACEOF
2018 cat confdefs.h
>>conftest.
$ac_ext
2019 cat >>conftest.
$ac_ext <<_ACEOF
2020 /* end confdefs.h. */
2030 ac_clean_files_save
=$ac_clean_files
2031 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2032 # Try to create an executable without -o first, disregard a.out.
2033 # It will help us diagnose broken compilers, and finding out an intuition
2035 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2036 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2037 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2038 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2039 (eval $ac_link_default) 2>&5
2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 (exit $ac_status); }; then
2043 # Find the output, starting from the most likely. This scheme is
2044 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2047 # Be careful to initialize this variable, since it used to be cached.
2048 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2050 # b.out is created by i960 compilers.
2051 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2053 test -f "$ac_file" ||
continue
2055 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2058 # This is the source file.
2061 # We found the default executable, but exeext='' is most
2065 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2066 # FIXME: I believe we export ac_cv_exeext for Libtool,
2067 # but it would be cool to find out if it's true. Does anybody
2068 # maintain Libtool? --akim.
2076 echo "$as_me: failed program was:" >&5
2077 sed 's/^/| /' conftest.
$ac_ext >&5
2079 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2080 See \`config.log' for more details." >&5
2081 echo "$as_me: error: C compiler cannot create executables
2082 See \`config.log' for more details." >&2;}
2083 { (exit 77); exit 77; }; }
2086 ac_exeext
=$ac_cv_exeext
2087 echo "$as_me:$LINENO: result: $ac_file" >&5
2088 echo "${ECHO_T}$ac_file" >&6
2090 # Check the compiler produces executables we can run. If not, either
2091 # the compiler is broken, or we cross compile.
2092 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2093 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2094 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2095 # If not cross compiling, check that we can run a simple program.
2096 if test "$cross_compiling" != yes; then
2097 if { ac_try
='./$ac_file'
2098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); }; }; then
2105 if test "$cross_compiling" = maybe
; then
2108 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2109 If you meant to cross compile, use \`--host'.
2110 See \`config.log' for more details." >&5
2111 echo "$as_me: error: cannot run C compiled programs.
2112 If you meant to cross compile, use \`--host'.
2113 See \`config.log' for more details." >&2;}
2114 { (exit 1); exit 1; }; }
2118 echo "$as_me:$LINENO: result: yes" >&5
2119 echo "${ECHO_T}yes" >&6
2121 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2122 ac_clean_files
=$ac_clean_files_save
2123 # Check the compiler produces executables we can run. If not, either
2124 # the compiler is broken, or we cross compile.
2125 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2126 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2127 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2128 echo "${ECHO_T}$cross_compiling" >&6
2130 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2131 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2133 (eval $ac_link) 2>&5
2135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 (exit $ac_status); }; then
2137 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2138 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2139 # work properly (i.e., refer to `conftest.exe'), while it won't with
2141 for ac_file
in conftest.exe conftest conftest.
*; do
2142 test -f "$ac_file" ||
continue
2144 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2145 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2152 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2153 See \`config.log' for more details." >&5
2154 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2155 See \`config.log' for more details." >&2;}
2156 { (exit 1); exit 1; }; }
2159 rm -f conftest
$ac_cv_exeext
2160 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2161 echo "${ECHO_T}$ac_cv_exeext" >&6
2163 rm -f conftest.
$ac_ext
2164 EXEEXT
=$ac_cv_exeext
2166 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2167 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2168 if test "${ac_cv_objext+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 cat >conftest.
$ac_ext <<_ACEOF
2174 cat confdefs.h
>>conftest.
$ac_ext
2175 cat >>conftest.
$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2186 rm -f conftest.o conftest.obj
2187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2188 (eval $ac_compile) 2>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }; then
2192 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2194 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2195 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2200 echo "$as_me: failed program was:" >&5
2201 sed 's/^/| /' conftest.
$ac_ext >&5
2203 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2204 See \`config.log' for more details." >&5
2205 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2206 See \`config.log' for more details." >&2;}
2207 { (exit 1); exit 1; }; }
2210 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2212 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2213 echo "${ECHO_T}$ac_cv_objext" >&6
2214 OBJEXT
=$ac_cv_objext
2216 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2217 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2218 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 cat >conftest.
$ac_ext <<_ACEOF
2224 cat confdefs.h
>>conftest.
$ac_ext
2225 cat >>conftest.
$ac_ext <<_ACEOF
2226 /* end confdefs.h. */
2239 rm -f conftest.
$ac_objext
2240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2241 (eval $ac_compile) 2>conftest.er1
2243 grep -v '^ *+' conftest.er1
>conftest.err
2245 cat conftest.err
>&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); } &&
2248 { ac_try
='test -z "$ac_c_werror_flag"
2249 || test ! -s conftest.err'
2250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254 (exit $ac_status); }; } &&
2255 { ac_try
='test -s conftest.$ac_objext'
2256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); }; }; then
2263 echo "$as_me: failed program was:" >&5
2264 sed 's/^/| /' conftest.
$ac_ext >&5
2268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2269 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2272 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2273 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2274 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2275 ac_test_CFLAGS
=${CFLAGS+set}
2276 ac_save_CFLAGS
=$CFLAGS
2278 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2279 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2280 if test "${ac_cv_prog_cc_g+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 cat >conftest.
$ac_ext <<_ACEOF
2286 cat confdefs.h
>>conftest.
$ac_ext
2287 cat >>conftest.
$ac_ext <<_ACEOF
2288 /* end confdefs.h. */
2298 rm -f conftest.
$ac_objext
2299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2300 (eval $ac_compile) 2>conftest.er1
2302 grep -v '^ *+' conftest.er1
>conftest.err
2304 cat conftest.err
>&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); } &&
2307 { ac_try
='test -z "$ac_c_werror_flag"
2308 || test ! -s conftest.err'
2309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }; } &&
2314 { ac_try
='test -s conftest.$ac_objext'
2315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); }; }; then
2322 echo "$as_me: failed program was:" >&5
2323 sed 's/^/| /' conftest.
$ac_ext >&5
2327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2329 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2330 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2331 if test "$ac_test_CFLAGS" = set; then
2332 CFLAGS
=$ac_save_CFLAGS
2333 elif test $ac_cv_prog_cc_g = yes; then
2334 if test "$GCC" = yes; then
2340 if test "$GCC" = yes; then
2346 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2347 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2348 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 ac_cv_prog_cc_stdc
=no
2353 cat >conftest.
$ac_ext <<_ACEOF
2356 cat confdefs.h
>>conftest.
$ac_ext
2357 cat >>conftest.
$ac_ext <<_ACEOF
2358 /* end confdefs.h. */
2361 #include <sys/types.h>
2362 #include <sys/stat.h>
2363 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2364 struct buf { int x; };
2365 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2366 static char *e (p, i)
2372 static char *f (char * (*g) (char **, int), char **p, ...)
2377 s = g (p, va_arg (v,int));
2382 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2383 function prototypes and stuff, but not '\xHH' hex character constants.
2384 These don't provoke an error unfortunately, instead are silently treated
2385 as 'x'. The following induces an error, until -std1 is added to get
2386 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2387 array size at least. It's necessary to write '\x00'==0 to get something
2388 that's true only with -std1. */
2389 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2391 int test (int i, double x);
2392 struct s1 {int (*f) (int a);};
2393 struct s2 {int (*f) (double a);};
2394 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2400 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2405 # Don't try gcc -ansi; that turns off useful extensions and
2406 # breaks some systems' header files.
2407 # AIX -qlanglvl=ansi
2408 # Ultrix and OSF/1 -std1
2409 # HP-UX 10.20 and later -Ae
2410 # HP-UX older versions -Aa -D_HPUX_SOURCE
2411 # SVR4 -Xc -D__EXTENSIONS__
2412 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2414 CC
="$ac_save_CC $ac_arg"
2415 rm -f conftest.
$ac_objext
2416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2417 (eval $ac_compile) 2>conftest.er1
2419 grep -v '^ *+' conftest.er1
>conftest.err
2421 cat conftest.err
>&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); } &&
2424 { ac_try
='test -z "$ac_c_werror_flag"
2425 || test ! -s conftest.err'
2426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; } &&
2431 { ac_try
='test -s conftest.$ac_objext'
2432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; }; then
2437 ac_cv_prog_cc_stdc
=$ac_arg
2440 echo "$as_me: failed program was:" >&5
2441 sed 's/^/| /' conftest.
$ac_ext >&5
2444 rm -f conftest.err conftest.
$ac_objext
2446 rm -f conftest.
$ac_ext conftest.
$ac_objext
2451 case "x$ac_cv_prog_cc_stdc" in
2453 echo "$as_me:$LINENO: result: none needed" >&5
2454 echo "${ECHO_T}none needed" >&6 ;;
2456 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2457 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2458 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2461 # Some people use a C++ compiler to compile C. Since we use `exit',
2462 # in C++ we need to declare it. In case someone uses the same compiler
2463 # for both compiling C and C++ we need to have the C++ compiler decide
2464 # the declaration of exit, since it's the most demanding environment.
2465 cat >conftest.
$ac_ext <<_ACEOF
2470 rm -f conftest.
$ac_objext
2471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2472 (eval $ac_compile) 2>conftest.er1
2474 grep -v '^ *+' conftest.er1
>conftest.err
2476 cat conftest.err
>&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); } &&
2479 { ac_try
='test -z "$ac_c_werror_flag"
2480 || test ! -s conftest.err'
2481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }; } &&
2486 { ac_try
='test -s conftest.$ac_objext'
2487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; }; then
2492 for ac_declaration
in \
2494 'extern "C" void std::exit (int) throw (); using std::exit;' \
2495 'extern "C" void std::exit (int); using std::exit;' \
2496 'extern "C" void exit (int) throw ();' \
2497 'extern "C" void exit (int);' \
2500 cat >conftest.
$ac_ext <<_ACEOF
2503 cat confdefs.h
>>conftest.
$ac_ext
2504 cat >>conftest.
$ac_ext <<_ACEOF
2505 /* end confdefs.h. */
2516 rm -f conftest.
$ac_objext
2517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2518 (eval $ac_compile) 2>conftest.er1
2520 grep -v '^ *+' conftest.er1
>conftest.err
2522 cat conftest.err
>&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); } &&
2525 { ac_try
='test -z "$ac_c_werror_flag"
2526 || test ! -s conftest.err'
2527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; } &&
2532 { ac_try
='test -s conftest.$ac_objext'
2533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; }; then
2540 echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.
$ac_ext >&5
2545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2546 cat >conftest.
$ac_ext <<_ACEOF
2549 cat confdefs.h
>>conftest.
$ac_ext
2550 cat >>conftest.
$ac_ext <<_ACEOF
2551 /* end confdefs.h. */
2561 rm -f conftest.
$ac_objext
2562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2563 (eval $ac_compile) 2>conftest.er1
2565 grep -v '^ *+' conftest.er1
>conftest.err
2567 cat conftest.err
>&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); } &&
2570 { ac_try
='test -z "$ac_c_werror_flag"
2571 || test ! -s conftest.err'
2572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; } &&
2577 { ac_try
='test -s conftest.$ac_objext'
2578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); }; }; then
2585 echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.
$ac_ext >&5
2589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2592 if test -n "$ac_declaration"; then
2593 echo '#ifdef __cplusplus' >>confdefs.h
2594 echo $ac_declaration >>confdefs.h
2595 echo '#endif' >>confdefs.h
2599 echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.
$ac_ext >&5
2603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2605 ac_cpp
='$CPP $CPPFLAGS'
2606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2609 DEPDIR
="${am__leading_dot}deps"
2611 ac_config_commands
="$ac_config_commands depfiles"
2614 am_make
=${MAKE-make}
2615 cat > confinc
<< 'END'
2620 # If we don't find an include directive, just comment out the code.
2621 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2622 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2626 # First try GNU make style include.
2627 echo "include confinc" > confmf
2628 # We grep out `Entering directory' and `Leaving directory'
2629 # messages which can occur if `w' ends up in MAKEFLAGS.
2630 # In particular we don't look at `^make:' because GNU make might
2631 # be invoked under some other name (usually "gmake"), in which
2632 # case it prints its new name instead of `make'.
2633 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2638 # Now try BSD make style include.
2639 if test "$am__include" = "#"; then
2640 echo '.include "confinc"' > confmf
2641 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2642 am__include
=.include
2649 echo "$as_me:$LINENO: result: $_am_result" >&5
2650 echo "${ECHO_T}$_am_result" >&6
2651 rm -f confinc confmf
2653 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2654 if test "${enable_dependency_tracking+set}" = set; then
2655 enableval
="$enable_dependency_tracking"
2658 if test "x$enable_dependency_tracking" != xno
; then
2659 am_depcomp
="$ac_aux_dir/depcomp"
2664 if test "x$enable_dependency_tracking" != xno; then
2675 depcc
="$CC" am_compiler_list
=
2677 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2678 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2679 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2683 # We make a subdir and do the tests there. Otherwise we can end up
2684 # making bogus files that we don't know about and never remove. For
2685 # instance it was reported that on HP-UX the gcc test will end up
2686 # making a dummy file named `D' -- because `-MD' means `put the output
2689 # Copy depcomp to subdir because otherwise we won't find it if we're
2690 # using a relative directory.
2691 cp "$am_depcomp" conftest.dir
2693 # We will build objects and dependencies in a subdirectory because
2694 # it helps to detect inapplicable dependency modes. For instance
2695 # both Tru64's cc and ICC support -MD to output dependencies as a
2696 # side effect of compilation, but ICC will put the dependencies in
2697 # the current directory while Tru64 will put them in the object
2701 am_cv_CC_dependencies_compiler_type
=none
2702 if test "$am_compiler_list" = ""; then
2703 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2705 for depmode
in $am_compiler_list; do
2706 # Setup a source with many dependencies, because some compilers
2707 # like to wrap large dependency lists on column 80 (with \), and
2708 # we should not choose a depcomp mode which is confused by this.
2710 # We need to recreate these files for each test, as the compiler may
2711 # overwrite some of them when testing with obscure command lines.
2712 # This happens at least with the AIX C compiler.
2714 for i
in 1 2 3 4 5 6; do
2715 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2718 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2722 # after this tag, mechanisms are not by side-effect, so they'll
2723 # only be used when explicitly requested
2724 if test "x$enable_dependency_tracking" = xyes
; then
2732 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2733 # mode. It turns out that the SunPro C++ compiler does not properly
2734 # handle `-M -o', and we need to detect this.
2735 if depmode
=$depmode \
2736 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2737 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2738 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2739 >/dev
/null
2>conftest.err
&&
2740 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2741 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2742 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2743 # icc doesn't choke on unknown options, it will just issue warnings
2744 # (even with -Werror). So we grep stderr for any message
2745 # that says an option was ignored.
2746 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2747 am_cv_CC_dependencies_compiler_type
=$depmode
2756 am_cv_CC_dependencies_compiler_type
=none
2760 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2761 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2762 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2767 test "x$enable_dependency_tracking" != xno \
2768 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2770 am__fastdepCC_FALSE
='#'
2772 am__fastdepCC_TRUE
='#'
2773 am__fastdepCC_FALSE
=
2777 if test -n "$ac_tool_prefix"; then
2778 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2779 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2780 echo "$as_me:$LINENO: checking for $ac_word" >&5
2781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2782 if test "${ac_cv_prog_RANLIB+set}" = set; then
2783 echo $ECHO_N "(cached) $ECHO_C" >&6
2785 if test -n "$RANLIB"; then
2786 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir
=.
2793 for ac_exec_ext
in '' $ac_executable_extensions; do
2794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 RANLIB
=$ac_cv_prog_RANLIB
2805 if test -n "$RANLIB"; then
2806 echo "$as_me:$LINENO: result: $RANLIB" >&5
2807 echo "${ECHO_T}$RANLIB" >&6
2809 echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2814 if test -z "$ac_cv_prog_RANLIB"; then
2815 ac_ct_RANLIB
=$RANLIB
2816 # Extract the first word of "ranlib", so it can be a program name with args.
2817 set dummy ranlib
; ac_word
=$2
2818 echo "$as_me:$LINENO: checking for $ac_word" >&5
2819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2820 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2821 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 if test -n "$ac_ct_RANLIB"; then
2824 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir
=.
2831 for ac_exec_ext
in '' $ac_executable_extensions; do
2832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2833 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2840 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2843 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2844 if test -n "$ac_ct_RANLIB"; then
2845 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2846 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2848 echo "$as_me:$LINENO: result: no" >&5
2849 echo "${ECHO_T}no" >&6
2852 RANLIB
=$ac_ct_RANLIB
2854 RANLIB
="$ac_cv_prog_RANLIB"
2861 echo "$as_me:$LINENO: checking for main in -lm" >&5
2862 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
2863 if test "${ac_cv_lib_m_main+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2866 ac_check_lib_save_LIBS
=$LIBS
2868 cat >conftest.
$ac_ext <<_ACEOF
2871 cat confdefs.h
>>conftest.
$ac_ext
2872 cat >>conftest.
$ac_ext <<_ACEOF
2873 /* end confdefs.h. */
2884 rm -f conftest.
$ac_objext conftest
$ac_exeext
2885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2886 (eval $ac_link) 2>conftest.er1
2888 grep -v '^ *+' conftest.er1
>conftest.err
2890 cat conftest.err
>&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } &&
2893 { ac_try
='test -z "$ac_c_werror_flag"
2894 || test ! -s conftest.err'
2895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); }; } &&
2900 { ac_try
='test -s conftest$ac_exeext'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; }; then
2906 ac_cv_lib_m_main
=yes
2908 echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.
$ac_ext >&5
2913 rm -f conftest.err conftest.
$ac_objext \
2914 conftest
$ac_exeext conftest.
$ac_ext
2915 LIBS
=$ac_check_lib_save_LIBS
2917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
2918 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
2919 if test $ac_cv_lib_m_main = yes; then
2920 cat >>confdefs.h
<<_ACEOF
2927 { { echo "$as_me:$LINENO: error: lib math is needed" >&5
2928 echo "$as_me: error: lib math is needed" >&2;}
2929 { (exit 1); exit 1; }; }
2933 echo "$as_me:$LINENO: checking for main in -lz" >&5
2934 echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6
2935 if test "${ac_cv_lib_z_main+set}" = set; then
2936 echo $ECHO_N "(cached) $ECHO_C" >&6
2938 ac_check_lib_save_LIBS
=$LIBS
2940 cat >conftest.
$ac_ext <<_ACEOF
2943 cat confdefs.h
>>conftest.
$ac_ext
2944 cat >>conftest.
$ac_ext <<_ACEOF
2945 /* end confdefs.h. */
2956 rm -f conftest.
$ac_objext conftest
$ac_exeext
2957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2958 (eval $ac_link) 2>conftest.er1
2960 grep -v '^ *+' conftest.er1
>conftest.err
2962 cat conftest.err
>&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); } &&
2965 { ac_try
='test -z "$ac_c_werror_flag"
2966 || test ! -s conftest.err'
2967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }; } &&
2972 { ac_try
='test -s conftest$ac_exeext'
2973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); }; }; then
2978 ac_cv_lib_z_main
=yes
2980 echo "$as_me: failed program was:" >&5
2981 sed 's/^/| /' conftest.
$ac_ext >&5
2985 rm -f conftest.err conftest.
$ac_objext \
2986 conftest
$ac_exeext conftest.
$ac_ext
2987 LIBS
=$ac_check_lib_save_LIBS
2989 echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
2990 echo "${ECHO_T}$ac_cv_lib_z_main" >&6
2991 if test $ac_cv_lib_z_main = yes; then
2992 cat >>confdefs.h
<<_ACEOF
2999 { { echo "$as_me:$LINENO: error: libz is needed" >&5
3000 echo "$as_me: error: libz is needed" >&2;}
3001 { (exit 1); exit 1; }; }
3005 echo "$as_me:$LINENO: checking for main in -lpng" >&5
3006 echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6
3007 if test "${ac_cv_lib_png_main+set}" = set; then
3008 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 ac_check_lib_save_LIBS
=$LIBS
3012 cat >conftest.
$ac_ext <<_ACEOF
3015 cat confdefs.h
>>conftest.
$ac_ext
3016 cat >>conftest.
$ac_ext <<_ACEOF
3017 /* end confdefs.h. */
3028 rm -f conftest.
$ac_objext conftest
$ac_exeext
3029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3030 (eval $ac_link) 2>conftest.er1
3032 grep -v '^ *+' conftest.er1
>conftest.err
3034 cat conftest.err
>&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); } &&
3037 { ac_try
='test -z "$ac_c_werror_flag"
3038 || test ! -s conftest.err'
3039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); }; } &&
3044 { ac_try
='test -s conftest$ac_exeext'
3045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; }; then
3050 ac_cv_lib_png_main
=yes
3052 echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.
$ac_ext >&5
3055 ac_cv_lib_png_main
=no
3057 rm -f conftest.err conftest.
$ac_objext \
3058 conftest
$ac_exeext conftest.
$ac_ext
3059 LIBS
=$ac_check_lib_save_LIBS
3061 echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5
3062 echo "${ECHO_T}$ac_cv_lib_png_main" >&6
3063 if test $ac_cv_lib_png_main = yes; then
3064 cat >>confdefs.h
<<_ACEOF
3065 #define HAVE_LIBPNG 1
3071 { { echo "$as_me:$LINENO: error: libpng is needed" >&5
3072 echo "$as_me: error: libpng is needed" >&2;}
3073 { (exit 1); exit 1; }; }
3077 CFLAGS
="$CFLAGS -Wall"
3080 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
3081 if test "${with_sdl_prefix+set}" = set; then
3082 withval
="$with_sdl_prefix"
3083 sdl_prefix
="$withval"
3088 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
3089 if test "${with_sdl_exec_prefix+set}" = set; then
3090 withval
="$with_sdl_exec_prefix"
3091 sdl_exec_prefix
="$withval"
3095 # Check whether --enable-sdltest or --disable-sdltest was given.
3096 if test "${enable_sdltest+set}" = set; then
3097 enableval
="$enable_sdltest"
3103 if test x
$sdl_exec_prefix != x
; then
3104 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
3105 if test x
${SDL_CONFIG+set} != xset
; then
3106 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
3109 if test x
$sdl_prefix != x
; then
3110 sdl_args
="$sdl_args --prefix=$sdl_prefix"
3111 if test x
${SDL_CONFIG+set} != xset
; then
3112 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
3116 # Extract the first word of "sdl-config", so it can be a program name with args.
3117 set dummy sdl-config
; ac_word
=$2
3118 echo "$as_me:$LINENO: checking for $ac_word" >&5
3119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3120 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3125 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
3128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3132 test -z "$as_dir" && as_dir
=.
3133 for ac_exec_ext
in '' $ac_executable_extensions; do
3134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3135 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
3146 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
3148 if test -n "$SDL_CONFIG"; then
3149 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
3150 echo "${ECHO_T}$SDL_CONFIG" >&6
3152 echo "$as_me:$LINENO: result: no" >&5
3153 echo "${ECHO_T}no" >&6
3156 min_sdl_version
=1.2.0
3157 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
3158 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
3160 if test "$SDL_CONFIG" = "no" ; then
3163 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
3164 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
3166 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
3167 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3168 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
3169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3170 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
3171 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3172 if test "x$enable_sdltest" = "xyes" ; then
3173 ac_save_CFLAGS
="$CFLAGS"
3174 ac_save_LIBS
="$LIBS"
3175 CFLAGS
="$CFLAGS $SDL_CFLAGS"
3176 LIBS
="$LIBS $SDL_LIBS"
3178 if test "$cross_compiling" = yes; then
3179 echo $ac_n "cross compiling; assumed OK... $ac_c"
3181 cat >conftest.
$ac_ext <<_ACEOF
3184 cat confdefs.h
>>conftest.
$ac_ext
3185 cat >>conftest.
$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3194 my_strdup (char *str)
3200 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
3201 strcpy (new_str, str);
3209 int main (int argc, char *argv[])
3211 int major, minor, micro;
3214 /* This hangs on some systems (?)
3215 system ("touch conf.sdltest");
3217 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
3219 /* HP/UX 9 (%@#!) writes to sscanf strings */
3220 tmp_version = my_strdup("$min_sdl_version");
3221 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
3222 printf("%s, bad version string\n", "$min_sdl_version");
3226 if (($sdl_major_version > major) ||
3227 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
3228 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
3240 rm -f conftest
$ac_exeext
3241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3242 (eval $ac_link) 2>&5
3244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); }; }; then
3253 echo "$as_me: program exited with status $ac_status" >&5
3254 echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.
$ac_ext >&5
3260 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3262 CFLAGS
="$ac_save_CFLAGS"
3263 LIBS
="$ac_save_LIBS"
3266 if test "x$no_sdl" = x
; then
3267 echo "$as_me:$LINENO: result: yes" >&5
3268 echo "${ECHO_T}yes" >&6
3271 echo "$as_me:$LINENO: result: no" >&5
3272 echo "${ECHO_T}no" >&6
3273 if test "$SDL_CONFIG" = "no" ; then
3274 echo "*** The sdl-config script installed by SDL could not be found"
3275 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
3276 echo "*** your path, or set the SDL_CONFIG environment variable to the"
3277 echo "*** full path to sdl-config."
3279 if test -f conf.sdltest
; then
3282 echo "*** Could not run SDL test program, checking why..."
3283 CFLAGS
="$CFLAGS $SDL_CFLAGS"
3284 LIBS
="$LIBS $SDL_LIBS"
3285 cat >conftest.
$ac_ext <<_ACEOF
3288 cat confdefs.h
>>conftest.
$ac_ext
3289 cat >>conftest.
$ac_ext <<_ACEOF
3290 /* end confdefs.h. */
3303 rm -f conftest.
$ac_objext conftest
$ac_exeext
3304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3305 (eval $ac_link) 2>conftest.er1
3307 grep -v '^ *+' conftest.er1
>conftest.err
3309 cat conftest.err
>&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } &&
3312 { ac_try
='test -z "$ac_c_werror_flag"
3313 || test ! -s conftest.err'
3314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }; } &&
3319 { ac_try
='test -s conftest$ac_exeext'
3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; }; then
3325 echo "*** The test program compiled, but did not run. This usually means"
3326 echo "*** that the run-time linker is not finding SDL or finding the wrong"
3327 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
3328 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3329 echo "*** to the installed location Also, make sure you have run ldconfig if that"
3330 echo "*** is required on your system"
3332 echo "*** If you have an old version installed, it is best to remove it, although"
3333 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
3335 echo "$as_me: failed program was:" >&5
3336 sed 's/^/| /' conftest.
$ac_ext >&5
3338 echo "*** The test program failed to compile or link. See the file config.log for the"
3339 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
3340 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
3341 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
3343 rm -f conftest.err conftest.
$ac_objext \
3344 conftest
$ac_exeext conftest.
$ac_ext
3345 CFLAGS
="$ac_save_CFLAGS"
3346 LIBS
="$ac_save_LIBS"
3351 { { echo "$as_me:$LINENO: error: lib SDL is needed" >&5
3352 echo "$as_me: error: lib SDL is needed" >&2;}
3353 { (exit 1); exit 1; }; }
3359 CFLAGS
="$CFLAGS $SDL_CFLAGS"
3360 LIBS
="$LIBS $SDL_LIBS"
3363 # Check whether --enable-warp or --disable-warp was given.
3364 if test "${enable_warp+set}" = set; then
3365 enableval
="$enable_warp"
3366 warp_flag
="-DMOUSE_WARP"
3370 audio_flag
="-DAUDIO_ENABLED"
3371 mixer_flag
="-lSDL_mixer"
3372 # Check whether --enable-audio or --disable-audio was given.
3373 if test "${enable_audio+set}" = set; then
3374 enableval
="$enable_audio"
3375 audio_flag
=""; mixer_flag
=""
3378 echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5
3379 echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6
3380 if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3383 ac_check_lib_save_LIBS
=$LIBS
3384 LIBS
="-lSDL_mixer $LIBS"
3385 cat >conftest.
$ac_ext <<_ACEOF
3388 cat confdefs.h
>>conftest.
$ac_ext
3389 cat >>conftest.
$ac_ext <<_ACEOF
3390 /* end confdefs.h. */
3401 rm -f conftest.
$ac_objext conftest
$ac_exeext
3402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3403 (eval $ac_link) 2>conftest.er1
3405 grep -v '^ *+' conftest.er1
>conftest.err
3407 cat conftest.err
>&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); } &&
3410 { ac_try
='test -z "$ac_c_werror_flag"
3411 || test ! -s conftest.err'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; } &&
3417 { ac_try
='test -s conftest$ac_exeext'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; }; then
3423 ac_cv_lib_SDL_mixer_main
=yes
3425 echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.
$ac_ext >&5
3428 ac_cv_lib_SDL_mixer_main
=no
3430 rm -f conftest.err conftest.
$ac_objext \
3431 conftest
$ac_exeext conftest.
$ac_ext
3432 LIBS
=$ac_check_lib_save_LIBS
3434 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5
3435 echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6
3436 if test $ac_cv_lib_SDL_mixer_main = yes; then
3437 echo "$as_me:$LINENO: result: \"SDL_Mixer found\"" >&5
3438 echo "${ECHO_T}\"SDL_Mixer found\"" >&6
3440 echo "$as_me:$LINENO: result: \"SDL_Mixer NOT found: Audio disabled\"" >&5
3441 echo "${ECHO_T}\"SDL_Mixer NOT found: Audio disabled\"" >&6; audio_flag
=""; mixer_flag
=""
3448 # Make sure we can run config.sub.
3449 $ac_config_sub sun4
>/dev
/null
2>&1 ||
3450 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3451 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3452 { (exit 1); exit 1; }; }
3454 echo "$as_me:$LINENO: checking build system type" >&5
3455 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3456 if test "${ac_cv_build+set}" = set; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 ac_cv_build_alias
=$build_alias
3460 test -z "$ac_cv_build_alias" &&
3461 ac_cv_build_alias
=`$ac_config_guess`
3462 test -z "$ac_cv_build_alias" &&
3463 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3464 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3465 { (exit 1); exit 1; }; }
3466 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
3467 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3468 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3469 { (exit 1); exit 1; }; }
3472 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3473 echo "${ECHO_T}$ac_cv_build" >&6
3475 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3476 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3477 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3480 echo "$as_me:$LINENO: checking host system type" >&5
3481 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3482 if test "${ac_cv_host+set}" = set; then
3483 echo $ECHO_N "(cached) $ECHO_C" >&6
3485 ac_cv_host_alias
=$host_alias
3486 test -z "$ac_cv_host_alias" &&
3487 ac_cv_host_alias
=$ac_cv_build_alias
3488 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
3489 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3490 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3491 { (exit 1); exit 1; }; }
3494 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3495 echo "${ECHO_T}$ac_cv_host" >&6
3497 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3498 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3499 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3505 # Check whether --with-doc-path or --without-doc-path was given.
3506 if test "${with_doc_path+set}" = set; then
3507 withval
="$with_doc_path"
3512 network_flag
="-DNETWORK_ENABLED"
3513 # Check whether --enable-network or --disable-network was given.
3514 if test "${enable_network+set}" = set; then
3515 enableval
="$enable_network"
3520 inst_dir
="$datadir/games/lbreakout2"
3521 hi_dir
="/var/lib/games"
3523 # Check whether --enable-install or --disable-install was given.
3524 if test "${enable_install+set}" = set; then
3525 enableval
="$enable_install"
3526 inst_dir
="." hi_dir
="."
3530 # Check whether --with-highscore-path or --without-highscore-path was given.
3531 if test "${with_highscore_path+set}" = set; then
3532 withval
="$with_highscore_path"
3537 # Check whether --with-inst-path or --without-inst-path was given.
3538 if test "${with_inst_path+set}" = set; then
3539 withval
="$with_inst_path"
3543 inst_flag
="-DSRC_DIR=\\\"$inst_dir\\\""
3544 hi_inst_flag
="-DHI_DIR=\\\"$hi_dir\\\""
3554 win32_inst_script
="`pwd -W`/installer.iss"
3555 arch_flag
="-march=i586"
3556 win32_deps
="lbreakout2res.o" ;;
3559 win32_inst_script
=""
3567 if test "x$win32" = xyes
; then
3568 for ac_prog
in gawk mawk nawk
awk
3570 # Extract the first word of "$ac_prog", so it can be a program name with args.
3571 set dummy
$ac_prog; ac_word
=$2
3572 echo "$as_me:$LINENO: checking for $ac_word" >&5
3573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3574 if test "${ac_cv_prog_AWK+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 if test -n "$AWK"; then
3578 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir
=.
3585 for ac_exec_ext
in '' $ac_executable_extensions; do
3586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3587 ac_cv_prog_AWK
="$ac_prog"
3588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3597 if test -n "$AWK"; then
3598 echo "$as_me:$LINENO: result: $AWK" >&5
3599 echo "${ECHO_T}$AWK" >&6
3601 echo "$as_me:$LINENO: result: no" >&5
3602 echo "${ECHO_T}no" >&6
3605 test -n "$AWK" && break
3609 # Extract the first word of "strip", so it can be a program name with args.
3610 set dummy strip
; ac_word
=$2
3611 echo "$as_me:$LINENO: checking for $ac_word" >&5
3612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3613 if test "${ac_cv_prog_STRIP+set}" = set; then
3614 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 if test -n "$STRIP"; then
3617 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3623 test -z "$as_dir" && as_dir
=.
3624 for ac_exec_ext
in '' $ac_executable_extensions; do
3625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3626 ac_cv_prog_STRIP
="strip"
3627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3635 STRIP
=$ac_cv_prog_STRIP
3636 if test -n "$STRIP"; then
3637 echo "$as_me:$LINENO: result: $STRIP" >&5
3638 echo "${ECHO_T}$STRIP" >&6
3640 echo "$as_me:$LINENO: result: no" >&5
3641 echo "${ECHO_T}no" >&6
3644 test -z "${STRIP}" && { { echo "$as_me:$LINENO: error: strip was not found on this system" >&5
3645 echo "$as_me: error: strip was not found on this system" >&2;}
3646 { (exit 1); exit 1; }; }
3649 # Extract the first word of "iscc", so it can be a program name with args.
3650 set dummy iscc
; ac_word
=$2
3651 echo "$as_me:$LINENO: checking for $ac_word" >&5
3652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3653 if test "${ac_cv_prog_ISCC+set}" = set; then
3654 echo $ECHO_N "(cached) $ECHO_C" >&6
3656 if test -n "$ISCC"; then
3657 ac_cv_prog_ISCC
="$ISCC" # Let the user override the test.
3659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3663 test -z "$as_dir" && as_dir
=.
3664 for ac_exec_ext
in '' $ac_executable_extensions; do
3665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3666 ac_cv_prog_ISCC
="iscc"
3667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 ISCC
=$ac_cv_prog_ISCC
3676 if test -n "$ISCC"; then
3677 echo "$as_me:$LINENO: result: $ISCC" >&5
3678 echo "${ECHO_T}$ISCC" >&6
3680 echo "$as_me:$LINENO: result: no" >&5
3681 echo "${ECHO_T}no" >&6
3684 test -z "${ISCC}" && { { echo "$as_me:$LINENO: error: Inno Setup 2 iscc was not found on this system" >&5
3685 echo "$as_me: error: Inno Setup 2 iscc was not found on this system" >&2;}
3686 { (exit 1); exit 1; }; }
3691 appname
="LBreakout2"
3694 ac_config_files
="$ac_config_files Makefile docs/Makefile common/Makefile gui/Makefile client/Makefile client/gui_theme/Makefile client/gfx/Makefile client/gfx/AbsoluteB/Makefile client/gfx/Oz/Makefile client/gfx/Moiree/Makefile client/gfx/Classic/Makefile client/sounds/Makefile client/levels/Makefile server/Makefile"
3695 cat >confcache
<<\_ACEOF
3696 # This file is a shell script that caches the results of configure
3697 # tests run on this system so they can be shared between configure
3698 # scripts and configure runs, see configure's option --config-cache.
3699 # It is not useful on other systems. If it contains results you don't
3700 # want to keep, you may remove or edit it.
3702 # config.status only pays attention to the cache file if you give it
3703 # the --recheck option to rerun configure.
3705 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3706 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3711 # The following way of writing the cache mishandles newlines in values,
3712 # but we know of no workaround that is simple, portable, and efficient.
3713 # So, don't put newlines in cache variables' values.
3714 # Ultrix sh set writes to stderr and can't be redirected directly,
3715 # and sets the high bit in the cache file unless we assign to the vars.
3718 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3720 # `set' does not quote correctly, so add quotes (double-quote
3721 # substitution turns \\\\ into \\, and sed turns \\ into \).
3724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3727 # `set' quotes correctly as required by POSIX, so do not add quotes.
3729 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3738 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3740 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3741 if test -w $cache_file; then
3742 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3743 cat confcache
>$cache_file
3745 echo "not updating unwritable cache $cache_file"
3750 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3751 # Let make expand exec_prefix.
3752 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3754 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3755 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3756 # trailing colons and then remove the whole line if VPATH becomes empty
3757 # (actually we leave an empty line to preserve line numbers).
3758 if test "x$srcdir" = x.
; then
3759 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3760 s/:*\$(srcdir):*/:/;
3761 s/:*\${srcdir}:*/:/;
3763 s/^\([^=]*=[ ]*\):*/\1/;
3769 DEFS
=-DHAVE_CONFIG_H
3773 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3774 # 1. Remove the extension, and $U if already installed.
3775 ac_i
=`echo "$ac_i" |
3776 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3778 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
3779 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
3783 LTLIBOBJS
=$ac_ltlibobjs
3786 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3787 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3788 Usually this means the macro was only invoked conditionally." >&5
3789 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3790 Usually this means the macro was only invoked conditionally." >&2;}
3791 { (exit 1); exit 1; }; }
3793 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3794 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3795 Usually this means the macro was only invoked conditionally." >&5
3796 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3797 Usually this means the macro was only invoked conditionally." >&2;}
3798 { (exit 1); exit 1; }; }
3801 : ${CONFIG_STATUS=./config.status}
3802 ac_clean_files_save
=$ac_clean_files
3803 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3804 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3805 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3806 cat >$CONFIG_STATUS <<_ACEOF
3808 # Generated by $as_me.
3809 # Run this file to recreate the current configuration.
3810 # Compiler output produced by configure, useful for debugging
3811 # configure, is in config.log if it exists.
3816 SHELL=\${CONFIG_SHELL-$SHELL}
3819 cat >>$CONFIG_STATUS <<\_ACEOF
3820 ## --------------------- ##
3821 ## M4sh Initialization. ##
3822 ## --------------------- ##
3824 # Be Bourne compatible
3825 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3828 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3829 # is contrary to our usage. Disable this feature.
3830 alias -g '${1+"$@"}'='"$@"'
3831 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
3834 DUALCASE
=1; export DUALCASE
# for MKS sh
3836 # Support unset when possible.
3837 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
3844 # Work around bugs in pre-3.0 UWIN ksh.
3845 $as_unset ENV MAIL MAILPATH
3852 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3853 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3854 LC_TELEPHONE LC_TIME
3856 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3857 eval $as_var=C
; export $as_var
3863 # Required to use basename.
3864 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3870 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
3871 as_basename
=basename
3877 # Name of the executable.
3878 as_me
=`$as_basename "$0" ||
3879 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3880 X"$0" : 'X\(//\)$' \| \
3881 X"$0" : 'X\(/\)$' \| \
3882 . : '\(.\)' 2>/dev/null ||
3884 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3885 /^X\/\(\/\/\)$/{ s//\1/; q; }
3886 /^X\/\(\/\).*/{ s//\1/; q; }
3890 # PATH needs CR, and LINENO needs CR and PATH.
3891 # Avoid depending upon Character Ranges.
3892 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3893 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3894 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3895 as_cr_digits
='0123456789'
3896 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3898 # The user is always right.
3899 if test "${PATH_SEPARATOR+set}" != set; then
3900 echo "#! /bin/sh" >conf$$.sh
3901 echo "exit 0" >>conf$$.sh
3903 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3914 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3915 test "x$as_lineno_1" != "x$as_lineno_2" &&
3916 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
3917 # Find who we are. Look in the path if we contain no path at all
3920 *[\\/]* ) as_myself
=$0 ;;
3921 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3925 test -z "$as_dir" && as_dir
=.
3926 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
3931 # We did not find ourselves, most probably we were run as `sh COMMAND'
3932 # in which case we are not to be found in the path.
3933 if test "x$as_myself" = x
; then
3936 if test ! -f "$as_myself"; then
3937 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3938 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3939 { (exit 1); exit 1; }; }
3941 case $CONFIG_SHELL in
3943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3944 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
3947 test -z "$as_dir" && as_dir
=.
3948 for as_base
in sh bash ksh sh5
; do
3951 if ("$as_dir/$as_base" -c '
3954 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3955 test "x$as_lineno_1" != "x$as_lineno_2" &&
3956 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
3957 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
3958 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
3959 CONFIG_SHELL
=$as_dir/$as_base
3961 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3969 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3970 # uniformly replaced by the line number. The first 'sed' inserts a
3971 # line-number line before each line; the second 'sed' does the real
3972 # work. The second script uses 'N' to pair each line-number line
3973 # with the numbered line, and appends trailing '-' during
3974 # substitution so that $LINENO is not a special case at line end.
3975 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3976 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3977 sed '=' <$as_myself |
3982 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3985 s,^['$as_cr_digits']*\n,,
3987 chmod +x
$as_me.lineno ||
3988 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3989 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3990 { (exit 1); exit 1; }; }
3992 # Don't try to exec as it changes $[0], causing all sort of problems
3993 # (the dirname of $[0] is not the place where we might find the
3994 # original and so on. Autoconf is especially sensible to this).
3996 # Exit status is that of the last command.
4001 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4002 *c
*,-n*) ECHO_N
= ECHO_C
='
4004 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4005 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4008 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4014 rm -f conf$$ conf$$.exe conf$$.
file
4016 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4017 # We could just check for DJGPP; but this test a) works b) is more generic
4018 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4019 if test -f conf$$.exe
; then
4020 # Don't use ln at all; we don't have any links
4025 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4030 rm -f conf$$ conf$$.exe conf$$.
file
4032 if mkdir
-p .
2>/dev
/null
; then
4035 test -d .
/-p && rmdir .
/-p
4039 as_executable_p
="test -f"
4041 # Sed expression to map a string onto a valid CPP name.
4042 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4044 # Sed expression to map a string onto a valid variable name.
4045 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4049 # We need space, tab and new line, in precisely that order.
4059 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4060 # report actual input values of CONFIG_FILES etc. instead of their
4061 # values after options handling. Logging --version etc. is OK.
4065 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4066 ## Running $as_me. ##
4071 This file was extended by $as_me, which was
4072 generated by GNU Autoconf 2.59. Invocation command line was
4074 CONFIG_FILES = $CONFIG_FILES
4075 CONFIG_HEADERS = $CONFIG_HEADERS
4076 CONFIG_LINKS = $CONFIG_LINKS
4077 CONFIG_COMMANDS = $CONFIG_COMMANDS
4081 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4085 # Files that config.status was made for.
4086 if test -n "$ac_config_files"; then
4087 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4090 if test -n "$ac_config_headers"; then
4091 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4094 if test -n "$ac_config_links"; then
4095 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4098 if test -n "$ac_config_commands"; then
4099 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4102 cat >>$CONFIG_STATUS <<\_ACEOF
4105 \`$as_me' instantiates files from templates according to the
4106 current configuration.
4108 Usage: $0 [OPTIONS] [FILE]...
4110 -h, --help print this help, then exit
4111 -V, --version print version number, then exit
4112 -q, --quiet do not print progress messages
4113 -d, --debug don't remove temporary files
4114 --recheck update $as_me by reconfiguring in the same conditions
4115 --file=FILE[:TEMPLATE]
4116 instantiate the configuration file FILE
4117 --header=FILE[:TEMPLATE]
4118 instantiate the configuration header FILE
4120 Configuration files:
4123 Configuration headers:
4126 Configuration commands:
4129 Report bugs to <bug-autoconf@gnu.org>."
4132 cat >>$CONFIG_STATUS <<_ACEOF
4135 configured by $0, generated by GNU Autoconf 2.59,
4136 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4138 Copyright (C) 2003 Free Software Foundation, Inc.
4139 This config.status script is free software; the Free Software Foundation
4140 gives unlimited permission to copy, distribute and modify it."
4145 cat >>$CONFIG_STATUS <<\_ACEOF
4146 # If no file are specified by the user, then we need to provide default
4147 # value. By we need to know if files were specified by the user.
4153 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4154 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4162 *) # This is not an option, so the user has probably given explicit
4165 ac_need_defaults
=false
;;
4169 # Handling of the options.
4171 cat >>$CONFIG_STATUS <<\_ACEOF
4172 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4174 --version |
--vers* |
-V )
4175 echo "$ac_cs_version"; exit 0 ;;
4177 # Conflict between --help and --header
4178 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4179 Try \`$0 --help' for more information." >&5
4180 echo "$as_me: error: ambiguous option: $1
4181 Try \`$0 --help' for more information." >&2;}
4182 { (exit 1); exit 1; }; };;
4183 --help |
--hel |
-h )
4184 echo "$ac_cs_usage"; exit 0 ;;
4185 --debug |
--d* |
-d )
4187 --file |
--fil |
--fi |
--f )
4189 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4190 ac_need_defaults
=false
;;
4191 --header |
--heade |
--head |
--hea )
4193 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4194 ac_need_defaults
=false
;;
4195 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4196 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4200 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4201 Try \`$0 --help' for more information." >&5
4202 echo "$as_me: error: unrecognized option: $1
4203 Try \`$0 --help' for more information." >&2;}
4204 { (exit 1); exit 1; }; } ;;
4206 *) ac_config_targets
="$ac_config_targets $1" ;;
4212 ac_configure_extra_args
=
4214 if $ac_cs_silent; then
4216 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4220 cat >>$CONFIG_STATUS <<_ACEOF
4221 if \$ac_cs_recheck; then
4222 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4223 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4228 cat >>$CONFIG_STATUS <<_ACEOF
4230 # INIT-COMMANDS section.
4233 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4239 cat >>$CONFIG_STATUS <<\_ACEOF
4240 for ac_config_target
in $ac_config_targets
4242 case "$ac_config_target" in
4243 # Handling of arguments.
4244 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4245 "docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
4246 "common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
4247 "gui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gui/Makefile" ;;
4248 "client/Makefile" ) CONFIG_FILES
="$CONFIG_FILES client/Makefile" ;;
4249 "client/gui_theme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES client/gui_theme/Makefile" ;;
4250 "client/gfx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES client/gfx/Makefile" ;;
4251 "client/gfx/AbsoluteB/Makefile" ) CONFIG_FILES
="$CONFIG_FILES client/gfx/AbsoluteB/Makefile" ;;
4252 "client/gfx/Oz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES client/gfx/Oz/Makefile" ;;
4253 "client/gfx/Moiree/Makefile" ) CONFIG_FILES
="$CONFIG_FILES client/gfx/Moiree/Makefile" ;;
4254 "client/gfx/Classic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES client/gfx/Classic/Makefile" ;;
4255 "client/sounds/Makefile" ) CONFIG_FILES
="$CONFIG_FILES client/sounds/Makefile" ;;
4256 "client/levels/Makefile" ) CONFIG_FILES
="$CONFIG_FILES client/levels/Makefile" ;;
4257 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
4258 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
4259 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
4260 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4261 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4262 { (exit 1); exit 1; }; };;
4266 # If the user did not use the arguments to specify the items to instantiate,
4267 # then the envvar interface is used. Set only those that are not.
4268 # We use the long form for the default assignment because of an extremely
4269 # bizarre bug on SunOS 4.1.3.
4270 if $ac_need_defaults; then
4271 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4272 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4273 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4276 # Have a temporary directory for convenience. Make it in the build tree
4277 # simply because there is no reason to put it here, and in addition,
4278 # creating and moving files from /tmp can sometimes cause problems.
4279 # Create a temporary directory, and hook for its removal unless debugging.
4282 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4283 trap '{ (exit 1); exit 1; }' 1 2 13 15
4286 # Create a (secure) tmp directory for tmp files.
4289 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4290 test -n "$tmp" && test -d "$tmp"
4293 tmp
=.
/confstat$$
-$RANDOM
4294 (umask 077 && mkdir
$tmp)
4297 echo "$me: cannot create a temporary directory in ." >&2
4298 { (exit 1); exit 1; }
4303 cat >>$CONFIG_STATUS <<_ACEOF
4306 # CONFIG_FILES section.
4309 # No need to generate the scripts if there are no CONFIG_FILES.
4310 # This happens for instance when ./config.status config.h
4311 if test -n "\$CONFIG_FILES"; then
4312 # Protect against being on the right side of a sed subst in config.status.
4313 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4314 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4315 s,@SHELL@,$SHELL,;t t
4316 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4317 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4318 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4319 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4320 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4321 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4322 s,@exec_prefix@,$exec_prefix,;t t
4323 s,@prefix@,$prefix,;t t
4324 s,@program_transform_name@,$program_transform_name,;t t
4325 s,@bindir@,$bindir,;t t
4326 s,@sbindir@,$sbindir,;t t
4327 s,@libexecdir@,$libexecdir,;t t
4328 s,@datadir@,$datadir,;t t
4329 s,@sysconfdir@,$sysconfdir,;t t
4330 s,@sharedstatedir@,$sharedstatedir,;t t
4331 s,@localstatedir@,$localstatedir,;t t
4332 s,@libdir@,$libdir,;t t
4333 s,@includedir@,$includedir,;t t
4334 s,@oldincludedir@,$oldincludedir,;t t
4335 s,@infodir@,$infodir,;t t
4336 s,@mandir@,$mandir,;t t
4337 s,@build_alias@,$build_alias,;t t
4338 s,@host_alias@,$host_alias,;t t
4339 s,@target_alias@,$target_alias,;t t
4341 s,@ECHO_C@,$ECHO_C,;t t
4342 s,@ECHO_N@,$ECHO_N,;t t
4343 s,@ECHO_T@,$ECHO_T,;t t
4345 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4346 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4347 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4348 s,@CYGPATH_W@,$CYGPATH_W,;t t
4349 s,@PACKAGE@,$PACKAGE,;t t
4350 s,@VERSION@,$VERSION,;t t
4351 s,@ACLOCAL@,$ACLOCAL,;t t
4352 s,@AUTOCONF@,$AUTOCONF,;t t
4353 s,@AUTOMAKE@,$AUTOMAKE,;t t
4354 s,@AUTOHEADER@,$AUTOHEADER,;t t
4355 s,@MAKEINFO@,$MAKEINFO,;t t
4356 s,@AMTAR@,$AMTAR,;t t
4357 s,@install_sh@,$install_sh,;t t
4358 s,@STRIP@,$STRIP,;t t
4359 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4360 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4362 s,@SET_MAKE@,$SET_MAKE,;t t
4363 s,@am__leading_dot@,$am__leading_dot,;t t
4365 s,@CFLAGS@,$CFLAGS,;t t
4366 s,@LDFLAGS@,$LDFLAGS,;t t
4367 s,@CPPFLAGS@,$CPPFLAGS,;t t
4368 s,@ac_ct_CC@,$ac_ct_CC,;t t
4369 s,@EXEEXT@,$EXEEXT,;t t
4370 s,@OBJEXT@,$OBJEXT,;t t
4371 s,@DEPDIR@,$DEPDIR,;t t
4372 s,@am__include@,$am__include,;t t
4373 s,@am__quote@,$am__quote,;t t
4374 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4375 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4376 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4377 s,@CCDEPMODE@,$CCDEPMODE,;t t
4378 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4379 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4380 s,@RANLIB@,$RANLIB,;t t
4381 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4382 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
4383 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
4384 s,@SDL_LIBS@,$SDL_LIBS,;t t
4385 s,@warp_flag@,$warp_flag,;t t
4386 s,@audio_flag@,$audio_flag,;t t
4387 s,@mixer_flag@,$mixer_flag,;t t
4388 s,@build@,$build,;t t
4389 s,@build_cpu@,$build_cpu,;t t
4390 s,@build_vendor@,$build_vendor,;t t
4391 s,@build_os@,$build_os,;t t
4393 s,@host_cpu@,$host_cpu,;t t
4394 s,@host_vendor@,$host_vendor,;t t
4395 s,@host_os@,$host_os,;t t
4396 s,@doc_dir@,$doc_dir,;t t
4397 s,@network_flag@,$network_flag,;t t
4398 s,@inst_flag@,$inst_flag,;t t
4399 s,@hi_inst_flag@,$hi_inst_flag,;t t
4400 s,@inst_dir@,$inst_dir,;t t
4401 s,@hi_dir@,$hi_dir,;t t
4402 s,@win32_deps@,$win32_deps,;t t
4403 s,@arch_flag@,$arch_flag,;t t
4405 s,@win32_inst_script@,$win32_inst_script,;t t
4406 s,@appname@,$appname,;t t
4407 s,@LIBOBJS@,$LIBOBJS,;t t
4408 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4413 cat >>$CONFIG_STATUS <<\_ACEOF
4414 # Split the substitutions into bite-sized pieces for seds with
4415 # small command number limits, like on Digital OSF/1 and HP-UX.
4417 ac_sed_frag
=1 # Number of current file.
4418 ac_beg
=1 # First line for current file.
4419 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4422 while $ac_more_lines; do
4423 if test $ac_beg -gt 1; then
4424 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4426 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4428 if test ! -s $tmp/subs.frag
; then
4431 # The purpose of the label and of the branching condition is to
4432 # speed up the sed processing (if there are no `@' at all, there
4433 # is no need to browse any of the substitutions).
4434 # These are the two extra sed commands mentioned above.
4436 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4437 if test -z "$ac_sed_cmds"; then
4438 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4440 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4442 ac_sed_frag
=`expr $ac_sed_frag + 1`
4444 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4447 if test -z "$ac_sed_cmds"; then
4450 fi # test -n "$CONFIG_FILES"
4453 cat >>$CONFIG_STATUS <<\_ACEOF
4454 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4455 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4457 - |
*:- |
*:-:* ) # input from stdin
4459 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4460 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4461 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4462 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4463 * ) ac_file_in
=$ac_file.
in ;;
4466 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4467 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4468 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4469 X"$ac_file" : 'X\(//\)[^/]' \| \
4470 X"$ac_file" : 'X\(//\)$' \| \
4471 X"$ac_file" : 'X\(/\)' \| \
4472 . : '\(.\)' 2>/dev/null ||
4474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4475 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4476 /^X\(\/\/\)$/{ s//\1/; q; }
4477 /^X\(\/\).*/{ s//\1/; q; }
4479 { if $as_mkdir_p; then
4484 while test ! -d "$as_dir"; do
4485 as_dirs
="$as_dir $as_dirs"
4486 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4487 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4488 X"$as_dir" : 'X\(//\)[^/]' \| \
4489 X"$as_dir" : 'X\(//\)$' \| \
4490 X"$as_dir" : 'X\(/\)' \| \
4491 . : '\(.\)' 2>/dev/null ||
4493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4494 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4495 /^X\(\/\/\)$/{ s//\1/; q; }
4496 /^X\(\/\).*/{ s//\1/; q; }
4499 test ! -n "$as_dirs" || mkdir
$as_dirs
4500 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4501 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4502 { (exit 1); exit 1; }; }; }
4506 if test "$ac_dir" != .
; then
4507 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4508 # A "../" for each directory in $ac_dir_suffix.
4509 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4511 ac_dir_suffix
= ac_top_builddir
=
4515 .
) # No --srcdir option. We are building in place.
4517 if test -z "$ac_top_builddir"; then
4520 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4522 [\\/]* | ?
:[\\/]* ) # Absolute path.
4523 ac_srcdir
=$srcdir$ac_dir_suffix;
4524 ac_top_srcdir
=$srcdir ;;
4526 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4527 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4530 # Do not use `cd foo && pwd` to compute absolute paths, because
4531 # the directories may not exist.
4533 .
) ac_abs_builddir
="$ac_dir";;
4536 .
) ac_abs_builddir
=`pwd`;;
4537 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4538 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4541 case $ac_abs_builddir in
4542 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4544 case ${ac_top_builddir}.
in
4545 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4546 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4547 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4550 case $ac_abs_builddir in
4551 .
) ac_abs_srcdir
=$ac_srcdir;;
4554 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4555 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4556 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4559 case $ac_abs_builddir in
4560 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4562 case $ac_top_srcdir in
4563 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4564 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4565 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4571 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
4572 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
4575 if test x
"$ac_file" != x-
; then
4576 { echo "$as_me:$LINENO: creating $ac_file" >&5
4577 echo "$as_me: creating $ac_file" >&6;}
4580 # Let's still pretend it is `configure' which instantiates (i.e., don't
4581 # use $as_me), people would be surprised to read:
4582 # /* config.h. Generated by config.status. */
4583 if test x
"$ac_file" = x-
; then
4586 configure_input
="$ac_file. "
4588 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4589 sed 's,.*/,,'` by configure."
4591 # First look for the input files in the build tree, otherwise in the
4593 ac_file_inputs
=`IFS=:
4594 for f in $ac_file_in; do
4596 -) echo $tmp/stdin ;;
4598 # Absolute (can't be DOS-style, as IFS=:)
4599 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4600 echo "$as_me: error: cannot find input file: $f" >&2;}
4601 { (exit 1); exit 1; }; }
4604 if test -f "$f"; then
4607 elif test -f "$srcdir/$f"; then
4612 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4613 echo "$as_me: error: cannot find input file: $f" >&2;}
4614 { (exit 1); exit 1; }; }
4617 done` ||
{ (exit 1); exit 1; }
4619 cat >>$CONFIG_STATUS <<_ACEOF
4623 cat >>$CONFIG_STATUS <<\_ACEOF
4625 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4626 s
,@configure_input@
,$configure_input,;t t
4627 s
,@srcdir@
,$ac_srcdir,;t t
4628 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4629 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4630 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4631 s
,@builddir@
,$ac_builddir,;t t
4632 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4633 s
,@top_builddir@
,$ac_top_builddir,;t t
4634 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4635 s
,@INSTALL@
,$ac_INSTALL,;t t
4636 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4638 if test x"$ac_file" != x-; then
4639 mv $tmp/out $ac_file
4647 cat >>$CONFIG_STATUS <<\_ACEOF
4650 # CONFIG_HEADER section.
4653 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
4654 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4656 # ac_d sets the value in "#define NAME VALUE" lines.
4657 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4658 ac_dB
='[ ].*$,\1#\2'
4661 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4662 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4663 ac_uB
='$,\1#\2define\3'
4667 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
4668 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4670 - |
*:- |
*:-:* ) # input from stdin
4672 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4673 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4674 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4675 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4676 * ) ac_file_in
=$ac_file.
in ;;
4679 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
4680 echo "$as_me: creating $ac_file" >&6;}
4682 # First look for the input files in the build tree, otherwise in the
4684 ac_file_inputs
=`IFS=:
4685 for f in $ac_file_in; do
4687 -) echo $tmp/stdin ;;
4689 # Absolute (can't be DOS-style, as IFS=:)
4690 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4691 echo "$as_me: error: cannot find input file: $f" >&2;}
4692 { (exit 1); exit 1; }; }
4693 # Do quote $f, to prevent DOS paths from being IFS'd.
4696 if test -f "$f"; then
4699 elif test -f "$srcdir/$f"; then
4704 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4705 echo "$as_me: error: cannot find input file: $f" >&2;}
4706 { (exit 1); exit 1; }; }
4709 done` ||
{ (exit 1); exit 1; }
4710 # Remove the trailing spaces.
4711 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4715 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4716 # `conftest.undefs', that substitutes the proper values into
4717 # config.h.in to produce config.h. The first handles `#define'
4718 # templates, and the second `#undef' templates.
4719 # And first: Protect against being on the right side of a sed subst in
4720 # config.status. Protect against being in an unquoted here document
4722 rm -f conftest.defines conftest.undefs
4723 # Using a here document instead of a string reduces the quoting nightmare.
4724 # Putting comments in sed scripts is not portable.
4726 # `end' is used to avoid that the second main sed command (meant for
4727 # 0-ary CPP macros) applies to n-ary macro definitions.
4728 # See the Autoconf documentation for `clear'.
4729 cat >confdef2sed.
sed <<\_ACEOF
4734 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4736 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4739 # If some macros were called several times there might be several times
4740 # the same #defines, which is useless. Nevertheless, we may not want to
4741 # sort them, since we want the *last* AC-DEFINE to be honored.
4742 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4743 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4744 rm -f confdef2sed.sed
4746 # This sed command replaces #undef with comments. This is necessary, for
4747 # example, in the case of _POSIX_SOURCE, which is predefined and required
4748 # on some systems where configure will not decide to define it.
4749 cat >>conftest.undefs <<\_ACEOF
4750 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4753 # Break up conftest.defines because some shells have a limit on the size
4754 # of here documents, and old seds have small limits too (100 cmds).
4755 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4756 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4757 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4758 echo ' :' >>$CONFIG_STATUS
4760 while grep . conftest.defines >/dev/null
4762 # Write a limited-size here document to $tmp/defines.sed.
4763 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4764 # Speed up: don't consider the non `#define' lines.
4765 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4766 # Work around the forget-to-reset-the-flag bug.
4767 echo 't clr' >>$CONFIG_STATUS
4768 echo ': clr' >>$CONFIG_STATUS
4769 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
4771 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4775 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
4776 rm -f conftest.defines
4777 mv conftest.
tail conftest.defines
4779 rm -f conftest.defines
4780 echo ' fi # grep' >>$CONFIG_STATUS
4781 echo >>$CONFIG_STATUS
4783 # Break up conftest.undefs because some shells have a limit on the size
4784 # of here documents, and old seds have small limits too (100 cmds).
4785 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4787 while grep . conftest.undefs
>/dev
/null
4789 # Write a limited-size here document to $tmp/undefs.sed.
4790 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4791 # Speed up: don't consider the non
`#undef'
4792 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4793 # Work around the forget-to-reset-the-flag bug.
4794 echo 't clr' >>$CONFIG_STATUS
4795 echo ': clr' >>$CONFIG_STATUS
4796 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4798 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4802 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4803 rm -f conftest.undefs
4804 mv conftest.tail conftest.undefs
4806 rm -f conftest.undefs
4808 cat >>$CONFIG_STATUS <<\_ACEOF
4809 # Let's still pretend it is `configure
' which instantiates (i.e., don't
4810 # use $as_me), people would be surprised to read:
4811 # /* config.h. Generated by config.status. */
4812 if test x
"$ac_file" = x-
; then
4813 echo "/* Generated by configure. */" >$tmp/config.h
4815 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4817 cat $tmp/in >>$tmp/config.h
4819 if test x
"$ac_file" != x-
; then
4820 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
4821 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4822 echo "$as_me: $ac_file is unchanged" >&6;}
4824 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4825 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4826 X"$ac_file" : 'X\(//\)[^/]' \| \
4827 X"$ac_file" : 'X\(//\)$' \| \
4828 X"$ac_file" : 'X\(/\)' \| \
4829 . : '\(.\)' 2>/dev/null ||
4831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4832 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4833 /^X\(\/\/\)$/{ s//\1/; q; }
4834 /^X\(\/\).*/{ s//\1/; q; }
4836 { if $as_mkdir_p; then
4841 while test ! -d "$as_dir"; do
4842 as_dirs
="$as_dir $as_dirs"
4843 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4844 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4845 X"$as_dir" : 'X\(//\)[^/]' \| \
4846 X"$as_dir" : 'X\(//\)$' \| \
4847 X"$as_dir" : 'X\(/\)' \| \
4848 . : '\(.\)' 2>/dev/null ||
4850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4851 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4852 /^X\(\/\/\)$/{ s//\1/; q; }
4853 /^X\(\/\).*/{ s//\1/; q; }
4856 test ! -n "$as_dirs" || mkdir
$as_dirs
4857 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4858 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4859 { (exit 1); exit 1; }; }; }
4862 mv $tmp/config.h
$ac_file
4868 # Compute $ac_file's index in $config_headers.
4870 for _am_header
in $config_headers :; do
4872 $ac_file |
$ac_file:* )
4875 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
4878 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4879 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4880 X$ac_file : 'X\(//\)[^/]' \| \
4881 X$ac_file : 'X\(//\)$' \| \
4882 X$ac_file : 'X\(/\)' \| \
4883 . : '\(.\)' 2>/dev/null ||
4885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4886 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4887 /^X\(\/\/\)$/{ s//\1/; q; }
4888 /^X\(\/\).*/{ s//\1/; q; }
4889 s/.*/./; q'`/stamp-h
$_am_stamp_count
4892 cat >>$CONFIG_STATUS <<\_ACEOF
4895 # CONFIG_COMMANDS section.
4897 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
4898 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
4899 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4900 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
4901 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4902 X"$ac_dest" : 'X\(//\)[^/]' \| \
4903 X"$ac_dest" : 'X\(//\)$' \| \
4904 X"$ac_dest" : 'X\(/\)' \| \
4905 . : '\(.\)' 2>/dev/null ||
4907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4908 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4909 /^X\(\/\/\)$/{ s//\1/; q; }
4910 /^X\(\/\).*/{ s//\1/; q; }
4912 { if $as_mkdir_p; then
4917 while test ! -d "$as_dir"; do
4918 as_dirs
="$as_dir $as_dirs"
4919 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4920 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4921 X"$as_dir" : 'X\(//\)[^/]' \| \
4922 X"$as_dir" : 'X\(//\)$' \| \
4923 X"$as_dir" : 'X\(/\)' \| \
4924 . : '\(.\)' 2>/dev/null ||
4926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4927 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4928 /^X\(\/\/\)$/{ s//\1/; q; }
4929 /^X\(\/\).*/{ s//\1/; q; }
4932 test ! -n "$as_dirs" || mkdir
$as_dirs
4933 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4934 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4935 { (exit 1); exit 1; }; }; }
4939 if test "$ac_dir" != .
; then
4940 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4941 # A "../" for each directory in $ac_dir_suffix.
4942 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4944 ac_dir_suffix
= ac_top_builddir
=
4948 .
) # No --srcdir option. We are building in place.
4950 if test -z "$ac_top_builddir"; then
4953 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4955 [\\/]* | ?
:[\\/]* ) # Absolute path.
4956 ac_srcdir
=$srcdir$ac_dir_suffix;
4957 ac_top_srcdir
=$srcdir ;;
4959 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4960 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4963 # Do not use `cd foo && pwd` to compute absolute paths, because
4964 # the directories may not exist.
4966 .
) ac_abs_builddir
="$ac_dir";;
4969 .
) ac_abs_builddir
=`pwd`;;
4970 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4971 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4974 case $ac_abs_builddir in
4975 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4977 case ${ac_top_builddir}.
in
4978 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4979 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4980 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4983 case $ac_abs_builddir in
4984 .
) ac_abs_srcdir
=$ac_srcdir;;
4987 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4988 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4989 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4992 case $ac_abs_builddir in
4993 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4995 case $ac_top_srcdir in
4996 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4997 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4998 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5003 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5004 echo "$as_me: executing $ac_dest commands" >&6;}
5006 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
5007 # Strip MF so we end up with the name of the file.
5008 mf
=`echo "$mf" | sed -e 's/:.*$//'`
5009 # Check whether this is an Automake generated Makefile or not.
5010 # We used to match only the files named `Makefile.in', but
5011 # some people rename them; so instead we look at the file content.
5012 # Grep'ing the first line is not enough: some people post-process
5013 # each Makefile.in and add a new line on top of each file to say so.
5014 # So let's grep whole file.
5015 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
5016 dirpart
=`(dirname "$mf") 2>/dev/null ||
5017 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5018 X"$mf" : 'X\(//\)[^/]' \| \
5019 X"$mf" : 'X\(//\)$' \| \
5020 X"$mf" : 'X\(/\)' \| \
5021 . : '\(.\)' 2>/dev/null ||
5023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5024 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5025 /^X\(\/\/\)$/{ s//\1/; q; }
5026 /^X\(\/\).*/{ s//\1/; q; }
5031 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
5032 # Extract the definition of DEP_FILES from the Makefile without
5034 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5035 test -z "$DEPDIR" && continue
5036 # When using ansi2knr, U may be empty or an underscore; expand it
5037 U
=`sed -n -e '/^U = / s///p' < "$mf"`
5038 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
5039 # We invoke sed twice because it is the simplest approach to
5040 # changing $(DEPDIR) to its actual value in the expansion.
5041 for file in `sed -n -e '
5042 /^DEP_FILES = .*\\\\$/ {
5051 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5052 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5053 # Make sure the directory exists.
5054 test -f "$dirpart/$file" && continue
5055 fdir
=`(dirname "$file") 2>/dev/null ||
5056 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5057 X"$file" : 'X\(//\)[^/]' \| \
5058 X"$file" : 'X\(//\)$' \| \
5059 X"$file" : 'X\(/\)' \| \
5060 . : '\(.\)' 2>/dev/null ||
5062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5063 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5064 /^X\(\/\/\)$/{ s//\1/; q; }
5065 /^X\(\/\).*/{ s//\1/; q; }
5067 { if $as_mkdir_p; then
5068 mkdir
-p $dirpart/$fdir
5070 as_dir
=$dirpart/$fdir
5072 while test ! -d "$as_dir"; do
5073 as_dirs
="$as_dir $as_dirs"
5074 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5076 X"$as_dir" : 'X\(//\)[^/]' \| \
5077 X"$as_dir" : 'X\(//\)$' \| \
5078 X"$as_dir" : 'X\(/\)' \| \
5079 . : '\(.\)' 2>/dev/null ||
5081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5082 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5083 /^X\(\/\/\)$/{ s//\1/; q; }
5084 /^X\(\/\).*/{ s//\1/; q; }
5087 test ! -n "$as_dirs" || mkdir
$as_dirs
5088 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5089 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5090 { (exit 1); exit 1; }; }; }
5092 # echo "creating $dirpart/$file"
5093 echo '# dummy' > "$dirpart/$file"
5101 cat >>$CONFIG_STATUS <<\_ACEOF
5103 { (exit 0); exit 0; }
5105 chmod +x
$CONFIG_STATUS
5106 ac_clean_files
=$ac_clean_files_save
5109 # configure is writing to config.log, and then calls config.status.
5110 # config.status does its own redirection, appending to config.log.
5111 # Unfortunately, on DOS this fails, as config.log is still kept open
5112 # by configure, so config.status won't be able to write to it; its
5113 # output is simply discarded. So we exec the FD to /dev/null,
5114 # effectively closing config.log, so it can be properly (re)opened and
5115 # appended to by config.status. When coming back to configure, we
5116 # need to make the FD available again.
5117 if test "$no_create" != yes; then
5119 ac_config_status_args
=
5120 test "$silent" = yes &&
5121 ac_config_status_args
="$ac_config_status_args --quiet"
5123 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5125 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5126 # would make configure fail if this is the last instruction.
5127 $ac_cs_success ||
{ (exit 1); exit 1; }