2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for spout unix_1.3.
5 # Report bugs to <rohan@mizzenblog.com>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME
='spout'
272 PACKAGE_VERSION
='unix_1.3'
273 PACKAGE_STRING
='spout unix_1.3'
274 PACKAGE_BUGREPORT
='rohan@mizzenblog.com'
276 ac_unique_file
="config.h.in"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 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 mkdir_p 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SDL_CONFIG SDL_CFLAGS SDL_LIBS CPP EGREP LIBOBJS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures spout unix_1.3 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --program-prefix=PREFIX prepend PREFIX to installed program names
838 --program-suffix=SUFFIX append SUFFIX to installed program names
839 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
842 --build=BUILD configure
for building on BUILD
[guessed
]
843 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
844 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
848 if test -n "$ac_init_help"; then
849 case $ac_init_help in
850 short | recursive
) echo "Configuration of spout unix_1.3:";;
855 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
856 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
857 --disable-dependency-tracking speeds up one-time build
858 --enable-dependency-tracking do not reject slow dependency extractors
859 --disable-sdltest Do not try to compile and run a
test SDL program
862 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
863 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
864 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
865 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
867 Some influential environment variables
:
868 CC C compiler
command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
871 nonstandard directory
<lib dir
>
872 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
873 headers
in a nonstandard directory
<include dir
>
876 Use these variables to override the choices made by
`configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
879 Report bugs to <rohan@mizzenblog.com>.
883 if test "$ac_init_help" = "recursive"; then
884 # If there are subdirs, report their specific --help.
886 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887 test -d $ac_dir || continue
890 if test "$ac_dir" != .; then
891 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
892 # A "../" for each directory in $ac_dir_suffix.
893 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
895 ac_dir_suffix= ac_top_builddir=
899 .) # No --srcdir option. We are building in place.
901 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
906 [\\/]* | ?:[\\/]* ) # Absolute path.
907 ac_srcdir=$srcdir$ac_dir_suffix;
908 ac_top_srcdir=$srcdir ;;
910 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911 ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 # Do not use `cd foo
&& pwd` to compute absolute paths, because
915 # the directories may not exist.
917 .) ac_abs_builddir="$ac_dir";;
920 .) ac_abs_builddir=`pwd`;;
921 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922 *) ac_abs_builddir=`pwd`/"$ac_dir";;
925 case $ac_abs_builddir in
926 .) ac_abs_top_builddir=${ac_top_builddir}.;;
928 case ${ac_top_builddir}. in
929 .) ac_abs_top_builddir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934 case $ac_abs_builddir in
935 .) ac_abs_srcdir=$ac_srcdir;;
938 .) ac_abs_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943 case $ac_abs_builddir in
944 .) ac_abs_top_srcdir=$ac_top_srcdir;;
946 case $ac_top_srcdir in
947 .) ac_abs_top_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 # Check for guested configure; otherwise get Cygnus style configure.
955 if test -f $ac_srcdir/configure.gnu; then
957 $SHELL $ac_srcdir/configure.gnu --help=recursive
958 elif test -f $ac_srcdir/configure; then
960 $SHELL $ac_srcdir/configure --help=recursive
961 elif test -f $ac_srcdir/configure.ac ||
962 test -f $ac_srcdir/configure.in; then
966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 test -n "$ac_init_help" && exit 0
973 if $ac_init_version; then
975 spout configure unix_1.3
976 generated by GNU Autoconf 2.59
978 Copyright (C) 2003 Free Software Foundation, Inc.
979 This configure script is free software; the Free Software Foundation
980 gives unlimited permission to copy, distribute and modify it.
986 This file contains any messages produced by compilers while
987 running configure, to aid debugging if configure makes a mistake.
989 It was created by spout $as_me unix_1.3, which was
990 generated by GNU Autoconf 2.59. Invocation command line was
1001 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1002 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1003 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1004 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1005 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1008 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1010 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1011 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1012 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1013 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1014 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1016 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1024 test -z "$as_dir" && as_dir=.
1025 echo "PATH: $as_dir"
1040 # Keep a trace of the command line.
1041 # Strip out --no-create and --no-recursion so they do not pile up.
1042 # Strip out --silent because we don't want to record it for future runs.
1043 # Also quote any args containing shell meta-characters.
1044 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_must_keep_next=false
1055 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057 | -silent | --silent | --silen | --sile | --sil)
1059 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1060 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1063 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1065 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1066 if test $ac_must_keep_next = true; then
1067 ac_must_keep_next=false # Got value, back to normal.
1070 *=* | --config-cache | -C | -disable-* | --disable-* \
1071 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1072 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1073 | -with-* | --with-* | -without-* | --without-* | --x)
1074 case "$ac_configure_args0 " in
1075 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1078 -* ) ac_must_keep_next=true ;;
1081 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1082 # Get rid of the leading space.
1088 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1089 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1091 # When interrupted or exit'd, cleanup temporary files, and complete
1092 # config.log. We remove comments because anyway the quotes in there
1093 # would cause problems or look ugly.
1094 # WARNING: Be sure not to use single quotes in there, as some shells,
1095 # such as our DU 5.0 friend, will then `close
' the trap.
1096 trap 'exit_status
=$?
1097 # Save into config.log some information that might help in debugging.
1102 ## ---------------- ##
1103 ## Cache variables. ##
1104 ## ---------------- ##
1107 # The following way of writing the cache mishandles newlines in values,
1110 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1113 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1118 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 ## ----------------- ##
1126 ## Output variables. ##
1127 ## ----------------- ##
1130 for ac_var
in $ac_subst_vars
1132 eval ac_val
=$
`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1137 if test -n "$ac_subst_files"; then
1144 for ac_var
in $ac_subst_files
1146 eval ac_val
=$
`echo $ac_var`
1147 echo "$ac_var='"'"'$ac_val'"'"'"
1152 if test -s confdefs.h
; then
1159 sed "/^$/d" confdefs.h |
sort
1162 test "$ac_signal" != 0 &&
1163 echo "$as_me: caught signal $ac_signal"
1164 echo "$as_me: exit $exit_status"
1166 rm -f core
*.core
&&
1167 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1170 for ac_signal in 1 2 13 15; do
1171 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1176 rm -rf conftest* confdefs.h
1177 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1180 # Predefined preprocessor variables.
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_NAME "$PACKAGE_NAME"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_STRING "$PACKAGE_STRING"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1207 # Let the site file select an alternate cache file if it wants to.
1208 # Prefer explicitly selected file to automatically selected ones.
1209 if test -z "$CONFIG_SITE"; then
1210 if test "x$prefix" != xNONE; then
1211 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1213 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1216 for ac_site_file in $CONFIG_SITE; do
1217 if test -r "$ac_site_file"; then
1218 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1219 echo "$as_me: loading site script $ac_site_file" >&6;}
1220 sed 's
/^
/|
/' "$ac_site_file" >&5
1225 if test -r "$cache_file"; then
1226 # Some versions of bash will fail to source /dev/null (special
1227 # files actually), so we avoid doing that.
1228 if test -f "$cache_file"; then
1229 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1230 echo "$as_me: loading cache $cache_file" >&6;}
1232 [\\/]* | ?:[\\/]* ) . $cache_file;;
1233 *) . ./$cache_file;;
1237 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1238 echo "$as_me: creating cache $cache_file" >&6;}
1242 # Check that the precious variables saved in the cache have kept the same
1244 ac_cache_corrupted=false
1245 for ac_var in `(set) 2>&1 |
1246 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1247 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1248 eval ac_new_set=\$ac_env_${ac_var}_set
1249 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1250 eval ac_new_val="\$ac_env_${ac_var}_value"
1251 case $ac_old_set,$ac_new_set in
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1255 ac_cache_corrupted=: ;;
1257 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1262 if test "x$ac_old_val" != "x$ac_new_val"; then
1263 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1264 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1265 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1266 echo "$as_me: former value: $ac_old_val" >&2;}
1267 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1268 echo "$as_me: current value: $ac_new_val" >&2;}
1269 ac_cache_corrupted=:
1272 # Pass precious variables to config.status.
1273 if test "$ac_new_set" = set; then
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1277 *) ac_arg=$ac_var=$ac_new_val ;;
1279 case " $ac_configure_args " in
1280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1281 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1285 if $ac_cache_corrupted; then
1286 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1287 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1288 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1289 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1290 { (exit 1); exit 1; }; }
1294 ac_cpp='$CPP $CPPFLAGS'
1295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1296 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1325 am__api_version="1.8"
1327 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1328 if test -f $ac_dir/install-sh; then
1330 ac_install_sh="$ac_aux_dir/install-sh -c"
1332 elif test -f $ac_dir/install.sh; then
1334 ac_install_sh="$ac_aux_dir/install.sh -c"
1336 elif test -f $ac_dir/shtool; then
1338 ac_install_sh="$ac_aux_dir/shtool install -c"
1342 if test -z "$ac_aux_dir"; then
1343 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1344 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1345 { (exit 1); exit 1; }; }
1347 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1348 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1349 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1351 # Find a good install program. We prefer a C program (faster),
1352 # so one script is as good as another. But avoid the broken or
1353 # incompatible versions:
1354 # SysV /etc/install, /usr/sbin/install
1355 # SunOS /usr/etc/install
1356 # IRIX /sbin/install
1358 # AmigaOS /C/install, which installs bootblocks on floppy discs
1359 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1360 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1361 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1362 # OS/2's system install, which has a completely different semantic
1363 # ./install, which can be erroneously created by make from ./install.sh.
1364 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1365 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1366 if test -z "$INSTALL"; then
1367 if test "${ac_cv_path_install+set}" = set; then
1368 echo $ECHO_N "(cached) $ECHO_C" >&6
1370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1374 test -z "$as_dir" && as_dir
=.
1375 # Account for people who put trailing slashes in PATH elements.
1377 .
/ | .
// |
/cC
/* | \
1378 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1379 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1382 # OSF1 and SCO ODT 3.0 have their own names for install.
1383 # Don't use installbsd from OSF since it installs stuff as root
1385 for ac_prog
in ginstall scoinst
install; do
1386 for ac_exec_ext
in '' $ac_executable_extensions; do
1387 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1388 if test $ac_prog = install &&
1389 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1390 # AIX install. It has an incompatible calling convention.
1392 elif test $ac_prog = install &&
1393 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1394 # program-specific install script used by HP pwplus--don't use.
1397 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1409 if test "${ac_cv_path_install+set}" = set; then
1410 INSTALL
=$ac_cv_path_install
1412 # As a last resort, use the slow shell script. We don't cache a
1413 # path for INSTALL within a source directory, because that will
1414 # break other packages using the cache if that directory is
1415 # removed, or if the path is relative.
1416 INSTALL
=$ac_install_sh
1419 echo "$as_me:$LINENO: result: $INSTALL" >&5
1420 echo "${ECHO_T}$INSTALL" >&6
1422 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1423 # It thinks the first close brace ends the variable substitution.
1424 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1426 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1428 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1430 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1431 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1434 echo timestamp
> conftest.
file
1435 # Do `set' in a subshell so we don't clobber the current shell's
1436 # arguments. Must try -L first in case configure is actually a
1437 # symlink; some systems play weird games with the mod time of symlinks
1438 # (eg FreeBSD returns the mod time of the symlink's containing
1441 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1442 if test "$*" = "X"; then
1444 set X
`ls -t $srcdir/configure conftest.file`
1447 if test "$*" != "X $srcdir/configure conftest.file" \
1448 && test "$*" != "X conftest.file $srcdir/configure"; then
1450 # If neither matched, then we have a broken ls. This can happen
1451 # if, for instance, CONFIG_SHELL is bash and it inherits a
1452 # broken ls alias from the environment. This has actually
1453 # happened. Such a system could not be considered "sane".
1454 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1455 alias in your environment" >&5
1456 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1457 alias in your environment" >&2;}
1458 { (exit 1); exit 1; }; }
1461 test "$2" = conftest.
file
1467 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1468 Check your system clock" >&5
1469 echo "$as_me: error: newly created file is older than distributed files!
1470 Check your system clock" >&2;}
1471 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: result: yes" >&5
1474 echo "${ECHO_T}yes" >&6
1475 test "$program_prefix" != NONE
&&
1476 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1477 # Use a double $ so make ignores it.
1478 test "$program_suffix" != NONE
&&
1479 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1480 # Double any \ or $. echo might interpret backslashes.
1481 # By default was `s,x,x', remove it if useless.
1482 cat <<\_ACEOF
>conftest.
sed
1483 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1485 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1488 # expand $ac_aux_dir to an absolute path
1489 am_aux_dir
=`cd $ac_aux_dir && pwd`
1491 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1492 # Use eval to expand $SHELL
1493 if eval "$MISSING --run true"; then
1494 am_missing_run
="$MISSING --run "
1497 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1498 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1501 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1502 # Keeping the `.' argument allows $(mkdir_p) to be used without
1503 # argument. Indeed, we sometimes output rules like
1504 # $(mkdir_p) $(somedir)
1505 # where $(somedir) is conditionally defined.
1506 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1507 # expensive solution, as it forces Make to start a sub-shell.)
1508 mkdir_p
='mkdir -p -- .'
1510 # On NextStep and OpenStep, the `mkdir' command does not
1511 # recognize any option. It will interpret all options as
1512 # directories to create, and then abort because `.' already
1514 for d
in .
/-p .
/--version;
1516 test -d $d && rmdir $d
1518 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1519 if test -f "$ac_aux_dir/mkinstalldirs"; then
1520 mkdir_p
='$(mkinstalldirs)'
1522 mkdir_p
='$(install_sh) -d'
1526 for ac_prog
in gawk mawk nawk
awk
1528 # Extract the first word of "$ac_prog", so it can be a program name with args.
1529 set dummy
$ac_prog; ac_word
=$2
1530 echo "$as_me:$LINENO: checking for $ac_word" >&5
1531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1532 if test "${ac_cv_prog_AWK+set}" = set; then
1533 echo $ECHO_N "(cached) $ECHO_C" >&6
1535 if test -n "$AWK"; then
1536 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1542 test -z "$as_dir" && as_dir
=.
1543 for ac_exec_ext
in '' $ac_executable_extensions; do
1544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1545 ac_cv_prog_AWK
="$ac_prog"
1546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1555 if test -n "$AWK"; then
1556 echo "$as_me:$LINENO: result: $AWK" >&5
1557 echo "${ECHO_T}$AWK" >&6
1559 echo "$as_me:$LINENO: result: no" >&5
1560 echo "${ECHO_T}no" >&6
1563 test -n "$AWK" && break
1566 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1567 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1568 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1569 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1572 cat >conftest.
make <<\_ACEOF
1574 @
echo 'ac_maketemp="$(MAKE)"'
1576 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1577 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1578 if test -n "$ac_maketemp"; then
1579 eval ac_cv_prog_make_
${ac_make}_set
=yes
1581 eval ac_cv_prog_make_
${ac_make}_set
=no
1585 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1586 echo "$as_me:$LINENO: result: yes" >&5
1587 echo "${ECHO_T}yes" >&6
1590 echo "$as_me:$LINENO: result: no" >&5
1591 echo "${ECHO_T}no" >&6
1592 SET_MAKE
="MAKE=${MAKE-make}"
1595 rm -rf .tst
2>/dev
/null
1596 mkdir .tst
2>/dev
/null
1597 if test -d .tst
; then
1602 rmdir .tst
2>/dev
/null
1604 # test to see if srcdir already configured
1605 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1606 test -f $srcdir/config.status
; then
1607 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1608 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1609 { (exit 1); exit 1; }; }
1612 # test whether we have cygpath
1613 if test -z "$CYGPATH_W"; then
1614 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1615 CYGPATH_W
='cygpath -w'
1622 # Define the identity of the package.
1627 cat >>confdefs.h
<<_ACEOF
1628 #define PACKAGE "$PACKAGE"
1632 cat >>confdefs.h
<<_ACEOF
1633 #define VERSION "$VERSION"
1636 # Some tools Automake needs.
1638 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1641 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1644 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1647 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1650 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1653 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1655 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1657 # Installed binaries are usually stripped using `strip' when the user
1658 # run `make install-strip'. However `strip' might not be the right
1659 # tool to use in cross-compilation environments, therefore Automake
1660 # will honor the `STRIP' environment variable to overrule this program.
1661 if test "$cross_compiling" != no
; then
1662 if test -n "$ac_tool_prefix"; then
1663 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1664 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1665 echo "$as_me:$LINENO: checking for $ac_word" >&5
1666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1667 if test "${ac_cv_prog_STRIP+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1670 if test -n "$STRIP"; then
1671 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1677 test -z "$as_dir" && as_dir
=.
1678 for ac_exec_ext
in '' $ac_executable_extensions; do
1679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1680 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1689 STRIP
=$ac_cv_prog_STRIP
1690 if test -n "$STRIP"; then
1691 echo "$as_me:$LINENO: result: $STRIP" >&5
1692 echo "${ECHO_T}$STRIP" >&6
1694 echo "$as_me:$LINENO: result: no" >&5
1695 echo "${ECHO_T}no" >&6
1699 if test -z "$ac_cv_prog_STRIP"; then
1701 # Extract the first word of "strip", so it can be a program name with args.
1702 set dummy strip
; ac_word
=$2
1703 echo "$as_me:$LINENO: checking for $ac_word" >&5
1704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1705 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 if test -n "$ac_ct_STRIP"; then
1709 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1715 test -z "$as_dir" && as_dir
=.
1716 for ac_exec_ext
in '' $ac_executable_extensions; do
1717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1718 ac_cv_prog_ac_ct_STRIP
="strip"
1719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1725 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1728 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1729 if test -n "$ac_ct_STRIP"; then
1730 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1731 echo "${ECHO_T}$ac_ct_STRIP" >&6
1733 echo "$as_me:$LINENO: result: no" >&5
1734 echo "${ECHO_T}no" >&6
1739 STRIP
="$ac_cv_prog_STRIP"
1743 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1745 # We need awk for the "check" target. The system "awk" is bad on
1751 ac_config_headers
="$ac_config_headers config.h"
1754 # Checks for programs.
1757 ac_cpp
='$CPP $CPPFLAGS'
1758 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1759 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1760 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1761 if test -n "$ac_tool_prefix"; then
1762 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1763 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1764 echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766 if test "${ac_cv_prog_CC+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$CC"; then
1770 ac_cv_prog_CC
="$CC" # Let the user override the test.
1772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir
=.
1777 for ac_exec_ext
in '' $ac_executable_extensions; do
1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 if test -n "$CC"; then
1790 echo "$as_me:$LINENO: result: $CC" >&5
1791 echo "${ECHO_T}$CC" >&6
1793 echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6
1798 if test -z "$ac_cv_prog_CC"; then
1800 # Extract the first word of "gcc", so it can be a program name with args.
1801 set dummy gcc
; ac_word
=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$ac_ct_CC"; then
1808 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1814 test -z "$as_dir" && as_dir
=.
1815 for ac_exec_ext
in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_ac_ct_CC
="gcc"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1827 if test -n "$ac_ct_CC"; then
1828 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1829 echo "${ECHO_T}$ac_ct_CC" >&6
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1840 if test -z "$CC"; then
1841 if test -n "$ac_tool_prefix"; then
1842 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1843 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1844 echo "$as_me:$LINENO: checking for $ac_word" >&5
1845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1846 if test "${ac_cv_prog_CC+set}" = set; then
1847 echo $ECHO_N "(cached) $ECHO_C" >&6
1849 if test -n "$CC"; then
1850 ac_cv_prog_CC
="$CC" # Let the user override the test.
1852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1856 test -z "$as_dir" && as_dir
=.
1857 for ac_exec_ext
in '' $ac_executable_extensions; do
1858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1859 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 if test -n "$CC"; then
1870 echo "$as_me:$LINENO: result: $CC" >&5
1871 echo "${ECHO_T}$CC" >&6
1873 echo "$as_me:$LINENO: result: no" >&5
1874 echo "${ECHO_T}no" >&6
1878 if test -z "$ac_cv_prog_CC"; then
1880 # Extract the first word of "cc", so it can be a program name with args.
1881 set dummy cc
; ac_word
=$2
1882 echo "$as_me:$LINENO: checking for $ac_word" >&5
1883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1884 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 if test -n "$ac_ct_CC"; then
1888 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir
=.
1895 for ac_exec_ext
in '' $ac_executable_extensions; do
1896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1897 ac_cv_prog_ac_ct_CC
="cc"
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1907 if test -n "$ac_ct_CC"; then
1908 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1909 echo "${ECHO_T}$ac_ct_CC" >&6
1911 echo "$as_me:$LINENO: result: no" >&5
1912 echo "${ECHO_T}no" >&6
1921 if test -z "$CC"; then
1922 # Extract the first word of "cc", so it can be a program name with args.
1923 set dummy cc
; ac_word
=$2
1924 echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1926 if test "${ac_cv_prog_CC+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test -n "$CC"; then
1930 ac_cv_prog_CC
="$CC" # Let the user override the test.
1933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1937 test -z "$as_dir" && as_dir
=.
1938 for ac_exec_ext
in '' $ac_executable_extensions; do
1939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1940 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1941 ac_prog_rejected
=yes
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 if test $ac_prog_rejected = yes; then
1952 # We found a bogon in the path, so make sure we never use it.
1953 set dummy
$ac_cv_prog_CC
1955 if test $# != 0; then
1956 # We chose a different compiler from the bogus one.
1957 # However, it has the same basename, so the bogon will be chosen
1958 # first if we set CC to just the basename; use the full file name.
1960 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1966 if test -n "$CC"; then
1967 echo "$as_me:$LINENO: result: $CC" >&5
1968 echo "${ECHO_T}$CC" >&6
1970 echo "$as_me:$LINENO: result: no" >&5
1971 echo "${ECHO_T}no" >&6
1975 if test -z "$CC"; then
1976 if test -n "$ac_tool_prefix"; then
1979 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1980 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1981 echo "$as_me:$LINENO: checking for $ac_word" >&5
1982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1983 if test "${ac_cv_prog_CC+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 if test -n "$CC"; then
1987 ac_cv_prog_CC
="$CC" # Let the user override the test.
1989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1993 test -z "$as_dir" && as_dir
=.
1994 for ac_exec_ext
in '' $ac_executable_extensions; do
1995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2006 if test -n "$CC"; then
2007 echo "$as_me:$LINENO: result: $CC" >&5
2008 echo "${ECHO_T}$CC" >&6
2010 echo "$as_me:$LINENO: result: no" >&5
2011 echo "${ECHO_T}no" >&6
2014 test -n "$CC" && break
2017 if test -z "$CC"; then
2021 # Extract the first word of "$ac_prog", so it can be a program name with args.
2022 set dummy
$ac_prog; ac_word
=$2
2023 echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 if test -n "$ac_ct_CC"; then
2029 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2035 test -z "$as_dir" && as_dir
=.
2036 for ac_exec_ext
in '' $ac_executable_extensions; do
2037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038 ac_cv_prog_ac_ct_CC
="$ac_prog"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2048 if test -n "$ac_ct_CC"; then
2049 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2050 echo "${ECHO_T}$ac_ct_CC" >&6
2052 echo "$as_me:$LINENO: result: no" >&5
2053 echo "${ECHO_T}no" >&6
2056 test -n "$ac_ct_CC" && break
2065 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2066 See \`config.log' for more details." >&5
2067 echo "$as_me: error: no acceptable C compiler found in \$PATH
2068 See \`config.log' for more details." >&2;}
2069 { (exit 1); exit 1; }; }
2071 # Provide some information about the compiler.
2072 echo "$as_me:$LINENO:" \
2073 "checking for C compiler version" >&5
2074 ac_compiler
=`set X $ac_compile; echo $2`
2075 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2076 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079 (exit $ac_status); }
2080 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2081 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }
2085 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2086 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }
2091 cat >conftest.
$ac_ext <<_ACEOF
2094 cat confdefs.h
>>conftest.
$ac_ext
2095 cat >>conftest.
$ac_ext <<_ACEOF
2096 /* end confdefs.h. */
2106 ac_clean_files_save
=$ac_clean_files
2107 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2108 # Try to create an executable without -o first, disregard a.out.
2109 # It will help us diagnose broken compilers, and finding out an intuition
2111 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2112 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2113 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2114 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2115 (eval $ac_link_default) 2>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }; then
2119 # Find the output, starting from the most likely. This scheme is
2120 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2123 # Be careful to initialize this variable, since it used to be cached.
2124 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2126 # b.out is created by i960 compilers.
2127 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2129 test -f "$ac_file" ||
continue
2131 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2134 # This is the source file.
2137 # We found the default executable, but exeext='' is most
2141 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2142 # FIXME: I believe we export ac_cv_exeext for Libtool,
2143 # but it would be cool to find out if it's true. Does anybody
2144 # maintain Libtool? --akim.
2152 echo "$as_me: failed program was:" >&5
2153 sed 's/^/| /' conftest.
$ac_ext >&5
2155 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2156 See \`config.log' for more details." >&5
2157 echo "$as_me: error: C compiler cannot create executables
2158 See \`config.log' for more details." >&2;}
2159 { (exit 77); exit 77; }; }
2162 ac_exeext
=$ac_cv_exeext
2163 echo "$as_me:$LINENO: result: $ac_file" >&5
2164 echo "${ECHO_T}$ac_file" >&6
2166 # Check the compiler produces executables we can run. If not, either
2167 # the compiler is broken, or we cross compile.
2168 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2169 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2170 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2171 # If not cross compiling, check that we can run a simple program.
2172 if test "$cross_compiling" != yes; then
2173 if { ac_try
='./$ac_file'
2174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; }; then
2181 if test "$cross_compiling" = maybe
; then
2184 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2185 If you meant to cross compile, use \`--host'.
2186 See \`config.log' for more details." >&5
2187 echo "$as_me: error: cannot run C compiled programs.
2188 If you meant to cross compile, use \`--host'.
2189 See \`config.log' for more details." >&2;}
2190 { (exit 1); exit 1; }; }
2194 echo "$as_me:$LINENO: result: yes" >&5
2195 echo "${ECHO_T}yes" >&6
2197 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2198 ac_clean_files
=$ac_clean_files_save
2199 # Check the compiler produces executables we can run. If not, either
2200 # the compiler is broken, or we cross compile.
2201 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2202 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2203 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2204 echo "${ECHO_T}$cross_compiling" >&6
2206 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2207 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2209 (eval $ac_link) 2>&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; then
2213 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2214 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2215 # work properly (i.e., refer to `conftest.exe'), while it won't with
2217 for ac_file
in conftest.exe conftest conftest.
*; do
2218 test -f "$ac_file" ||
continue
2220 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2221 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2228 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2229 See \`config.log' for more details." >&5
2230 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2231 See \`config.log' for more details." >&2;}
2232 { (exit 1); exit 1; }; }
2235 rm -f conftest
$ac_cv_exeext
2236 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2237 echo "${ECHO_T}$ac_cv_exeext" >&6
2239 rm -f conftest.
$ac_ext
2240 EXEEXT
=$ac_cv_exeext
2242 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2243 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2244 if test "${ac_cv_objext+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 cat >conftest.
$ac_ext <<_ACEOF
2250 cat confdefs.h
>>conftest.
$ac_ext
2251 cat >>conftest.
$ac_ext <<_ACEOF
2252 /* end confdefs.h. */
2262 rm -f conftest.o conftest.obj
2263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2264 (eval $ac_compile) 2>&5
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); }; then
2268 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2270 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2271 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2276 echo "$as_me: failed program was:" >&5
2277 sed 's/^/| /' conftest.
$ac_ext >&5
2279 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2280 See \`config.log' for more details." >&5
2281 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2282 See \`config.log' for more details." >&2;}
2283 { (exit 1); exit 1; }; }
2286 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2288 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2289 echo "${ECHO_T}$ac_cv_objext" >&6
2290 OBJEXT
=$ac_cv_objext
2292 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2293 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2294 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 cat >conftest.
$ac_ext <<_ACEOF
2300 cat confdefs.h
>>conftest.
$ac_ext
2301 cat >>conftest.
$ac_ext <<_ACEOF
2302 /* end confdefs.h. */
2315 rm -f conftest.
$ac_objext
2316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2317 (eval $ac_compile) 2>conftest.er1
2319 grep -v '^ *+' conftest.er1
>conftest.err
2321 cat conftest.err
>&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); } &&
2324 { ac_try
='test -z "$ac_c_werror_flag"
2325 || test ! -s conftest.err'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; } &&
2331 { ac_try
='test -s conftest.$ac_objext'
2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }; }; then
2339 echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.
$ac_ext >&5
2344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2345 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2348 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2349 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2350 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2351 ac_test_CFLAGS
=${CFLAGS+set}
2352 ac_save_CFLAGS
=$CFLAGS
2354 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2355 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2356 if test "${ac_cv_prog_cc_g+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2359 cat >conftest.
$ac_ext <<_ACEOF
2362 cat confdefs.h
>>conftest.
$ac_ext
2363 cat >>conftest.
$ac_ext <<_ACEOF
2364 /* end confdefs.h. */
2374 rm -f conftest.
$ac_objext
2375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2376 (eval $ac_compile) 2>conftest.er1
2378 grep -v '^ *+' conftest.er1
>conftest.err
2380 cat conftest.err
>&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); } &&
2383 { ac_try
='test -z "$ac_c_werror_flag"
2384 || test ! -s conftest.err'
2385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; } &&
2390 { ac_try
='test -s conftest.$ac_objext'
2391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; }; then
2398 echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.
$ac_ext >&5
2403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2405 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2406 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2407 if test "$ac_test_CFLAGS" = set; then
2408 CFLAGS
=$ac_save_CFLAGS
2409 elif test $ac_cv_prog_cc_g = yes; then
2410 if test "$GCC" = yes; then
2416 if test "$GCC" = yes; then
2422 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2423 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2424 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2425 echo $ECHO_N "(cached) $ECHO_C" >&6
2427 ac_cv_prog_cc_stdc
=no
2429 cat >conftest.
$ac_ext <<_ACEOF
2432 cat confdefs.h
>>conftest.
$ac_ext
2433 cat >>conftest.
$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2437 #include <sys/types.h>
2438 #include <sys/stat.h>
2439 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2440 struct buf { int x; };
2441 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2442 static char *e (p, i)
2448 static char *f (char * (*g) (char **, int), char **p, ...)
2453 s = g (p, va_arg (v,int));
2458 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2459 function prototypes and stuff, but not '\xHH' hex character constants.
2460 These don't provoke an error unfortunately, instead are silently treated
2461 as 'x'. The following induces an error, until -std1 is added to get
2462 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2463 array size at least. It's necessary to write '\x00'==0 to get something
2464 that's true only with -std1. */
2465 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2467 int test (int i, double x);
2468 struct s1 {int (*f) (int a);};
2469 struct s2 {int (*f) (double a);};
2470 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2476 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2481 # Don't try gcc -ansi; that turns off useful extensions and
2482 # breaks some systems' header files.
2483 # AIX -qlanglvl=ansi
2484 # Ultrix and OSF/1 -std1
2485 # HP-UX 10.20 and later -Ae
2486 # HP-UX older versions -Aa -D_HPUX_SOURCE
2487 # SVR4 -Xc -D__EXTENSIONS__
2488 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2490 CC
="$ac_save_CC $ac_arg"
2491 rm -f conftest.
$ac_objext
2492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2493 (eval $ac_compile) 2>conftest.er1
2495 grep -v '^ *+' conftest.er1
>conftest.err
2497 cat conftest.err
>&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); } &&
2500 { ac_try
='test -z "$ac_c_werror_flag"
2501 || test ! -s conftest.err'
2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; } &&
2507 { ac_try
='test -s conftest.$ac_objext'
2508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }; }; then
2513 ac_cv_prog_cc_stdc
=$ac_arg
2516 echo "$as_me: failed program was:" >&5
2517 sed 's/^/| /' conftest.
$ac_ext >&5
2520 rm -f conftest.err conftest.
$ac_objext
2522 rm -f conftest.
$ac_ext conftest.
$ac_objext
2527 case "x$ac_cv_prog_cc_stdc" in
2529 echo "$as_me:$LINENO: result: none needed" >&5
2530 echo "${ECHO_T}none needed" >&6 ;;
2532 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2533 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2534 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2537 # Some people use a C++ compiler to compile C. Since we use `exit',
2538 # in C++ we need to declare it. In case someone uses the same compiler
2539 # for both compiling C and C++ we need to have the C++ compiler decide
2540 # the declaration of exit, since it's the most demanding environment.
2541 cat >conftest.
$ac_ext <<_ACEOF
2546 rm -f conftest.
$ac_objext
2547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2548 (eval $ac_compile) 2>conftest.er1
2550 grep -v '^ *+' conftest.er1
>conftest.err
2552 cat conftest.err
>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); } &&
2555 { ac_try
='test -z "$ac_c_werror_flag"
2556 || test ! -s conftest.err'
2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }; } &&
2562 { ac_try
='test -s conftest.$ac_objext'
2563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); }; }; then
2568 for ac_declaration
in \
2570 'extern "C" void std::exit (int) throw (); using std::exit;' \
2571 'extern "C" void std::exit (int); using std::exit;' \
2572 'extern "C" void exit (int) throw ();' \
2573 'extern "C" void exit (int);' \
2576 cat >conftest.
$ac_ext <<_ACEOF
2579 cat confdefs.h
>>conftest.
$ac_ext
2580 cat >>conftest.
$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2592 rm -f conftest.
$ac_objext
2593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2594 (eval $ac_compile) 2>conftest.er1
2596 grep -v '^ *+' conftest.er1
>conftest.err
2598 cat conftest.err
>&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); } &&
2601 { ac_try
='test -z "$ac_c_werror_flag"
2602 || test ! -s conftest.err'
2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; } &&
2608 { ac_try
='test -s conftest.$ac_objext'
2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }; }; then
2616 echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.
$ac_ext >&5
2621 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2622 cat >conftest.
$ac_ext <<_ACEOF
2625 cat confdefs.h
>>conftest.
$ac_ext
2626 cat >>conftest.
$ac_ext <<_ACEOF
2627 /* end confdefs.h. */
2637 rm -f conftest.
$ac_objext
2638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2639 (eval $ac_compile) 2>conftest.er1
2641 grep -v '^ *+' conftest.er1
>conftest.err
2643 cat conftest.err
>&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); } &&
2646 { ac_try
='test -z "$ac_c_werror_flag"
2647 || test ! -s conftest.err'
2648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); }; } &&
2653 { ac_try
='test -s conftest.$ac_objext'
2654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; }; then
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.
$ac_ext >&5
2665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2668 if test -n "$ac_declaration"; then
2669 echo '#ifdef __cplusplus' >>confdefs.h
2670 echo $ac_declaration >>confdefs.h
2671 echo '#endif' >>confdefs.h
2675 echo "$as_me: failed program was:" >&5
2676 sed 's/^/| /' conftest.
$ac_ext >&5
2679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2681 ac_cpp
='$CPP $CPPFLAGS'
2682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2685 DEPDIR
="${am__leading_dot}deps"
2687 ac_config_commands
="$ac_config_commands depfiles"
2690 am_make
=${MAKE-make}
2691 cat > confinc
<< 'END'
2696 # If we don't find an include directive, just comment out the code.
2697 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2698 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2702 # First try GNU make style include.
2703 echo "include confinc" > confmf
2704 # We grep out `Entering directory' and `Leaving directory'
2705 # messages which can occur if `w' ends up in MAKEFLAGS.
2706 # In particular we don't look at `^make:' because GNU make might
2707 # be invoked under some other name (usually "gmake"), in which
2708 # case it prints its new name instead of `make'.
2709 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2714 # Now try BSD make style include.
2715 if test "$am__include" = "#"; then
2716 echo '.include "confinc"' > confmf
2717 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2718 am__include
=.include
2725 echo "$as_me:$LINENO: result: $_am_result" >&5
2726 echo "${ECHO_T}$_am_result" >&6
2727 rm -f confinc confmf
2729 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2730 if test "${enable_dependency_tracking+set}" = set; then
2731 enableval
="$enable_dependency_tracking"
2734 if test "x$enable_dependency_tracking" != xno
; then
2735 am_depcomp
="$ac_aux_dir/depcomp"
2740 if test "x$enable_dependency_tracking" != xno; then
2751 depcc
="$CC" am_compiler_list
=
2753 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2754 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2755 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2758 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2759 # We make a subdir and do the tests there. Otherwise we can end up
2760 # making bogus files that we don't know about and never remove. For
2761 # instance it was reported that on HP-UX the gcc test will end up
2762 # making a dummy file named `D' -- because `-MD' means `put the output
2765 # Copy depcomp to subdir because otherwise we won't find it if we're
2766 # using a relative directory.
2767 cp "$am_depcomp" conftest.dir
2769 # We will build objects and dependencies in a subdirectory because
2770 # it helps to detect inapplicable dependency modes. For instance
2771 # both Tru64's cc and ICC support -MD to output dependencies as a
2772 # side effect of compilation, but ICC will put the dependencies in
2773 # the current directory while Tru64 will put them in the object
2777 am_cv_CC_dependencies_compiler_type
=none
2778 if test "$am_compiler_list" = ""; then
2779 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2781 for depmode
in $am_compiler_list; do
2782 # Setup a source with many dependencies, because some compilers
2783 # like to wrap large dependency lists on column 80 (with \), and
2784 # we should not choose a depcomp mode which is confused by this.
2786 # We need to recreate these files for each test, as the compiler may
2787 # overwrite some of them when testing with obscure command lines.
2788 # This happens at least with the AIX C compiler.
2790 for i
in 1 2 3 4 5 6; do
2791 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2792 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2793 # Solaris 8's {/usr,}/bin/sh.
2794 touch sub
/conftst
$i.h
2796 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2800 # after this tag, mechanisms are not by side-effect, so they'll
2801 # only be used when explicitly requested
2802 if test "x$enable_dependency_tracking" = xyes
; then
2810 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2811 # mode. It turns out that the SunPro C++ compiler does not properly
2812 # handle `-M -o', and we need to detect this.
2813 if depmode
=$depmode \
2814 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2815 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2816 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2817 >/dev
/null
2>conftest.err
&&
2818 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2819 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2820 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2821 # icc doesn't choke on unknown options, it will just issue warnings
2822 # (even with -Werror). So we grep stderr for any message
2823 # that says an option was ignored.
2824 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2825 am_cv_CC_dependencies_compiler_type
=$depmode
2834 am_cv_CC_dependencies_compiler_type
=none
2838 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2839 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2840 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2845 test "x$enable_dependency_tracking" != xno \
2846 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2848 am__fastdepCC_FALSE
='#'
2850 am__fastdepCC_TRUE
='#'
2851 am__fastdepCC_FALSE
=
2855 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2856 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2857 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2858 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2859 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 cat >conftest.
make <<\_ACEOF
2863 @
echo 'ac_maketemp="$(MAKE)"'
2865 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2866 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2867 if test -n "$ac_maketemp"; then
2868 eval ac_cv_prog_make_
${ac_make}_set
=yes
2870 eval ac_cv_prog_make_
${ac_make}_set
=no
2874 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2875 echo "$as_me:$LINENO: result: yes" >&5
2876 echo "${ECHO_T}yes" >&6
2879 echo "$as_me:$LINENO: result: no" >&5
2880 echo "${ECHO_T}no" >&6
2881 SET_MAKE
="MAKE=${MAKE-make}"
2885 CFLAGS
="$CFLAGS -std=gnu99"
2887 # Checks for libraries.
2891 # Make sure we can run config.sub.
2892 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2893 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2894 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2895 { (exit 1); exit 1; }; }
2897 echo "$as_me:$LINENO: checking build system type" >&5
2898 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2899 if test "${ac_cv_build+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 ac_cv_build_alias
=$build_alias
2903 test -z "$ac_cv_build_alias" &&
2904 ac_cv_build_alias
=`$ac_config_guess`
2905 test -z "$ac_cv_build_alias" &&
2906 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2907 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2908 { (exit 1); exit 1; }; }
2909 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2910 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2911 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2912 { (exit 1); exit 1; }; }
2915 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2916 echo "${ECHO_T}$ac_cv_build" >&6
2918 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2919 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2920 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2923 echo "$as_me:$LINENO: checking host system type" >&5
2924 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2925 if test "${ac_cv_host+set}" = set; then
2926 echo $ECHO_N "(cached) $ECHO_C" >&6
2928 ac_cv_host_alias
=$host_alias
2929 test -z "$ac_cv_host_alias" &&
2930 ac_cv_host_alias
=$ac_cv_build_alias
2931 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2932 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2933 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2934 { (exit 1); exit 1; }; }
2937 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2938 echo "${ECHO_T}$ac_cv_host" >&6
2940 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2941 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2942 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2945 echo "$as_me:$LINENO: checking target system type" >&5
2946 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2947 if test "${ac_cv_target+set}" = set; then
2948 echo $ECHO_N "(cached) $ECHO_C" >&6
2950 ac_cv_target_alias
=$target_alias
2951 test "x$ac_cv_target_alias" = "x" &&
2952 ac_cv_target_alias
=$ac_cv_host_alias
2953 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2954 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2955 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2956 { (exit 1); exit 1; }; }
2959 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2960 echo "${ECHO_T}$ac_cv_target" >&6
2961 target
=$ac_cv_target
2962 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2963 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2964 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2967 # The aliases save the names the user supplied, while $host etc.
2968 # will get canonicalized.
2969 test -n "$target_alias" &&
2970 test "$program_prefix$program_suffix$program_transform_name" = \
2972 program_prefix
=${target_alias}-
2975 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
2976 if test "${with_sdl_prefix+set}" = set; then
2977 withval
="$with_sdl_prefix"
2978 sdl_prefix
="$withval"
2983 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
2984 if test "${with_sdl_exec_prefix+set}" = set; then
2985 withval
="$with_sdl_exec_prefix"
2986 sdl_exec_prefix
="$withval"
2990 # Check whether --enable-sdltest or --disable-sdltest was given.
2991 if test "${enable_sdltest+set}" = set; then
2992 enableval
="$enable_sdltest"
2998 if test x
$sdl_exec_prefix != x
; then
2999 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
3000 if test x
${SDL_CONFIG+set} != xset
; then
3001 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
3004 if test x
$sdl_prefix != x
; then
3005 sdl_args
="$sdl_args --prefix=$sdl_prefix"
3006 if test x
${SDL_CONFIG+set} != xset
; then
3007 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
3012 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
3013 # Extract the first word of "sdl-config", so it can be a program name with args.
3014 set dummy sdl-config
; ac_word
=$2
3015 echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3017 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3022 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
3025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3029 test -z "$as_dir" && as_dir
=.
3030 for ac_exec_ext
in '' $ac_executable_extensions; do
3031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3032 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
3043 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
3045 if test -n "$SDL_CONFIG"; then
3046 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
3047 echo "${ECHO_T}$SDL_CONFIG" >&6
3049 echo "$as_me:$LINENO: result: no" >&5
3050 echo "${ECHO_T}no" >&6
3053 min_sdl_version
=$SDL_VERSION
3054 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
3055 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
3057 if test "$SDL_CONFIG" = "no" ; then
3060 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
3061 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
3063 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
3064 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3065 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
3066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3067 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
3068 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3069 if test "x$enable_sdltest" = "xyes" ; then
3070 ac_save_CFLAGS
="$CFLAGS"
3071 ac_save_LIBS
="$LIBS"
3072 CFLAGS
="$CFLAGS $SDL_CFLAGS"
3073 LIBS
="$LIBS $SDL_LIBS"
3075 if test "$cross_compiling" = yes; then
3076 echo $ac_n "cross compiling; assumed OK... $ac_c"
3078 cat >conftest.
$ac_ext <<_ACEOF
3081 cat confdefs.h
>>conftest.
$ac_ext
3082 cat >>conftest.
$ac_ext <<_ACEOF
3083 /* end confdefs.h. */
3091 my_strdup (char *str)
3097 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
3098 strcpy (new_str, str);
3106 int main (int argc, char *argv[])
3108 int major, minor, micro;
3111 /* This hangs on some systems (?)
3112 system ("touch conf.sdltest");
3114 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
3116 /* HP/UX 9 (%@#!) writes to sscanf strings */
3117 tmp_version = my_strdup("$min_sdl_version");
3118 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
3119 printf("%s, bad version string\n", "$min_sdl_version");
3123 if (($sdl_major_version > major) ||
3124 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
3125 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
3131 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
3132 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
3133 printf("*** best to upgrade to the required version.\n");
3134 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
3135 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
3136 printf("*** config.cache before re-running configure\n");
3143 rm -f conftest
$ac_exeext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3145 (eval $ac_link) 2>&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3156 echo "$as_me: program exited with status $ac_status" >&5
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.
$ac_ext >&5
3163 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3165 CFLAGS
="$ac_save_CFLAGS"
3166 LIBS
="$ac_save_LIBS"
3169 if test "x$no_sdl" = x
; then
3170 echo "$as_me:$LINENO: result: yes" >&5
3171 echo "${ECHO_T}yes" >&6
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3176 if test "$SDL_CONFIG" = "no" ; then
3177 echo "*** The sdl-config script installed by SDL could not be found"
3178 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
3179 echo "*** your path, or set the SDL_CONFIG environment variable to the"
3180 echo "*** full path to sdl-config."
3182 if test -f conf.sdltest
; then
3185 echo "*** Could not run SDL test program, checking why..."
3186 CFLAGS
="$CFLAGS $SDL_CFLAGS"
3187 LIBS
="$LIBS $SDL_LIBS"
3188 cat >conftest.
$ac_ext <<_ACEOF
3191 cat confdefs.h
>>conftest.
$ac_ext
3192 cat >>conftest.
$ac_ext <<_ACEOF
3193 /* end confdefs.h. */
3198 int main(int argc, char *argv[])
3201 #define main K_and_R_C_main
3211 rm -f conftest.
$ac_objext conftest
$ac_exeext
3212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3213 (eval $ac_link) 2>conftest.er1
3215 grep -v '^ *+' conftest.er1
>conftest.err
3217 cat conftest.err
>&5
3218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 (exit $ac_status); } &&
3220 { ac_try
='test -z "$ac_c_werror_flag"
3221 || test ! -s conftest.err'
3222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); }; } &&
3227 { ac_try
='test -s conftest$ac_exeext'
3228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); }; }; then
3233 echo "*** The test program compiled, but did not run. This usually means"
3234 echo "*** that the run-time linker is not finding SDL or finding the wrong"
3235 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
3236 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3237 echo "*** to the installed location Also, make sure you have run ldconfig if that"
3238 echo "*** is required on your system"
3240 echo "*** If you have an old version installed, it is best to remove it, although"
3241 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
3243 echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.
$ac_ext >&5
3246 echo "*** The test program failed to compile or link. See the file config.log for the"
3247 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
3248 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
3249 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
3251 rm -f conftest.err conftest.
$ac_objext \
3252 conftest
$ac_exeext conftest.
$ac_ext
3253 CFLAGS
="$ac_save_CFLAGS"
3254 LIBS
="$ac_save_LIBS"
3259 { { echo "$as_me:$LINENO: error: *** couldn't find SDL $SDL_VERSION" >&5
3260 echo "$as_me: error: *** couldn't find SDL $SDL_VERSION" >&2;}
3261 { (exit 1); exit 1; }; }
3267 #CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
3268 CFLAGS
="$CFLAGS $SDL_CFLAGS"
3269 LIBS
="$LIBS $SDL_LIBS"
3271 # Checks for header files.
3273 ac_cpp
='$CPP $CPPFLAGS'
3274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3277 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3278 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3279 # On Suns, sometimes $CPP names a directory.
3280 if test -n "$CPP" && test -d "$CPP"; then
3283 if test -z "$CPP"; then
3284 if test "${ac_cv_prog_CPP+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 # Double quotes because CPP needs to be expanded
3288 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3291 for ac_c_preproc_warn_flag
in '' yes
3293 # Use a header file that comes with gcc, so configuring glibc
3294 # with a fresh cross-compiler works.
3295 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3296 # <limits.h> exists even on freestanding compilers.
3297 # On the NeXT, cc -E runs the code through the compiler's parser,
3298 # not just through cpp. "Syntax error" is here to catch this case.
3299 cat >conftest.
$ac_ext <<_ACEOF
3302 cat confdefs.h
>>conftest.
$ac_ext
3303 cat >>conftest.
$ac_ext <<_ACEOF
3304 /* end confdefs.h. */
3306 # include <limits.h>
3308 # include <assert.h>
3312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3315 grep -v '^ *+' conftest.er1
>conftest.err
3317 cat conftest.err
>&5
3318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); } >/dev
/null
; then
3320 if test -s conftest.err
; then
3321 ac_cpp_err
=$ac_c_preproc_warn_flag
3322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3329 if test -z "$ac_cpp_err"; then
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.
$ac_ext >&5
3335 # Broken: fails on valid input.
3338 rm -f conftest.err conftest.
$ac_ext
3340 # OK, works on sane cases. Now check whether non-existent headers
3341 # can be detected and how.
3342 cat >conftest.
$ac_ext <<_ACEOF
3345 cat confdefs.h
>>conftest.
$ac_ext
3346 cat >>conftest.
$ac_ext <<_ACEOF
3347 /* end confdefs.h. */
3348 #include <ac_nonexistent.h>
3350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3351 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3353 grep -v '^ *+' conftest.er1
>conftest.err
3355 cat conftest.err
>&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); } >/dev
/null
; then
3358 if test -s conftest.err
; then
3359 ac_cpp_err
=$ac_c_preproc_warn_flag
3360 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3367 if test -z "$ac_cpp_err"; then
3368 # Broken: success on invalid input.
3371 echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.
$ac_ext >&5
3374 # Passes both tests.
3378 rm -f conftest.err conftest.
$ac_ext
3381 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3382 rm -f conftest.err conftest.
$ac_ext
3383 if $ac_preproc_ok; then
3395 echo "$as_me:$LINENO: result: $CPP" >&5
3396 echo "${ECHO_T}$CPP" >&6
3398 for ac_c_preproc_warn_flag
in '' yes
3400 # Use a header file that comes with gcc, so configuring glibc
3401 # with a fresh cross-compiler works.
3402 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3403 # <limits.h> exists even on freestanding compilers.
3404 # On the NeXT, cc -E runs the code through the compiler's parser,
3405 # not just through cpp. "Syntax error" is here to catch this case.
3406 cat >conftest.
$ac_ext <<_ACEOF
3409 cat confdefs.h
>>conftest.
$ac_ext
3410 cat >>conftest.
$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3413 # include <limits.h>
3415 # include <assert.h>
3419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3422 grep -v '^ *+' conftest.er1
>conftest.err
3424 cat conftest.err
>&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } >/dev
/null
; then
3427 if test -s conftest.err
; then
3428 ac_cpp_err
=$ac_c_preproc_warn_flag
3429 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3436 if test -z "$ac_cpp_err"; then
3439 echo "$as_me: failed program was:" >&5
3440 sed 's/^/| /' conftest.
$ac_ext >&5
3442 # Broken: fails on valid input.
3445 rm -f conftest.err conftest.
$ac_ext
3447 # OK, works on sane cases. Now check whether non-existent headers
3448 # can be detected and how.
3449 cat >conftest.
$ac_ext <<_ACEOF
3452 cat confdefs.h
>>conftest.
$ac_ext
3453 cat >>conftest.
$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3455 #include <ac_nonexistent.h>
3457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3458 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3460 grep -v '^ *+' conftest.er1
>conftest.err
3462 cat conftest.err
>&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); } >/dev
/null
; then
3465 if test -s conftest.err
; then
3466 ac_cpp_err
=$ac_c_preproc_warn_flag
3467 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3474 if test -z "$ac_cpp_err"; then
3475 # Broken: success on invalid input.
3478 echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.
$ac_ext >&5
3481 # Passes both tests.
3485 rm -f conftest.err conftest.
$ac_ext
3488 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3489 rm -f conftest.err conftest.
$ac_ext
3490 if $ac_preproc_ok; then
3493 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3494 See \`config.log' for more details." >&5
3495 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3496 See \`config.log' for more details." >&2;}
3497 { (exit 1); exit 1; }; }
3501 ac_cpp
='$CPP $CPPFLAGS'
3502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3507 echo "$as_me:$LINENO: checking for egrep" >&5
3508 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3509 if test "${ac_cv_prog_egrep+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3513 then ac_cv_prog_egrep
='grep -E'
3514 else ac_cv_prog_egrep
='egrep'
3517 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3518 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3519 EGREP
=$ac_cv_prog_egrep
3522 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3523 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3524 if test "${ac_cv_header_stdc+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 cat >conftest.
$ac_ext <<_ACEOF
3530 cat confdefs.h
>>conftest.
$ac_ext
3531 cat >>conftest.
$ac_ext <<_ACEOF
3532 /* end confdefs.h. */
3546 rm -f conftest.
$ac_objext
3547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3548 (eval $ac_compile) 2>conftest.er1
3550 grep -v '^ *+' conftest.er1
>conftest.err
3552 cat conftest.err
>&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); } &&
3555 { ac_try
='test -z "$ac_c_werror_flag"
3556 || test ! -s conftest.err'
3557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); }; } &&
3562 { ac_try
='test -s conftest.$ac_objext'
3563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); }; }; then
3568 ac_cv_header_stdc
=yes
3570 echo "$as_me: failed program was:" >&5
3571 sed 's/^/| /' conftest.
$ac_ext >&5
3573 ac_cv_header_stdc
=no
3575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3577 if test $ac_cv_header_stdc = yes; then
3578 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3579 cat >conftest.
$ac_ext <<_ACEOF
3582 cat confdefs.h
>>conftest.
$ac_ext
3583 cat >>conftest.
$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3589 $EGREP "memchr" >/dev
/null
2>&1; then
3592 ac_cv_header_stdc
=no
3598 if test $ac_cv_header_stdc = yes; then
3599 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3600 cat >conftest.
$ac_ext <<_ACEOF
3603 cat confdefs.h
>>conftest.
$ac_ext
3604 cat >>conftest.
$ac_ext <<_ACEOF
3605 /* end confdefs.h. */
3609 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3610 $EGREP "free" >/dev
/null
2>&1; then
3613 ac_cv_header_stdc
=no
3619 if test $ac_cv_header_stdc = yes; then
3620 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3621 if test "$cross_compiling" = yes; then
3624 cat >conftest.
$ac_ext <<_ACEOF
3627 cat confdefs.h
>>conftest.
$ac_ext
3628 cat >>conftest.
$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3631 #if ((' ' & 0x0FF) == 0x020)
3632 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3633 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3635 # define ISLOWER(c) \
3636 (('a' <= (c) && (c) <= 'i') \
3637 || ('j' <= (c) && (c) <= 'r') \
3638 || ('s' <= (c) && (c) <= 'z'))
3639 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3642 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3647 for (i = 0; i < 256; i++)
3648 if (XOR (islower (i), ISLOWER (i))
3649 || toupper (i) != TOUPPER (i))
3654 rm -f conftest
$ac_exeext
3655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3656 (eval $ac_link) 2>&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; }; then
3667 echo "$as_me: program exited with status $ac_status" >&5
3668 echo "$as_me: failed program was:" >&5
3669 sed 's/^/| /' conftest.
$ac_ext >&5
3672 ac_cv_header_stdc
=no
3674 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3678 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3679 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3680 if test $ac_cv_header_stdc = yes; then
3682 cat >>confdefs.h
<<\_ACEOF
3683 #define STDC_HEADERS 1
3688 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3698 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3699 inttypes.h stdint.h unistd.h
3701 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3702 echo "$as_me:$LINENO: checking for $ac_header" >&5
3703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3705 echo $ECHO_N "(cached) $ECHO_C" >&6
3707 cat >conftest.
$ac_ext <<_ACEOF
3710 cat confdefs.h
>>conftest.
$ac_ext
3711 cat >>conftest.
$ac_ext <<_ACEOF
3712 /* end confdefs.h. */
3713 $ac_includes_default
3715 #include <$ac_header>
3717 rm -f conftest.
$ac_objext
3718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3719 (eval $ac_compile) 2>conftest.er1
3721 grep -v '^ *+' conftest.er1
>conftest.err
3723 cat conftest.err
>&5
3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 (exit $ac_status); } &&
3726 { ac_try
='test -z "$ac_c_werror_flag"
3727 || test ! -s conftest.err'
3728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); }; } &&
3733 { ac_try
='test -s conftest.$ac_objext'
3734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); }; }; then
3739 eval "$as_ac_Header=yes"
3741 echo "$as_me: failed program was:" >&5
3742 sed 's/^/| /' conftest.
$ac_ext >&5
3744 eval "$as_ac_Header=no"
3746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3751 cat >>confdefs.h
<<_ACEOF
3752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3765 for ac_header
in stdint.h unistd.h string.h stdlib.h wordexp.h
3767 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3769 echo "$as_me:$LINENO: checking for $ac_header" >&5
3770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3777 # Is the header compilable?
3778 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3780 cat >conftest.
$ac_ext <<_ACEOF
3783 cat confdefs.h
>>conftest.
$ac_ext
3784 cat >>conftest.
$ac_ext <<_ACEOF
3785 /* end confdefs.h. */
3786 $ac_includes_default
3787 #include <$ac_header>
3789 rm -f conftest.
$ac_objext
3790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3791 (eval $ac_compile) 2>conftest.er1
3793 grep -v '^ *+' conftest.er1
>conftest.err
3795 cat conftest.err
>&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); } &&
3798 { ac_try
='test -z "$ac_c_werror_flag"
3799 || test ! -s conftest.err'
3800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); }; } &&
3805 { ac_try
='test -s conftest.$ac_objext'
3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); }; }; then
3811 ac_header_compiler
=yes
3813 echo "$as_me: failed program was:" >&5
3814 sed 's/^/| /' conftest.
$ac_ext >&5
3816 ac_header_compiler
=no
3818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3820 echo "${ECHO_T}$ac_header_compiler" >&6
3822 # Is the header present?
3823 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3825 cat >conftest.
$ac_ext <<_ACEOF
3828 cat confdefs.h
>>conftest.
$ac_ext
3829 cat >>conftest.
$ac_ext <<_ACEOF
3830 /* end confdefs.h. */
3831 #include <$ac_header>
3833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3834 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3836 grep -v '^ *+' conftest.er1
>conftest.err
3838 cat conftest.err
>&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } >/dev
/null
; then
3841 if test -s conftest.err
; then
3842 ac_cpp_err
=$ac_c_preproc_warn_flag
3843 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3850 if test -z "$ac_cpp_err"; then
3851 ac_header_preproc
=yes
3853 echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.
$ac_ext >&5
3856 ac_header_preproc
=no
3858 rm -f conftest.err conftest.
$ac_ext
3859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3860 echo "${ECHO_T}$ac_header_preproc" >&6
3862 # So? What about this header?
3863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3869 ac_header_preproc
=yes
3872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3886 ## ----------------------------------- ##
3887 ## Report this to rohan@mizzenblog.com ##
3888 ## ----------------------------------- ##
3891 sed "s/^/$as_me: WARNING: /" >&2
3894 echo "$as_me:$LINENO: checking for $ac_header" >&5
3895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 eval "$as_ac_Header=\$ac_header_preproc"
3901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3906 cat >>confdefs.h
<<_ACEOF
3907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3915 # Checks for typedefs, structures, and compiler characteristics.
3916 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
3917 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
3918 if test "${ac_cv_header_stdbool_h+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 cat >conftest.
$ac_ext <<_ACEOF
3924 cat confdefs.h
>>conftest.
$ac_ext
3925 cat >>conftest.
$ac_ext <<_ACEOF
3926 /* end confdefs.h. */
3928 #include <stdbool.h>
3930 # error bool is not defined
3933 # error false is not defined
3936 # error false is not 0
3939 # error true is not defined
3942 # error true is not 1
3944 #ifndef __bool_true_false_are_defined
3945 # error __bool_true_false_are_defined is not defined
3948 struct s { _Bool s: 1; _Bool t; } s;
3950 char a[true == 1 ? 1 : -1];
3951 char b[false == 0 ? 1 : -1];
3952 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
3953 char d[(bool) -0.5 == true ? 1 : -1];
3955 char f[(_Bool) -0.0 == false ? 1 : -1];
3957 char h[sizeof (_Bool)];
3963 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
3968 rm -f conftest.
$ac_objext
3969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3970 (eval $ac_compile) 2>conftest.er1
3972 grep -v '^ *+' conftest.er1
>conftest.err
3974 cat conftest.err
>&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } &&
3977 { ac_try
='test -z "$ac_c_werror_flag"
3978 || test ! -s conftest.err'
3979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); }; } &&
3984 { ac_try
='test -s conftest.$ac_objext'
3985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); }; }; then
3990 ac_cv_header_stdbool_h
=yes
3992 echo "$as_me: failed program was:" >&5
3993 sed 's/^/| /' conftest.
$ac_ext >&5
3995 ac_cv_header_stdbool_h
=no
3997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3999 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4000 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
4001 echo "$as_me:$LINENO: checking for _Bool" >&5
4002 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
4003 if test "${ac_cv_type__Bool+set}" = set; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 cat >conftest.
$ac_ext <<_ACEOF
4009 cat confdefs.h
>>conftest.
$ac_ext
4010 cat >>conftest.
$ac_ext <<_ACEOF
4011 /* end confdefs.h. */
4012 $ac_includes_default
4024 rm -f conftest.
$ac_objext
4025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4026 (eval $ac_compile) 2>conftest.er1
4028 grep -v '^ *+' conftest.er1
>conftest.err
4030 cat conftest.err
>&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); } &&
4033 { ac_try
='test -z "$ac_c_werror_flag"
4034 || test ! -s conftest.err'
4035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; } &&
4040 { ac_try
='test -s conftest.$ac_objext'
4041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); }; }; then
4046 ac_cv_type__Bool
=yes
4048 echo "$as_me: failed program was:" >&5
4049 sed 's/^/| /' conftest.
$ac_ext >&5
4053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4055 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4056 echo "${ECHO_T}$ac_cv_type__Bool" >&6
4057 if test $ac_cv_type__Bool = yes; then
4059 cat >>confdefs.h
<<_ACEOF
4060 #define HAVE__BOOL 1
4066 if test $ac_cv_header_stdbool_h = yes; then
4068 cat >>confdefs.h
<<\_ACEOF
4069 #define HAVE_STDBOOL_H 1
4074 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4075 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4076 if test "${ac_cv_c_const+set}" = set; then
4077 echo $ECHO_N "(cached) $ECHO_C" >&6
4079 cat >conftest.
$ac_ext <<_ACEOF
4082 cat confdefs.h
>>conftest.
$ac_ext
4083 cat >>conftest.
$ac_ext <<_ACEOF
4084 /* end confdefs.h. */
4089 /* FIXME: Include the comments suggested by Paul. */
4091 /* Ultrix mips cc rejects this. */
4092 typedef int charset[2];
4094 /* SunOS 4.1.1 cc rejects this. */
4095 char const *const *ccp;
4097 /* NEC SVR4.0.2 mips cc rejects this. */
4098 struct point {int x, y;};
4099 static struct point const zero = {0,0};
4100 /* AIX XL C 1.02.0.0 rejects this.
4101 It does not let you subtract one const X* pointer from another in
4102 an arm of an if-expression whose if-part is not a constant
4104 const char *g = "string";
4105 ccp = &g + (g ? g-g : 0);
4106 /* HPUX 7.0 cc rejects these. */
4109 ccp = (char const *const *) p;
4110 { /* SCO 3.2v4 cc rejects this. */
4112 char const *s = 0 ? (char *) 0 : (char const *) 0;
4116 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4118 const int *foo = &x[0];
4121 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4122 typedef const int *iptr;
4126 { /* AIX XL C 1.02.0.0 rejects this saying
4127 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4128 struct s { int j; const int *ap[3]; };
4129 struct s *b; b->j = 5;
4131 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4140 rm -f conftest.
$ac_objext
4141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4142 (eval $ac_compile) 2>conftest.er1
4144 grep -v '^ *+' conftest.er1
>conftest.err
4146 cat conftest.err
>&5
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 (exit $ac_status); } &&
4149 { ac_try
='test -z "$ac_c_werror_flag"
4150 || test ! -s conftest.err'
4151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); }; } &&
4156 { ac_try
='test -s conftest.$ac_objext'
4157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); }; }; then
4164 echo "$as_me: failed program was:" >&5
4165 sed 's/^/| /' conftest.
$ac_ext >&5
4169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4171 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4172 echo "${ECHO_T}$ac_cv_c_const" >&6
4173 if test $ac_cv_c_const = no
; then
4175 cat >>confdefs.h
<<\_ACEOF
4182 # Checks for library functions.
4184 for ac_header
in stdlib.h
4186 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4188 echo "$as_me:$LINENO: checking for $ac_header" >&5
4189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4196 # Is the header compilable?
4197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4199 cat >conftest.
$ac_ext <<_ACEOF
4202 cat confdefs.h
>>conftest.
$ac_ext
4203 cat >>conftest.
$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4205 $ac_includes_default
4206 #include <$ac_header>
4208 rm -f conftest.
$ac_objext
4209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4210 (eval $ac_compile) 2>conftest.er1
4212 grep -v '^ *+' conftest.er1
>conftest.err
4214 cat conftest.err
>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } &&
4217 { ac_try
='test -z "$ac_c_werror_flag"
4218 || test ! -s conftest.err'
4219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); }; } &&
4224 { ac_try
='test -s conftest.$ac_objext'
4225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }; }; then
4230 ac_header_compiler
=yes
4232 echo "$as_me: failed program was:" >&5
4233 sed 's/^/| /' conftest.
$ac_ext >&5
4235 ac_header_compiler
=no
4237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4239 echo "${ECHO_T}$ac_header_compiler" >&6
4241 # Is the header present?
4242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4244 cat >conftest.
$ac_ext <<_ACEOF
4247 cat confdefs.h
>>conftest.
$ac_ext
4248 cat >>conftest.
$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 #include <$ac_header>
4252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4255 grep -v '^ *+' conftest.er1
>conftest.err
4257 cat conftest.err
>&5
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 (exit $ac_status); } >/dev
/null
; then
4260 if test -s conftest.err
; then
4261 ac_cpp_err
=$ac_c_preproc_warn_flag
4262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4269 if test -z "$ac_cpp_err"; then
4270 ac_header_preproc
=yes
4272 echo "$as_me: failed program was:" >&5
4273 sed 's/^/| /' conftest.
$ac_ext >&5
4275 ac_header_preproc
=no
4277 rm -f conftest.err conftest.
$ac_ext
4278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4279 echo "${ECHO_T}$ac_header_preproc" >&6
4281 # So? What about this header?
4282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4288 ac_header_preproc
=yes
4291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4305 ## ----------------------------------- ##
4306 ## Report this to rohan@mizzenblog.com ##
4307 ## ----------------------------------- ##
4310 sed "s/^/$as_me: WARNING: /" >&2
4313 echo "$as_me:$LINENO: checking for $ac_header" >&5
4314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4316 echo $ECHO_N "(cached) $ECHO_C" >&6
4318 eval "$as_ac_Header=\$ac_header_preproc"
4320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4325 cat >>confdefs.h
<<_ACEOF
4326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4333 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
4334 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
4335 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
4336 echo $ECHO_N "(cached) $ECHO_C" >&6
4338 if test "$cross_compiling" = yes; then
4339 ac_cv_func_malloc_0_nonnull
=no
4341 cat >conftest.
$ac_ext <<_ACEOF
4344 cat confdefs.h
>>conftest.
$ac_ext
4345 cat >>conftest.
$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4347 #if STDC_HEADERS || HAVE_STDLIB_H
4348 # include <stdlib.h>
4356 exit (malloc (0) ? 0 : 1);
4361 rm -f conftest
$ac_exeext
4362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4363 (eval $ac_link) 2>&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); }; }; then
4372 ac_cv_func_malloc_0_nonnull
=yes
4374 echo "$as_me: program exited with status $ac_status" >&5
4375 echo "$as_me: failed program was:" >&5
4376 sed 's/^/| /' conftest.
$ac_ext >&5
4379 ac_cv_func_malloc_0_nonnull
=no
4381 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4384 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
4385 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
4386 if test $ac_cv_func_malloc_0_nonnull = yes; then
4388 cat >>confdefs.h
<<\_ACEOF
4389 #define HAVE_MALLOC 1
4393 cat >>confdefs.h
<<\_ACEOF
4394 #define HAVE_MALLOC 0
4398 "malloc.$ac_objext" | \
4399 *" malloc.$ac_objext" | \
4400 "malloc.$ac_objext "* | \
4401 *" malloc.$ac_objext "* ) ;;
4402 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext" ;;
4406 cat >>confdefs.h
<<\_ACEOF
4407 #define malloc rpl_malloc
4415 for ac_header
in stdlib.h
4417 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4419 echo "$as_me:$LINENO: checking for $ac_header" >&5
4420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4422 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4427 # Is the header compilable?
4428 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4429 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4430 cat >conftest.
$ac_ext <<_ACEOF
4433 cat confdefs.h
>>conftest.
$ac_ext
4434 cat >>conftest.
$ac_ext <<_ACEOF
4435 /* end confdefs.h. */
4436 $ac_includes_default
4437 #include <$ac_header>
4439 rm -f conftest.
$ac_objext
4440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4441 (eval $ac_compile) 2>conftest.er1
4443 grep -v '^ *+' conftest.er1
>conftest.err
4445 cat conftest.err
>&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); } &&
4448 { ac_try
='test -z "$ac_c_werror_flag"
4449 || test ! -s conftest.err'
4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); }; } &&
4455 { ac_try
='test -s conftest.$ac_objext'
4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); }; }; then
4461 ac_header_compiler
=yes
4463 echo "$as_me: failed program was:" >&5
4464 sed 's/^/| /' conftest.
$ac_ext >&5
4466 ac_header_compiler
=no
4468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4470 echo "${ECHO_T}$ac_header_compiler" >&6
4472 # Is the header present?
4473 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4474 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4475 cat >conftest.
$ac_ext <<_ACEOF
4478 cat confdefs.h
>>conftest.
$ac_ext
4479 cat >>conftest.
$ac_ext <<_ACEOF
4480 /* end confdefs.h. */
4481 #include <$ac_header>
4483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4484 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4486 grep -v '^ *+' conftest.er1
>conftest.err
4488 cat conftest.err
>&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); } >/dev
/null
; then
4491 if test -s conftest.err
; then
4492 ac_cpp_err
=$ac_c_preproc_warn_flag
4493 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4500 if test -z "$ac_cpp_err"; then
4501 ac_header_preproc
=yes
4503 echo "$as_me: failed program was:" >&5
4504 sed 's/^/| /' conftest.
$ac_ext >&5
4506 ac_header_preproc
=no
4508 rm -f conftest.err conftest.
$ac_ext
4509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4510 echo "${ECHO_T}$ac_header_preproc" >&6
4512 # So? What about this header?
4513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4515 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4516 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4518 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4519 ac_header_preproc
=yes
4522 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4523 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4524 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4525 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4526 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4527 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4528 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4529 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4531 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4532 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4533 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4536 ## ----------------------------------- ##
4537 ## Report this to rohan@mizzenblog.com ##
4538 ## ----------------------------------- ##
4541 sed "s/^/$as_me: WARNING: /" >&2
4544 echo "$as_me:$LINENO: checking for $ac_header" >&5
4545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4547 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 eval "$as_ac_Header=\$ac_header_preproc"
4551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4552 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4556 cat >>confdefs.h
<<_ACEOF
4557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4564 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
4565 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
4566 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
4567 echo $ECHO_N "(cached) $ECHO_C" >&6
4569 if test "$cross_compiling" = yes; then
4570 ac_cv_func_realloc_0_nonnull
=no
4572 cat >conftest.
$ac_ext <<_ACEOF
4575 cat confdefs.h
>>conftest.
$ac_ext
4576 cat >>conftest.
$ac_ext <<_ACEOF
4577 /* end confdefs.h. */
4578 #if STDC_HEADERS || HAVE_STDLIB_H
4579 # include <stdlib.h>
4587 exit (realloc (0, 0) ? 0 : 1);
4592 rm -f conftest
$ac_exeext
4593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4594 (eval $ac_link) 2>&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); }; }; then
4603 ac_cv_func_realloc_0_nonnull
=yes
4605 echo "$as_me: program exited with status $ac_status" >&5
4606 echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.
$ac_ext >&5
4610 ac_cv_func_realloc_0_nonnull
=no
4612 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4615 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
4616 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
4617 if test $ac_cv_func_realloc_0_nonnull = yes; then
4619 cat >>confdefs.h
<<\_ACEOF
4620 #define HAVE_REALLOC 1
4624 cat >>confdefs.h
<<\_ACEOF
4625 #define HAVE_REALLOC 0
4629 "realloc.$ac_objext" | \
4630 *" realloc.$ac_objext" | \
4631 "realloc.$ac_objext "* | \
4632 *" realloc.$ac_objext "* ) ;;
4633 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext" ;;
4637 cat >>confdefs.h
<<\_ACEOF
4638 #define realloc rpl_realloc
4646 ac_config_files
="$ac_config_files Makefile"
4648 cat >confcache
<<\_ACEOF
4649 # This file is a shell script that caches the results of configure
4650 # tests run on this system so they can be shared between configure
4651 # scripts and configure runs, see configure's option --config-cache.
4652 # It is not useful on other systems. If it contains results you don't
4653 # want to keep, you may remove or edit it.
4655 # config.status only pays attention to the cache file if you give it
4656 # the --recheck option to rerun configure.
4658 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4659 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4664 # The following way of writing the cache mishandles newlines in values,
4665 # but we know of no workaround that is simple, portable, and efficient.
4666 # So, don't put newlines in cache variables' values.
4667 # Ultrix sh set writes to stderr and can't be redirected directly,
4668 # and sets the high bit in the cache file unless we assign to the vars.
4671 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4673 # `set' does not quote correctly, so add quotes (double-quote
4674 # substitution turns \\\\ into \\, and sed turns \\ into \).
4677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4680 # `set' quotes correctly as required by POSIX, so do not add quotes.
4682 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4689 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4691 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4693 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4694 if test -w $cache_file; then
4695 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4696 cat confcache
>$cache_file
4698 echo "not updating unwritable cache $cache_file"
4703 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4704 # Let make expand exec_prefix.
4705 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4707 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4708 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4709 # trailing colons and then remove the whole line if VPATH becomes empty
4710 # (actually we leave an empty line to preserve line numbers).
4711 if test "x$srcdir" = x.
; then
4712 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4713 s/:*\$(srcdir):*/:/;
4714 s/:*\${srcdir}:*/:/;
4716 s/^\([^=]*=[ ]*\):*/\1/;
4722 DEFS
=-DHAVE_CONFIG_H
4726 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4727 # 1. Remove the extension, and $U if already installed.
4728 ac_i
=`echo "$ac_i" |
4729 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4731 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
4732 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
4736 LTLIBOBJS
=$ac_ltlibobjs
4739 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4740 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4741 Usually this means the macro was only invoked conditionally." >&5
4742 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4743 Usually this means the macro was only invoked conditionally." >&2;}
4744 { (exit 1); exit 1; }; }
4746 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4747 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4748 Usually this means the macro was only invoked conditionally." >&5
4749 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4750 Usually this means the macro was only invoked conditionally." >&2;}
4751 { (exit 1); exit 1; }; }
4754 : ${CONFIG_STATUS=./config.status}
4755 ac_clean_files_save
=$ac_clean_files
4756 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4757 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4758 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4759 cat >$CONFIG_STATUS <<_ACEOF
4761 # Generated by $as_me.
4762 # Run this file to recreate the current configuration.
4763 # Compiler output produced by configure, useful for debugging
4764 # configure, is in config.log if it exists.
4769 SHELL=\${CONFIG_SHELL-$SHELL}
4772 cat >>$CONFIG_STATUS <<\_ACEOF
4773 ## --------------------- ##
4774 ## M4sh Initialization. ##
4775 ## --------------------- ##
4777 # Be Bourne compatible
4778 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4781 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4782 # is contrary to our usage. Disable this feature.
4783 alias -g '${1+"$@"}'='"$@"'
4784 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
4787 DUALCASE
=1; export DUALCASE
# for MKS sh
4789 # Support unset when possible.
4790 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4797 # Work around bugs in pre-3.0 UWIN ksh.
4798 $as_unset ENV MAIL MAILPATH
4805 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4806 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4807 LC_TELEPHONE LC_TIME
4809 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4810 eval $as_var=C
; export $as_var
4816 # Required to use basename.
4817 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4823 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
4824 as_basename
=basename
4830 # Name of the executable.
4831 as_me
=`$as_basename "$0" ||
4832 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4833 X"$0" : 'X\(//\)$' \| \
4834 X"$0" : 'X\(/\)$' \| \
4835 . : '\(.\)' 2>/dev/null ||
4837 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4838 /^X\/\(\/\/\)$/{ s//\1/; q; }
4839 /^X\/\(\/\).*/{ s//\1/; q; }
4843 # PATH needs CR, and LINENO needs CR and PATH.
4844 # Avoid depending upon Character Ranges.
4845 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4846 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4847 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4848 as_cr_digits
='0123456789'
4849 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4851 # The user is always right.
4852 if test "${PATH_SEPARATOR+set}" != set; then
4853 echo "#! /bin/sh" >conf$$.sh
4854 echo "exit 0" >>conf$$.sh
4856 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4867 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4868 test "x$as_lineno_1" != "x$as_lineno_2" &&
4869 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
4870 # Find who we are. Look in the path if we contain no path at all
4873 *[\\/]* ) as_myself
=$0 ;;
4874 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4878 test -z "$as_dir" && as_dir
=.
4879 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4884 # We did not find ourselves, most probably we were run as `sh COMMAND'
4885 # in which case we are not to be found in the path.
4886 if test "x$as_myself" = x
; then
4889 if test ! -f "$as_myself"; then
4890 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4891 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4892 { (exit 1); exit 1; }; }
4894 case $CONFIG_SHELL in
4896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4897 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
4900 test -z "$as_dir" && as_dir
=.
4901 for as_base
in sh bash ksh sh5
; do
4904 if ("$as_dir/$as_base" -c '
4907 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4908 test "x$as_lineno_1" != "x$as_lineno_2" &&
4909 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
4910 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
4911 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
4912 CONFIG_SHELL
=$as_dir/$as_base
4914 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4922 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4923 # uniformly replaced by the line number. The first 'sed' inserts a
4924 # line-number line before each line; the second 'sed' does the real
4925 # work. The second script uses 'N' to pair each line-number line
4926 # with the numbered line, and appends trailing '-' during
4927 # substitution so that $LINENO is not a special case at line end.
4928 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4929 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4930 sed '=' <$as_myself |
4935 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4938 s,^['$as_cr_digits']*\n,,
4940 chmod +x
$as_me.lineno ||
4941 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4942 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4943 { (exit 1); exit 1; }; }
4945 # Don't try to exec as it changes $[0], causing all sort of problems
4946 # (the dirname of $[0] is not the place where we might find the
4947 # original and so on. Autoconf is especially sensible to this).
4949 # Exit status is that of the last command.
4954 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4955 *c
*,-n*) ECHO_N
= ECHO_C
='
4957 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4958 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4961 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4967 rm -f conf$$ conf$$.exe conf$$.
file
4969 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4970 # We could just check for DJGPP; but this test a) works b) is more generic
4971 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4972 if test -f conf$$.exe
; then
4973 # Don't use ln at all; we don't have any links
4978 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4983 rm -f conf$$ conf$$.exe conf$$.
file
4985 if mkdir
-p .
2>/dev
/null
; then
4988 test -d .
/-p && rmdir .
/-p
4992 as_executable_p
="test -f"
4994 # Sed expression to map a string onto a valid CPP name.
4995 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4997 # Sed expression to map a string onto a valid variable name.
4998 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5002 # We need space, tab and new line, in precisely that order.
5012 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5013 # report actual input values of CONFIG_FILES etc. instead of their
5014 # values after options handling. Logging --version etc. is OK.
5018 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5019 ## Running $as_me. ##
5024 This file was extended by spout $as_me unix_1.3, which was
5025 generated by GNU Autoconf 2.59. Invocation command line was
5027 CONFIG_FILES = $CONFIG_FILES
5028 CONFIG_HEADERS = $CONFIG_HEADERS
5029 CONFIG_LINKS = $CONFIG_LINKS
5030 CONFIG_COMMANDS = $CONFIG_COMMANDS
5034 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5038 # Files that config.status was made for.
5039 if test -n "$ac_config_files"; then
5040 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5043 if test -n "$ac_config_headers"; then
5044 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5047 if test -n "$ac_config_links"; then
5048 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5051 if test -n "$ac_config_commands"; then
5052 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5055 cat >>$CONFIG_STATUS <<\_ACEOF
5058 \`$as_me' instantiates files from templates according to the
5059 current configuration.
5061 Usage: $0 [OPTIONS] [FILE]...
5063 -h, --help print this help, then exit
5064 -V, --version print version number, then exit
5065 -q, --quiet do not print progress messages
5066 -d, --debug don't remove temporary files
5067 --recheck update $as_me by reconfiguring in the same conditions
5068 --file=FILE[:TEMPLATE]
5069 instantiate the configuration file FILE
5070 --header=FILE[:TEMPLATE]
5071 instantiate the configuration header FILE
5073 Configuration files:
5076 Configuration headers:
5079 Configuration commands:
5082 Report bugs to <bug-autoconf@gnu.org>."
5085 cat >>$CONFIG_STATUS <<_ACEOF
5087 spout config.status unix_1.3
5088 configured by $0, generated by GNU Autoconf 2.59,
5089 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5091 Copyright (C) 2003 Free Software Foundation, Inc.
5092 This config.status script is free software; the Free Software Foundation
5093 gives unlimited permission to copy, distribute and modify it."
5098 cat >>$CONFIG_STATUS <<\_ACEOF
5099 # If no file are specified by the user, then we need to provide default
5100 # value. By we need to know if files were specified by the user.
5106 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5107 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5115 *) # This is not an option, so the user has probably given explicit
5118 ac_need_defaults
=false
;;
5122 # Handling of the options.
5124 cat >>$CONFIG_STATUS <<\_ACEOF
5125 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5127 --version |
--vers* |
-V )
5128 echo "$ac_cs_version"; exit 0 ;;
5130 # Conflict between --help and --header
5131 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5132 Try \`$0 --help' for more information." >&5
5133 echo "$as_me: error: ambiguous option: $1
5134 Try \`$0 --help' for more information." >&2;}
5135 { (exit 1); exit 1; }; };;
5136 --help |
--hel |
-h )
5137 echo "$ac_cs_usage"; exit 0 ;;
5138 --debug |
--d* |
-d )
5140 --file |
--fil |
--fi |
--f )
5142 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5143 ac_need_defaults
=false
;;
5144 --header |
--heade |
--head |
--hea )
5146 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5147 ac_need_defaults
=false
;;
5148 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5149 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5153 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5154 Try \`$0 --help' for more information." >&5
5155 echo "$as_me: error: unrecognized option: $1
5156 Try \`$0 --help' for more information." >&2;}
5157 { (exit 1); exit 1; }; } ;;
5159 *) ac_config_targets
="$ac_config_targets $1" ;;
5165 ac_configure_extra_args
=
5167 if $ac_cs_silent; then
5169 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5173 cat >>$CONFIG_STATUS <<_ACEOF
5174 if \$ac_cs_recheck; then
5175 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5176 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5181 cat >>$CONFIG_STATUS <<_ACEOF
5183 # INIT-COMMANDS section.
5186 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5192 cat >>$CONFIG_STATUS <<\_ACEOF
5193 for ac_config_target
in $ac_config_targets
5195 case "$ac_config_target" in
5196 # Handling of arguments.
5197 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5198 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5199 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5200 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5201 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5202 { (exit 1); exit 1; }; };;
5206 # If the user did not use the arguments to specify the items to instantiate,
5207 # then the envvar interface is used. Set only those that are not.
5208 # We use the long form for the default assignment because of an extremely
5209 # bizarre bug on SunOS 4.1.3.
5210 if $ac_need_defaults; then
5211 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5212 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5213 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5216 # Have a temporary directory for convenience. Make it in the build tree
5217 # simply because there is no reason to put it here, and in addition,
5218 # creating and moving files from /tmp can sometimes cause problems.
5219 # Create a temporary directory, and hook for its removal unless debugging.
5222 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5223 trap '{ (exit 1); exit 1; }' 1 2 13 15
5226 # Create a (secure) tmp directory for tmp files.
5229 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5230 test -n "$tmp" && test -d "$tmp"
5233 tmp
=.
/confstat$$
-$RANDOM
5234 (umask 077 && mkdir
$tmp)
5237 echo "$me: cannot create a temporary directory in ." >&2
5238 { (exit 1); exit 1; }
5243 cat >>$CONFIG_STATUS <<_ACEOF
5246 # CONFIG_FILES section.
5249 # No need to generate the scripts if there are no CONFIG_FILES.
5250 # This happens for instance when ./config.status config.h
5251 if test -n "\$CONFIG_FILES"; then
5252 # Protect against being on the right side of a sed subst in config.status.
5253 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5254 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5255 s,@SHELL@,$SHELL,;t t
5256 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5257 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5258 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5259 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5260 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5261 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5262 s,@exec_prefix@,$exec_prefix,;t t
5263 s,@prefix@,$prefix,;t t
5264 s,@program_transform_name@,$program_transform_name,;t t
5265 s,@bindir@,$bindir,;t t
5266 s,@sbindir@,$sbindir,;t t
5267 s,@libexecdir@,$libexecdir,;t t
5268 s,@datadir@,$datadir,;t t
5269 s,@sysconfdir@,$sysconfdir,;t t
5270 s,@sharedstatedir@,$sharedstatedir,;t t
5271 s,@localstatedir@,$localstatedir,;t t
5272 s,@libdir@,$libdir,;t t
5273 s,@includedir@,$includedir,;t t
5274 s,@oldincludedir@,$oldincludedir,;t t
5275 s,@infodir@,$infodir,;t t
5276 s,@mandir@,$mandir,;t t
5277 s,@build_alias@,$build_alias,;t t
5278 s,@host_alias@,$host_alias,;t t
5279 s,@target_alias@,$target_alias,;t t
5281 s,@ECHO_C@,$ECHO_C,;t t
5282 s,@ECHO_N@,$ECHO_N,;t t
5283 s,@ECHO_T@,$ECHO_T,;t t
5285 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5286 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5287 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5288 s,@CYGPATH_W@,$CYGPATH_W,;t t
5289 s,@PACKAGE@,$PACKAGE,;t t
5290 s,@VERSION@,$VERSION,;t t
5291 s,@ACLOCAL@,$ACLOCAL,;t t
5292 s,@AUTOCONF@,$AUTOCONF,;t t
5293 s,@AUTOMAKE@,$AUTOMAKE,;t t
5294 s,@AUTOHEADER@,$AUTOHEADER,;t t
5295 s,@MAKEINFO@,$MAKEINFO,;t t
5296 s,@AMTAR@,$AMTAR,;t t
5297 s,@install_sh@,$install_sh,;t t
5298 s,@STRIP@,$STRIP,;t t
5299 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5300 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5301 s,@mkdir_p@,$mkdir_p,;t t
5303 s,@SET_MAKE@,$SET_MAKE,;t t
5304 s,@am__leading_dot@,$am__leading_dot,;t t
5306 s,@CFLAGS@,$CFLAGS,;t t
5307 s,@LDFLAGS@,$LDFLAGS,;t t
5308 s,@CPPFLAGS@,$CPPFLAGS,;t t
5309 s,@ac_ct_CC@,$ac_ct_CC,;t t
5310 s,@EXEEXT@,$EXEEXT,;t t
5311 s,@OBJEXT@,$OBJEXT,;t t
5312 s,@DEPDIR@,$DEPDIR,;t t
5313 s,@am__include@,$am__include,;t t
5314 s,@am__quote@,$am__quote,;t t
5315 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5316 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5317 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5318 s,@CCDEPMODE@,$CCDEPMODE,;t t
5319 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5320 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5321 s,@build@,$build,;t t
5322 s,@build_cpu@,$build_cpu,;t t
5323 s,@build_vendor@,$build_vendor,;t t
5324 s,@build_os@,$build_os,;t t
5326 s,@host_cpu@,$host_cpu,;t t
5327 s,@host_vendor@,$host_vendor,;t t
5328 s,@host_os@,$host_os,;t t
5329 s,@target@,$target,;t t
5330 s,@target_cpu@,$target_cpu,;t t
5331 s,@target_vendor@,$target_vendor,;t t
5332 s,@target_os@,$target_os,;t t
5333 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
5334 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
5335 s,@SDL_LIBS@,$SDL_LIBS,;t t
5337 s,@EGREP@,$EGREP,;t t
5338 s,@LIBOBJS@,$LIBOBJS,;t t
5339 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5344 cat >>$CONFIG_STATUS <<\_ACEOF
5345 # Split the substitutions into bite-sized pieces for seds with
5346 # small command number limits, like on Digital OSF/1 and HP-UX.
5348 ac_sed_frag
=1 # Number of current file.
5349 ac_beg
=1 # First line for current file.
5350 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5353 while $ac_more_lines; do
5354 if test $ac_beg -gt 1; then
5355 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5357 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5359 if test ! -s $tmp/subs.frag
; then
5362 # The purpose of the label and of the branching condition is to
5363 # speed up the sed processing (if there are no `@' at all, there
5364 # is no need to browse any of the substitutions).
5365 # These are the two extra sed commands mentioned above.
5367 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5368 if test -z "$ac_sed_cmds"; then
5369 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5371 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5373 ac_sed_frag
=`expr $ac_sed_frag + 1`
5375 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5378 if test -z "$ac_sed_cmds"; then
5381 fi # test -n "$CONFIG_FILES"
5384 cat >>$CONFIG_STATUS <<\_ACEOF
5385 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5386 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5388 - |
*:- |
*:-:* ) # input from stdin
5390 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5391 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5392 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5393 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5394 * ) ac_file_in
=$ac_file.
in ;;
5397 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5398 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5399 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5400 X"$ac_file" : 'X\(//\)[^/]' \| \
5401 X"$ac_file" : 'X\(//\)$' \| \
5402 X"$ac_file" : 'X\(/\)' \| \
5403 . : '\(.\)' 2>/dev/null ||
5405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5406 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5407 /^X\(\/\/\)$/{ s//\1/; q; }
5408 /^X\(\/\).*/{ s//\1/; q; }
5410 { if $as_mkdir_p; then
5415 while test ! -d "$as_dir"; do
5416 as_dirs
="$as_dir $as_dirs"
5417 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5418 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5419 X"$as_dir" : 'X\(//\)[^/]' \| \
5420 X"$as_dir" : 'X\(//\)$' \| \
5421 X"$as_dir" : 'X\(/\)' \| \
5422 . : '\(.\)' 2>/dev/null ||
5424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5425 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5426 /^X\(\/\/\)$/{ s//\1/; q; }
5427 /^X\(\/\).*/{ s//\1/; q; }
5430 test ! -n "$as_dirs" || mkdir
$as_dirs
5431 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5432 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5433 { (exit 1); exit 1; }; }; }
5437 if test "$ac_dir" != .
; then
5438 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5439 # A "../" for each directory in $ac_dir_suffix.
5440 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5442 ac_dir_suffix
= ac_top_builddir
=
5446 .
) # No --srcdir option. We are building in place.
5448 if test -z "$ac_top_builddir"; then
5451 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5453 [\\/]* | ?
:[\\/]* ) # Absolute path.
5454 ac_srcdir
=$srcdir$ac_dir_suffix;
5455 ac_top_srcdir
=$srcdir ;;
5457 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5458 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5461 # Do not use `cd foo && pwd` to compute absolute paths, because
5462 # the directories may not exist.
5464 .
) ac_abs_builddir
="$ac_dir";;
5467 .
) ac_abs_builddir
=`pwd`;;
5468 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5469 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5472 case $ac_abs_builddir in
5473 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5475 case ${ac_top_builddir}.
in
5476 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5477 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5478 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5481 case $ac_abs_builddir in
5482 .
) ac_abs_srcdir
=$ac_srcdir;;
5485 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5486 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5487 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5490 case $ac_abs_builddir in
5491 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5493 case $ac_top_srcdir in
5494 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5495 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5496 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5502 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5503 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5506 if test x
"$ac_file" != x-
; then
5507 { echo "$as_me:$LINENO: creating $ac_file" >&5
5508 echo "$as_me: creating $ac_file" >&6;}
5511 # Let's still pretend it is `configure' which instantiates (i.e., don't
5512 # use $as_me), people would be surprised to read:
5513 # /* config.h. Generated by config.status. */
5514 if test x
"$ac_file" = x-
; then
5517 configure_input
="$ac_file. "
5519 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5520 sed 's,.*/,,'` by configure."
5522 # First look for the input files in the build tree, otherwise in the
5524 ac_file_inputs
=`IFS=:
5525 for f in $ac_file_in; do
5527 -) echo $tmp/stdin ;;
5529 # Absolute (can't be DOS-style, as IFS=:)
5530 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5531 echo "$as_me: error: cannot find input file: $f" >&2;}
5532 { (exit 1); exit 1; }; }
5535 if test -f "$f"; then
5538 elif test -f "$srcdir/$f"; then
5543 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5544 echo "$as_me: error: cannot find input file: $f" >&2;}
5545 { (exit 1); exit 1; }; }
5548 done` ||
{ (exit 1); exit 1; }
5550 cat >>$CONFIG_STATUS <<_ACEOF
5554 cat >>$CONFIG_STATUS <<\_ACEOF
5556 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5557 s
,@configure_input@
,$configure_input,;t t
5558 s
,@srcdir@
,$ac_srcdir,;t t
5559 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5560 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5561 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5562 s
,@builddir@
,$ac_builddir,;t t
5563 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5564 s
,@top_builddir@
,$ac_top_builddir,;t t
5565 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5566 s
,@INSTALL@
,$ac_INSTALL,;t t
5567 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5569 if test x"$ac_file" != x-; then
5570 mv $tmp/out $ac_file
5578 cat >>$CONFIG_STATUS <<\_ACEOF
5581 # CONFIG_HEADER section.
5584 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5585 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5587 # ac_d sets the value in "#define NAME VALUE" lines.
5588 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5589 ac_dB
='[ ].*$,\1#\2'
5592 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5593 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5594 ac_uB
='$,\1#\2define\3'
5598 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5599 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5601 - |
*:- |
*:-:* ) # input from stdin
5603 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5604 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5605 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5606 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5607 * ) ac_file_in
=$ac_file.
in ;;
5610 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5611 echo "$as_me: creating $ac_file" >&6;}
5613 # First look for the input files in the build tree, otherwise in the
5615 ac_file_inputs
=`IFS=:
5616 for f in $ac_file_in; do
5618 -) echo $tmp/stdin ;;
5620 # Absolute (can't be DOS-style, as IFS=:)
5621 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5622 echo "$as_me: error: cannot find input file: $f" >&2;}
5623 { (exit 1); exit 1; }; }
5624 # Do quote $f, to prevent DOS paths from being IFS'd.
5627 if test -f "$f"; then
5630 elif test -f "$srcdir/$f"; then
5635 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5636 echo "$as_me: error: cannot find input file: $f" >&2;}
5637 { (exit 1); exit 1; }; }
5640 done` ||
{ (exit 1); exit 1; }
5641 # Remove the trailing spaces.
5642 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5646 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5647 # `conftest.undefs', that substitutes the proper values into
5648 # config.h.in to produce config.h. The first handles `#define'
5649 # templates, and the second `#undef' templates.
5650 # And first: Protect against being on the right side of a sed subst in
5651 # config.status. Protect against being in an unquoted here document
5653 rm -f conftest.defines conftest.undefs
5654 # Using a here document instead of a string reduces the quoting nightmare.
5655 # Putting comments in sed scripts is not portable.
5657 # `end' is used to avoid that the second main sed command (meant for
5658 # 0-ary CPP macros) applies to n-ary macro definitions.
5659 # See the Autoconf documentation for `clear'.
5660 cat >confdef2sed.
sed <<\_ACEOF
5665 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5667 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5670 # If some macros were called several times there might be several times
5671 # the same #defines, which is useless. Nevertheless, we may not want to
5672 # sort them, since we want the *last* AC-DEFINE to be honored.
5673 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5674 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5675 rm -f confdef2sed.sed
5677 # This sed command replaces #undef with comments. This is necessary, for
5678 # example, in the case of _POSIX_SOURCE, which is predefined and required
5679 # on some systems where configure will not decide to define it.
5680 cat >>conftest.undefs <<\_ACEOF
5681 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5684 # Break up conftest.defines because some shells have a limit on the size
5685 # of here documents, and old seds have small limits too (100 cmds).
5686 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5687 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5688 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5689 echo ' :' >>$CONFIG_STATUS
5691 while grep . conftest.defines >/dev/null
5693 # Write a limited-size here document to $tmp/defines.sed.
5694 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5695 # Speed up: don't consider the non `#define' lines.
5696 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5697 # Work around the forget-to-reset-the-flag bug.
5698 echo 't clr' >>$CONFIG_STATUS
5699 echo ': clr' >>$CONFIG_STATUS
5700 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5702 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5706 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5707 rm -f conftest.defines
5708 mv conftest.
tail conftest.defines
5710 rm -f conftest.defines
5711 echo ' fi # grep' >>$CONFIG_STATUS
5712 echo >>$CONFIG_STATUS
5714 # Break up conftest.undefs because some shells have a limit on the size
5715 # of here documents, and old seds have small limits too (100 cmds).
5716 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5718 while grep . conftest.undefs
>/dev
/null
5720 # Write a limited-size here document to $tmp/undefs.sed.
5721 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5722 # Speed up: don't consider the non
`#undef'
5723 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5724 # Work around the forget-to-reset-the-flag bug.
5725 echo 't clr' >>$CONFIG_STATUS
5726 echo ': clr' >>$CONFIG_STATUS
5727 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5729 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5733 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5734 rm -f conftest.undefs
5735 mv conftest.tail conftest.undefs
5737 rm -f conftest.undefs
5739 cat >>$CONFIG_STATUS <<\_ACEOF
5740 # Let's still pretend it is `configure
' which instantiates (i.e., don't
5741 # use $as_me), people would be surprised to read:
5742 # /* config.h. Generated by config.status. */
5743 if test x
"$ac_file" = x-
; then
5744 echo "/* Generated by configure. */" >$tmp/config.h
5746 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5748 cat $tmp/in >>$tmp/config.h
5750 if test x
"$ac_file" != x-
; then
5751 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
5752 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5753 echo "$as_me: $ac_file is unchanged" >&6;}
5755 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5756 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5757 X"$ac_file" : 'X\(//\)[^/]' \| \
5758 X"$ac_file" : 'X\(//\)$' \| \
5759 X"$ac_file" : 'X\(/\)' \| \
5760 . : '\(.\)' 2>/dev/null ||
5762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5763 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5764 /^X\(\/\/\)$/{ s//\1/; q; }
5765 /^X\(\/\).*/{ s//\1/; q; }
5767 { if $as_mkdir_p; then
5772 while test ! -d "$as_dir"; do
5773 as_dirs
="$as_dir $as_dirs"
5774 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5775 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5776 X"$as_dir" : 'X\(//\)[^/]' \| \
5777 X"$as_dir" : 'X\(//\)$' \| \
5778 X"$as_dir" : 'X\(/\)' \| \
5779 . : '\(.\)' 2>/dev/null ||
5781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5783 /^X\(\/\/\)$/{ s//\1/; q; }
5784 /^X\(\/\).*/{ s//\1/; q; }
5787 test ! -n "$as_dirs" || mkdir
$as_dirs
5788 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5789 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5790 { (exit 1); exit 1; }; }; }
5793 mv $tmp/config.h
$ac_file
5799 # Compute $ac_file's index in $config_headers.
5801 for _am_header
in $config_headers :; do
5803 $ac_file |
$ac_file:* )
5806 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
5809 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5810 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5811 X$ac_file : 'X\(//\)[^/]' \| \
5812 X$ac_file : 'X\(//\)$' \| \
5813 X$ac_file : 'X\(/\)' \| \
5814 . : '\(.\)' 2>/dev/null ||
5816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5817 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5818 /^X\(\/\/\)$/{ s//\1/; q; }
5819 /^X\(\/\).*/{ s//\1/; q; }
5820 s/.*/./; q'`/stamp-h
$_am_stamp_count
5823 cat >>$CONFIG_STATUS <<\_ACEOF
5826 # CONFIG_COMMANDS section.
5828 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
5829 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
5830 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5831 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
5832 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5833 X"$ac_dest" : 'X\(//\)[^/]' \| \
5834 X"$ac_dest" : 'X\(//\)$' \| \
5835 X"$ac_dest" : 'X\(/\)' \| \
5836 . : '\(.\)' 2>/dev/null ||
5838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5839 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5840 /^X\(\/\/\)$/{ s//\1/; q; }
5841 /^X\(\/\).*/{ s//\1/; q; }
5843 { if $as_mkdir_p; then
5848 while test ! -d "$as_dir"; do
5849 as_dirs
="$as_dir $as_dirs"
5850 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5851 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5852 X"$as_dir" : 'X\(//\)[^/]' \| \
5853 X"$as_dir" : 'X\(//\)$' \| \
5854 X"$as_dir" : 'X\(/\)' \| \
5855 . : '\(.\)' 2>/dev/null ||
5857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5858 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5859 /^X\(\/\/\)$/{ s//\1/; q; }
5860 /^X\(\/\).*/{ s//\1/; q; }
5863 test ! -n "$as_dirs" || mkdir
$as_dirs
5864 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5865 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5866 { (exit 1); exit 1; }; }; }
5870 if test "$ac_dir" != .
; then
5871 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5872 # A "../" for each directory in $ac_dir_suffix.
5873 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5875 ac_dir_suffix
= ac_top_builddir
=
5879 .
) # No --srcdir option. We are building in place.
5881 if test -z "$ac_top_builddir"; then
5884 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5886 [\\/]* | ?
:[\\/]* ) # Absolute path.
5887 ac_srcdir
=$srcdir$ac_dir_suffix;
5888 ac_top_srcdir
=$srcdir ;;
5890 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5891 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5894 # Do not use `cd foo && pwd` to compute absolute paths, because
5895 # the directories may not exist.
5897 .
) ac_abs_builddir
="$ac_dir";;
5900 .
) ac_abs_builddir
=`pwd`;;
5901 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5902 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5905 case $ac_abs_builddir in
5906 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5908 case ${ac_top_builddir}.
in
5909 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5910 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5911 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5914 case $ac_abs_builddir in
5915 .
) ac_abs_srcdir
=$ac_srcdir;;
5918 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5919 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5920 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5923 case $ac_abs_builddir in
5924 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5926 case $ac_top_srcdir in
5927 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5928 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5929 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5934 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5935 echo "$as_me: executing $ac_dest commands" >&6;}
5937 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
5938 # Strip MF so we end up with the name of the file.
5939 mf
=`echo "$mf" | sed -e 's/:.*$//'`
5940 # Check whether this is an Automake generated Makefile or not.
5941 # We used to match only the files named `Makefile.in', but
5942 # some people rename them; so instead we look at the file content.
5943 # Grep'ing the first line is not enough: some people post-process
5944 # each Makefile.in and add a new line on top of each file to say so.
5945 # So let's grep whole file.
5946 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
5947 dirpart
=`(dirname "$mf") 2>/dev/null ||
5948 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5949 X"$mf" : 'X\(//\)[^/]' \| \
5950 X"$mf" : 'X\(//\)$' \| \
5951 X"$mf" : 'X\(/\)' \| \
5952 . : '\(.\)' 2>/dev/null ||
5954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5955 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5956 /^X\(\/\/\)$/{ s//\1/; q; }
5957 /^X\(\/\).*/{ s//\1/; q; }
5962 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
5963 # Extract the definition of DEP_FILES from the Makefile without
5965 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
5966 test -z "$DEPDIR" && continue
5967 # When using ansi2knr, U may be empty or an underscore; expand it
5968 U
=`sed -n 's/^U = //p' < "$mf"`
5969 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
5970 # We invoke sed twice because it is the simplest approach to
5971 # changing $(DEPDIR) to its actual value in the expansion.
5972 for file in `sed -n '
5973 /^DEP_FILES = .*\\\\$/ {
5982 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5983 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5984 # Make sure the directory exists.
5985 test -f "$dirpart/$file" && continue
5986 fdir
=`(dirname "$file") 2>/dev/null ||
5987 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5988 X"$file" : 'X\(//\)[^/]' \| \
5989 X"$file" : 'X\(//\)$' \| \
5990 X"$file" : 'X\(/\)' \| \
5991 . : '\(.\)' 2>/dev/null ||
5993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5994 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5995 /^X\(\/\/\)$/{ s//\1/; q; }
5996 /^X\(\/\).*/{ s//\1/; q; }
5998 { if $as_mkdir_p; then
5999 mkdir
-p $dirpart/$fdir
6001 as_dir
=$dirpart/$fdir
6003 while test ! -d "$as_dir"; do
6004 as_dirs
="$as_dir $as_dirs"
6005 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6006 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6007 X"$as_dir" : 'X\(//\)[^/]' \| \
6008 X"$as_dir" : 'X\(//\)$' \| \
6009 X"$as_dir" : 'X\(/\)' \| \
6010 . : '\(.\)' 2>/dev/null ||
6012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6013 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6014 /^X\(\/\/\)$/{ s//\1/; q; }
6015 /^X\(\/\).*/{ s//\1/; q; }
6018 test ! -n "$as_dirs" || mkdir
$as_dirs
6019 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6020 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6021 { (exit 1); exit 1; }; }; }
6023 # echo "creating $dirpart/$file"
6024 echo '# dummy' > "$dirpart/$file"
6032 cat >>$CONFIG_STATUS <<\_ACEOF
6034 { (exit 0); exit 0; }
6036 chmod +x
$CONFIG_STATUS
6037 ac_clean_files
=$ac_clean_files_save
6040 # configure is writing to config.log, and then calls config.status.
6041 # config.status does its own redirection, appending to config.log.
6042 # Unfortunately, on DOS this fails, as config.log is still kept open
6043 # by configure, so config.status won't be able to write to it; its
6044 # output is simply discarded. So we exec the FD to /dev/null,
6045 # effectively closing config.log, so it can be properly (re)opened and
6046 # appended to by config.status. When coming back to configure, we
6047 # need to make the FD available again.
6048 if test "$no_create" != yes; then
6050 ac_config_status_args
=
6051 test "$silent" = yes &&
6052 ac_config_status_args
="$ac_config_status_args --quiet"
6054 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6056 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6057 # would make configure fail if this is the last instruction.
6058 $ac_cs_success ||
{ (exit 1); exit 1; }