2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for nocat 0.93pre2.
5 # Report bugs to <schuyler@nocat.net>.
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
='NoCatSplash'
272 PACKAGE_VERSION
='0.93pre2'
273 PACKAGE_STRING
='nocat 0.93pre2'
274 PACKAGE_BUGREPORT
='schuyler@nocat.net'
276 ac_unique_file
="src/http.c"
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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB GLIB_CONFIG GLIB_CFLAGS GLIB_LIBS CPP EGREP POW_LIB LIBOBJS SPLASHD_MODE GHTTPD_PROGRAM firewall libexecscripts pkglibexecdir htdocsdir imagesdir pgpdir 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 nocat 0.93pre2 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
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive
) echo "Configuration of nocat 0.93pre2:";;
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --enable-maintainer-mode enable make rules and dependencies not useful
853 (and sometimes confusing
) to the casual installer
854 --disable-dependency-tracking speeds up one-time build
855 --enable-dependency-tracking do not reject slow dependency extractors
856 --disable-glibtest Do not try to compile and run a
test GLIB program
859 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
860 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
861 --with-glib-prefix=PFX Prefix where GLIB is installed
(optional
)
862 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed
(optional
)
863 --with-mode Authentication mode
(open
)
864 --with-remote-splash Fetch splash page from elsewhere with libghttp.
865 --with-ghttpd Build and
install ghttpd
, a lightweight httpd.
866 --with-firewall=FW Firewall to configure NoCat
for.
867 --with-docroot=PATH Directory to store HTML templates
in.
869 Some influential environment variables
:
870 CC C compiler
command
871 CFLAGS C compiler flags
872 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
873 nonstandard directory
<lib dir
>
874 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
875 headers
in a nonstandard directory
<include dir
>
878 Use these variables to override the choices made by
`configure' or to help
879 it to find libraries and programs with nonstandard names/locations.
881 Report bugs to <schuyler@nocat.net>.
885 if test "$ac_init_help" = "recursive"; then
886 # If there are subdirs, report their specific --help.
888 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
889 test -d $ac_dir || continue
892 if test "$ac_dir" != .; then
893 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
894 # A "../" for each directory in $ac_dir_suffix.
895 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
897 ac_dir_suffix= ac_top_builddir=
901 .) # No --srcdir option. We are building in place.
903 if test -z "$ac_top_builddir"; then
906 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
908 [\\/]* | ?:[\\/]* ) # Absolute path.
909 ac_srcdir=$srcdir$ac_dir_suffix;
910 ac_top_srcdir=$srcdir ;;
912 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
913 ac_top_srcdir=$ac_top_builddir$srcdir ;;
916 # Do not use `cd foo
&& pwd` to compute absolute paths, because
917 # the directories may not exist.
919 .) ac_abs_builddir="$ac_dir";;
922 .) ac_abs_builddir=`pwd`;;
923 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
924 *) ac_abs_builddir=`pwd`/"$ac_dir";;
927 case $ac_abs_builddir in
928 .) ac_abs_top_builddir=${ac_top_builddir}.;;
930 case ${ac_top_builddir}. in
931 .) ac_abs_top_builddir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
933 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
936 case $ac_abs_builddir in
937 .) ac_abs_srcdir=$ac_srcdir;;
940 .) ac_abs_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
942 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945 case $ac_abs_builddir in
946 .) ac_abs_top_srcdir=$ac_top_srcdir;;
948 case $ac_top_srcdir in
949 .) ac_abs_top_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
951 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
956 # Check for guested configure; otherwise get Cygnus style configure.
957 if test -f $ac_srcdir/configure.gnu; then
959 $SHELL $ac_srcdir/configure.gnu --help=recursive
960 elif test -f $ac_srcdir/configure; then
962 $SHELL $ac_srcdir/configure --help=recursive
963 elif test -f $ac_srcdir/configure.ac ||
964 test -f $ac_srcdir/configure.in; then
968 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
974 test -n "$ac_init_help" && exit 0
975 if $ac_init_version; then
977 nocat configure 0.93pre2
978 generated by GNU Autoconf 2.59
980 Copyright (C) 2003 Free Software Foundation, Inc.
981 This configure script is free software; the Free Software Foundation
982 gives unlimited permission to copy, distribute and modify it.
988 This file contains any messages produced by compilers while
989 running configure, to aid debugging if configure makes a mistake.
991 It was created by nocat $as_me 0.93pre2, which was
992 generated by GNU Autoconf 2.59. Invocation command line was
1003 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1004 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1005 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1006 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1007 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1009 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1010 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1012 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1014 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1015 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1016 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1018 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 test -z "$as_dir" && as_dir=.
1027 echo "PATH: $as_dir"
1042 # Keep a trace of the command line.
1043 # Strip out --no-create and --no-recursion so they do not pile up.
1044 # Strip out --silent because we don't want to record it for future runs.
1045 # Also quote any args containing shell meta-characters.
1046 # Make two passes to allow for proper duplicate-argument suppression.
1051 ac_must_keep_next=false
1057 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1061 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1062 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1065 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1067 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1068 if test $ac_must_keep_next = true; then
1069 ac_must_keep_next=false # Got value, back to normal.
1072 *=* | --config-cache | -C | -disable-* | --disable-* \
1073 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1074 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1075 | -with-* | --with-* | -without-* | --without-* | --x)
1076 case "$ac_configure_args0 " in
1077 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1080 -* ) ac_must_keep_next=true ;;
1083 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1084 # Get rid of the leading space.
1090 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1091 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1093 # When interrupted or exit'd, cleanup temporary files, and complete
1094 # config.log. We remove comments because anyway the quotes in there
1095 # would cause problems or look ugly.
1096 # WARNING: Be sure not to use single quotes in there, as some shells,
1097 # such as our DU 5.0 friend, will then `close
' the trap.
1098 trap 'exit_status
=$?
1099 # Save into config.log some information that might help in debugging.
1104 ## ---------------- ##
1105 ## Cache variables. ##
1106 ## ---------------- ##
1109 # The following way of writing the cache mishandles newlines in values,
1112 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1127 ## ----------------- ##
1128 ## Output variables. ##
1129 ## ----------------- ##
1132 for ac_var
in $ac_subst_vars
1134 eval ac_val
=$
`echo $ac_var`
1135 echo "$ac_var='"'"'$ac_val'"'"'"
1139 if test -n "$ac_subst_files"; then
1146 for ac_var
in $ac_subst_files
1148 eval ac_val
=$
`echo $ac_var`
1149 echo "$ac_var='"'"'$ac_val'"'"'"
1154 if test -s confdefs.h
; then
1161 sed "/^$/d" confdefs.h |
sort
1164 test "$ac_signal" != 0 &&
1165 echo "$as_me: caught signal $ac_signal"
1166 echo "$as_me: exit $exit_status"
1168 rm -f core
*.core
&&
1169 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1172 for ac_signal in 1 2 13 15; do
1173 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1178 rm -rf conftest* confdefs.h
1179 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182 # Predefined preprocessor variables.
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 # Let the site file select an alternate cache file if it wants to.
1210 # Prefer explicitly selected file to automatically selected ones.
1211 if test -z "$CONFIG_SITE"; then
1212 if test "x$prefix" != xNONE; then
1213 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1215 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1218 for ac_site_file in $CONFIG_SITE; do
1219 if test -r "$ac_site_file"; then
1220 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1221 echo "$as_me: loading site script $ac_site_file" >&6;}
1222 sed 's
/^
/|
/' "$ac_site_file" >&5
1227 if test -r "$cache_file"; then
1228 # Some versions of bash will fail to source /dev/null (special
1229 # files actually), so we avoid doing that.
1230 if test -f "$cache_file"; then
1231 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1232 echo "$as_me: loading cache $cache_file" >&6;}
1234 [\\/]* | ?:[\\/]* ) . $cache_file;;
1235 *) . ./$cache_file;;
1239 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1240 echo "$as_me: creating cache $cache_file" >&6;}
1244 # Check that the precious variables saved in the cache have kept the same
1246 ac_cache_corrupted=false
1247 for ac_var in `(set) 2>&1 |
1248 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1249 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1250 eval ac_new_set=\$ac_env_${ac_var}_set
1251 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1252 eval ac_new_val="\$ac_env_${ac_var}_value"
1253 case $ac_old_set,$ac_new_set in
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1257 ac_cache_corrupted=: ;;
1259 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1261 ac_cache_corrupted=: ;;
1264 if test "x$ac_old_val" != "x$ac_new_val"; then
1265 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1266 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1267 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1268 echo "$as_me: former value: $ac_old_val" >&2;}
1269 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1270 echo "$as_me: current value: $ac_new_val" >&2;}
1271 ac_cache_corrupted=:
1274 # Pass precious variables to config.status.
1275 if test "$ac_new_set" = set; then
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1279 *) ac_arg=$ac_var=$ac_new_val ;;
1281 case " $ac_configure_args " in
1282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1283 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 if $ac_cache_corrupted; then
1288 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1289 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1290 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1291 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1292 { (exit 1); exit 1; }; }
1296 ac_cpp='$CPP $CPPFLAGS'
1297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1298 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1328 ac_config_headers="$ac_config_headers src/config.h"
1330 am__api_version="1.8"
1332 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1333 if test -f $ac_dir/install-sh; then
1335 ac_install_sh="$ac_aux_dir/install-sh -c"
1337 elif test -f $ac_dir/install.sh; then
1339 ac_install_sh="$ac_aux_dir/install.sh -c"
1341 elif test -f $ac_dir/shtool; then
1343 ac_install_sh="$ac_aux_dir/shtool install -c"
1347 if test -z "$ac_aux_dir"; then
1348 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1349 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1350 { (exit 1); exit 1; }; }
1352 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1353 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1354 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1356 # Find a good install program. We prefer a C program (faster),
1357 # so one script is as good as another. But avoid the broken or
1358 # incompatible versions:
1359 # SysV /etc/install, /usr/sbin/install
1360 # SunOS /usr/etc/install
1361 # IRIX /sbin/install
1363 # AmigaOS /C/install, which installs bootblocks on floppy discs
1364 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1365 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1366 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1367 # OS/2's system install, which has a completely different semantic
1368 # ./install, which can be erroneously created by make from ./install.sh.
1369 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1370 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1371 if test -z "$INSTALL"; then
1372 if test "${ac_cv_path_install+set}" = set; then
1373 echo $ECHO_N "(cached) $ECHO_C" >&6
1375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1379 test -z "$as_dir" && as_dir
=.
1380 # Account for people who put trailing slashes in PATH elements.
1382 .
/ | .
// |
/cC
/* | \
1383 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1384 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1387 # OSF1 and SCO ODT 3.0 have their own names for install.
1388 # Don't use installbsd from OSF since it installs stuff as root
1390 for ac_prog
in ginstall scoinst
install; do
1391 for ac_exec_ext
in '' $ac_executable_extensions; do
1392 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1393 if test $ac_prog = install &&
1394 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1395 # AIX install. It has an incompatible calling convention.
1397 elif test $ac_prog = install &&
1398 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1399 # program-specific install script used by HP pwplus--don't use.
1402 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1414 if test "${ac_cv_path_install+set}" = set; then
1415 INSTALL
=$ac_cv_path_install
1417 # As a last resort, use the slow shell script. We don't cache a
1418 # path for INSTALL within a source directory, because that will
1419 # break other packages using the cache if that directory is
1420 # removed, or if the path is relative.
1421 INSTALL
=$ac_install_sh
1424 echo "$as_me:$LINENO: result: $INSTALL" >&5
1425 echo "${ECHO_T}$INSTALL" >&6
1427 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1428 # It thinks the first close brace ends the variable substitution.
1429 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1431 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1433 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1435 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1436 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1439 echo timestamp
> conftest.
file
1440 # Do `set' in a subshell so we don't clobber the current shell's
1441 # arguments. Must try -L first in case configure is actually a
1442 # symlink; some systems play weird games with the mod time of symlinks
1443 # (eg FreeBSD returns the mod time of the symlink's containing
1446 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1447 if test "$*" = "X"; then
1449 set X
`ls -t $srcdir/configure conftest.file`
1452 if test "$*" != "X $srcdir/configure conftest.file" \
1453 && test "$*" != "X conftest.file $srcdir/configure"; then
1455 # If neither matched, then we have a broken ls. This can happen
1456 # if, for instance, CONFIG_SHELL is bash and it inherits a
1457 # broken ls alias from the environment. This has actually
1458 # happened. Such a system could not be considered "sane".
1459 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1460 alias in your environment" >&5
1461 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1462 alias in your environment" >&2;}
1463 { (exit 1); exit 1; }; }
1466 test "$2" = conftest.
file
1472 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1473 Check your system clock" >&5
1474 echo "$as_me: error: newly created file is older than distributed files!
1475 Check your system clock" >&2;}
1476 { (exit 1); exit 1; }; }
1478 echo "$as_me:$LINENO: result: yes" >&5
1479 echo "${ECHO_T}yes" >&6
1480 test "$program_prefix" != NONE
&&
1481 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1482 # Use a double $ so make ignores it.
1483 test "$program_suffix" != NONE
&&
1484 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1485 # Double any \ or $. echo might interpret backslashes.
1486 # By default was `s,x,x', remove it if useless.
1487 cat <<\_ACEOF
>conftest.
sed
1488 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1490 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1493 # expand $ac_aux_dir to an absolute path
1494 am_aux_dir
=`cd $ac_aux_dir && pwd`
1496 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1497 # Use eval to expand $SHELL
1498 if eval "$MISSING --run true"; then
1499 am_missing_run
="$MISSING --run "
1502 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1503 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1506 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1507 # Keeping the `.' argument allows $(mkdir_p) to be used without
1508 # argument. Indeed, we sometimes output rules like
1509 # $(mkdir_p) $(somedir)
1510 # where $(somedir) is conditionally defined.
1511 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1512 # expensive solution, as it forces Make to start a sub-shell.)
1513 mkdir_p
='mkdir -p -- .'
1515 # On NextStep and OpenStep, the `mkdir' command does not
1516 # recognize any option. It will interpret all options as
1517 # directories to create, and then abort because `.' already
1519 for d
in .
/-p .
/--version;
1521 test -d $d && rmdir $d
1523 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1524 if test -f "$ac_aux_dir/mkinstalldirs"; then
1525 mkdir_p
='$(mkinstalldirs)'
1527 mkdir_p
='$(install_sh) -d'
1531 for ac_prog
in gawk mawk nawk
awk
1533 # Extract the first word of "$ac_prog", so it can be a program name with args.
1534 set dummy
$ac_prog; ac_word
=$2
1535 echo "$as_me:$LINENO: checking for $ac_word" >&5
1536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1537 if test "${ac_cv_prog_AWK+set}" = set; then
1538 echo $ECHO_N "(cached) $ECHO_C" >&6
1540 if test -n "$AWK"; then
1541 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1547 test -z "$as_dir" && as_dir
=.
1548 for ac_exec_ext
in '' $ac_executable_extensions; do
1549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1550 ac_cv_prog_AWK
="$ac_prog"
1551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1560 if test -n "$AWK"; then
1561 echo "$as_me:$LINENO: result: $AWK" >&5
1562 echo "${ECHO_T}$AWK" >&6
1564 echo "$as_me:$LINENO: result: no" >&5
1565 echo "${ECHO_T}no" >&6
1568 test -n "$AWK" && break
1571 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1572 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1573 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1574 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 cat >conftest.
make <<\_ACEOF
1579 @
echo 'ac_maketemp="$(MAKE)"'
1581 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1582 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1583 if test -n "$ac_maketemp"; then
1584 eval ac_cv_prog_make_
${ac_make}_set
=yes
1586 eval ac_cv_prog_make_
${ac_make}_set
=no
1590 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1591 echo "$as_me:$LINENO: result: yes" >&5
1592 echo "${ECHO_T}yes" >&6
1595 echo "$as_me:$LINENO: result: no" >&5
1596 echo "${ECHO_T}no" >&6
1597 SET_MAKE
="MAKE=${MAKE-make}"
1600 rm -rf .tst
2>/dev
/null
1601 mkdir .tst
2>/dev
/null
1602 if test -d .tst
; then
1607 rmdir .tst
2>/dev
/null
1609 # test to see if srcdir already configured
1610 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1611 test -f $srcdir/config.status
; then
1612 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1613 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1614 { (exit 1); exit 1; }; }
1617 # test whether we have cygpath
1618 if test -z "$CYGPATH_W"; then
1619 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1620 CYGPATH_W
='cygpath -w'
1627 # Define the identity of the package.
1628 PACKAGE
='NoCatSplash'
1632 cat >>confdefs.h
<<_ACEOF
1633 #define PACKAGE "$PACKAGE"
1637 cat >>confdefs.h
<<_ACEOF
1638 #define VERSION "$VERSION"
1641 # Some tools Automake needs.
1643 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1646 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1649 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1652 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1655 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1658 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1660 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1662 # Installed binaries are usually stripped using `strip' when the user
1663 # run `make install-strip'. However `strip' might not be the right
1664 # tool to use in cross-compilation environments, therefore Automake
1665 # will honor the `STRIP' environment variable to overrule this program.
1666 if test "$cross_compiling" != no
; then
1667 if test -n "$ac_tool_prefix"; then
1668 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1669 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1670 echo "$as_me:$LINENO: checking for $ac_word" >&5
1671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1672 if test "${ac_cv_prog_STRIP+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 if test -n "$STRIP"; then
1676 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1682 test -z "$as_dir" && as_dir
=.
1683 for ac_exec_ext
in '' $ac_executable_extensions; do
1684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1685 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1694 STRIP
=$ac_cv_prog_STRIP
1695 if test -n "$STRIP"; then
1696 echo "$as_me:$LINENO: result: $STRIP" >&5
1697 echo "${ECHO_T}$STRIP" >&6
1699 echo "$as_me:$LINENO: result: no" >&5
1700 echo "${ECHO_T}no" >&6
1704 if test -z "$ac_cv_prog_STRIP"; then
1706 # Extract the first word of "strip", so it can be a program name with args.
1707 set dummy strip
; ac_word
=$2
1708 echo "$as_me:$LINENO: checking for $ac_word" >&5
1709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1710 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 if test -n "$ac_ct_STRIP"; then
1714 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1720 test -z "$as_dir" && as_dir
=.
1721 for ac_exec_ext
in '' $ac_executable_extensions; do
1722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1723 ac_cv_prog_ac_ct_STRIP
="strip"
1724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1733 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1734 if test -n "$ac_ct_STRIP"; then
1735 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1736 echo "${ECHO_T}$ac_ct_STRIP" >&6
1738 echo "$as_me:$LINENO: result: no" >&5
1739 echo "${ECHO_T}no" >&6
1744 STRIP
="$ac_cv_prog_STRIP"
1748 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1750 # We need awk for the "check" target. The system "awk" is bad on
1755 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1756 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1757 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1758 if test "${enable_maintainer_mode+set}" = set; then
1759 enableval
="$enable_maintainer_mode"
1760 USE_MAINTAINER_MODE
=$enableval
1762 USE_MAINTAINER_MODE
=no
1764 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1765 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1768 if test $USE_MAINTAINER_MODE = yes; then
1769 MAINTAINER_MODE_TRUE
=
1770 MAINTAINER_MODE_FALSE
='#'
1772 MAINTAINER_MODE_TRUE
='#'
1773 MAINTAINER_MODE_FALSE
=
1776 MAINT
=$MAINTAINER_MODE_TRUE
1780 # Checks for programs.
1782 ac_cpp
='$CPP $CPPFLAGS'
1783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1786 if test -n "$ac_tool_prefix"; then
1787 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1788 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1789 echo "$as_me:$LINENO: checking for $ac_word" >&5
1790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1791 if test "${ac_cv_prog_CC+set}" = set; then
1792 echo $ECHO_N "(cached) $ECHO_C" >&6
1794 if test -n "$CC"; then
1795 ac_cv_prog_CC
="$CC" # Let the user override the test.
1797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1801 test -z "$as_dir" && as_dir
=.
1802 for ac_exec_ext
in '' $ac_executable_extensions; do
1803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1804 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814 if test -n "$CC"; then
1815 echo "$as_me:$LINENO: result: $CC" >&5
1816 echo "${ECHO_T}$CC" >&6
1818 echo "$as_me:$LINENO: result: no" >&5
1819 echo "${ECHO_T}no" >&6
1823 if test -z "$ac_cv_prog_CC"; then
1825 # Extract the first word of "gcc", so it can be a program name with args.
1826 set dummy gcc
; ac_word
=$2
1827 echo "$as_me:$LINENO: checking for $ac_word" >&5
1828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1829 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1830 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 if test -n "$ac_ct_CC"; then
1833 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1839 test -z "$as_dir" && as_dir
=.
1840 for ac_exec_ext
in '' $ac_executable_extensions; do
1841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1842 ac_cv_prog_ac_ct_CC
="gcc"
1843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1851 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1852 if test -n "$ac_ct_CC"; then
1853 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1854 echo "${ECHO_T}$ac_ct_CC" >&6
1856 echo "$as_me:$LINENO: result: no" >&5
1857 echo "${ECHO_T}no" >&6
1865 if test -z "$CC"; then
1866 if test -n "$ac_tool_prefix"; then
1867 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1868 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1869 echo "$as_me:$LINENO: checking for $ac_word" >&5
1870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1871 if test "${ac_cv_prog_CC+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 if test -n "$CC"; then
1875 ac_cv_prog_CC
="$CC" # Let the user override the test.
1877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1881 test -z "$as_dir" && as_dir
=.
1882 for ac_exec_ext
in '' $ac_executable_extensions; do
1883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1884 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1894 if test -n "$CC"; then
1895 echo "$as_me:$LINENO: result: $CC" >&5
1896 echo "${ECHO_T}$CC" >&6
1898 echo "$as_me:$LINENO: result: no" >&5
1899 echo "${ECHO_T}no" >&6
1903 if test -z "$ac_cv_prog_CC"; then
1905 # Extract the first word of "cc", so it can be a program name with args.
1906 set dummy cc
; ac_word
=$2
1907 echo "$as_me:$LINENO: checking for $ac_word" >&5
1908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1909 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1910 echo $ECHO_N "(cached) $ECHO_C" >&6
1912 if test -n "$ac_ct_CC"; then
1913 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1919 test -z "$as_dir" && as_dir
=.
1920 for ac_exec_ext
in '' $ac_executable_extensions; do
1921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1922 ac_cv_prog_ac_ct_CC
="cc"
1923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1931 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1932 if test -n "$ac_ct_CC"; then
1933 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1934 echo "${ECHO_T}$ac_ct_CC" >&6
1936 echo "$as_me:$LINENO: result: no" >&5
1937 echo "${ECHO_T}no" >&6
1946 if test -z "$CC"; then
1947 # Extract the first word of "cc", so it can be a program name with args.
1948 set dummy cc
; ac_word
=$2
1949 echo "$as_me:$LINENO: checking for $ac_word" >&5
1950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1951 if test "${ac_cv_prog_CC+set}" = set; then
1952 echo $ECHO_N "(cached) $ECHO_C" >&6
1954 if test -n "$CC"; then
1955 ac_cv_prog_CC
="$CC" # Let the user override the test.
1958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1962 test -z "$as_dir" && as_dir
=.
1963 for ac_exec_ext
in '' $ac_executable_extensions; do
1964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1965 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1966 ac_prog_rejected
=yes
1970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1976 if test $ac_prog_rejected = yes; then
1977 # We found a bogon in the path, so make sure we never use it.
1978 set dummy
$ac_cv_prog_CC
1980 if test $# != 0; then
1981 # We chose a different compiler from the bogus one.
1982 # However, it has the same basename, so the bogon will be chosen
1983 # first if we set CC to just the basename; use the full file name.
1985 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1991 if test -n "$CC"; then
1992 echo "$as_me:$LINENO: result: $CC" >&5
1993 echo "${ECHO_T}$CC" >&6
1995 echo "$as_me:$LINENO: result: no" >&5
1996 echo "${ECHO_T}no" >&6
2000 if test -z "$CC"; then
2001 if test -n "$ac_tool_prefix"; then
2004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2005 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2006 echo "$as_me:$LINENO: checking for $ac_word" >&5
2007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2008 if test "${ac_cv_prog_CC+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 if test -n "$CC"; then
2012 ac_cv_prog_CC
="$CC" # Let the user override the test.
2014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2018 test -z "$as_dir" && as_dir
=.
2019 for ac_exec_ext
in '' $ac_executable_extensions; do
2020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2021 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 if test -n "$CC"; then
2032 echo "$as_me:$LINENO: result: $CC" >&5
2033 echo "${ECHO_T}$CC" >&6
2035 echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6
2039 test -n "$CC" && break
2042 if test -z "$CC"; then
2046 # Extract the first word of "$ac_prog", so it can be a program name with args.
2047 set dummy
$ac_prog; ac_word
=$2
2048 echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2050 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 if test -n "$ac_ct_CC"; then
2054 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir
=.
2061 for ac_exec_ext
in '' $ac_executable_extensions; do
2062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2063 ac_cv_prog_ac_ct_CC
="$ac_prog"
2064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2072 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2073 if test -n "$ac_ct_CC"; then
2074 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2075 echo "${ECHO_T}$ac_ct_CC" >&6
2077 echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6
2081 test -n "$ac_ct_CC" && break
2090 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2091 See \`config.log' for more details." >&5
2092 echo "$as_me: error: no acceptable C compiler found in \$PATH
2093 See \`config.log' for more details." >&2;}
2094 { (exit 1); exit 1; }; }
2096 # Provide some information about the compiler.
2097 echo "$as_me:$LINENO:" \
2098 "checking for C compiler version" >&5
2099 ac_compiler
=`set X $ac_compile; echo $2`
2100 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2101 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }
2105 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2106 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109 (exit $ac_status); }
2110 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2111 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); }
2116 cat >conftest.
$ac_ext <<_ACEOF
2119 cat confdefs.h
>>conftest.
$ac_ext
2120 cat >>conftest.
$ac_ext <<_ACEOF
2121 /* end confdefs.h. */
2131 ac_clean_files_save
=$ac_clean_files
2132 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2133 # Try to create an executable without -o first, disregard a.out.
2134 # It will help us diagnose broken compilers, and finding out an intuition
2136 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2137 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2138 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2139 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2140 (eval $ac_link_default) 2>&5
2142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143 (exit $ac_status); }; then
2144 # Find the output, starting from the most likely. This scheme is
2145 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2148 # Be careful to initialize this variable, since it used to be cached.
2149 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2151 # b.out is created by i960 compilers.
2152 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2154 test -f "$ac_file" ||
continue
2156 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2159 # This is the source file.
2162 # We found the default executable, but exeext='' is most
2166 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2167 # FIXME: I believe we export ac_cv_exeext for Libtool,
2168 # but it would be cool to find out if it's true. Does anybody
2169 # maintain Libtool? --akim.
2177 echo "$as_me: failed program was:" >&5
2178 sed 's/^/| /' conftest.
$ac_ext >&5
2180 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2181 See \`config.log' for more details." >&5
2182 echo "$as_me: error: C compiler cannot create executables
2183 See \`config.log' for more details." >&2;}
2184 { (exit 77); exit 77; }; }
2187 ac_exeext
=$ac_cv_exeext
2188 echo "$as_me:$LINENO: result: $ac_file" >&5
2189 echo "${ECHO_T}$ac_file" >&6
2191 # Check the compiler produces executables we can run. If not, either
2192 # the compiler is broken, or we cross compile.
2193 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2194 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2195 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2196 # If not cross compiling, check that we can run a simple program.
2197 if test "$cross_compiling" != yes; then
2198 if { ac_try
='./$ac_file'
2199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203 (exit $ac_status); }; }; then
2206 if test "$cross_compiling" = maybe
; then
2209 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2210 If you meant to cross compile, use \`--host'.
2211 See \`config.log' for more details." >&5
2212 echo "$as_me: error: cannot run C compiled programs.
2213 If you meant to cross compile, use \`--host'.
2214 See \`config.log' for more details." >&2;}
2215 { (exit 1); exit 1; }; }
2219 echo "$as_me:$LINENO: result: yes" >&5
2220 echo "${ECHO_T}yes" >&6
2222 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2223 ac_clean_files
=$ac_clean_files_save
2224 # Check the compiler produces executables we can run. If not, either
2225 # the compiler is broken, or we cross compile.
2226 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2227 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2228 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2229 echo "${ECHO_T}$cross_compiling" >&6
2231 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2232 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2234 (eval $ac_link) 2>&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; then
2238 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2239 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2240 # work properly (i.e., refer to `conftest.exe'), while it won't with
2242 for ac_file
in conftest.exe conftest conftest.
*; do
2243 test -f "$ac_file" ||
continue
2245 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2246 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2253 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2254 See \`config.log' for more details." >&5
2255 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2256 See \`config.log' for more details." >&2;}
2257 { (exit 1); exit 1; }; }
2260 rm -f conftest
$ac_cv_exeext
2261 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2262 echo "${ECHO_T}$ac_cv_exeext" >&6
2264 rm -f conftest.
$ac_ext
2265 EXEEXT
=$ac_cv_exeext
2267 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2268 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2269 if test "${ac_cv_objext+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2272 cat >conftest.
$ac_ext <<_ACEOF
2275 cat confdefs.h
>>conftest.
$ac_ext
2276 cat >>conftest.
$ac_ext <<_ACEOF
2277 /* end confdefs.h. */
2287 rm -f conftest.o conftest.obj
2288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2289 (eval $ac_compile) 2>&5
2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2292 (exit $ac_status); }; then
2293 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2295 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2296 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2301 echo "$as_me: failed program was:" >&5
2302 sed 's/^/| /' conftest.
$ac_ext >&5
2304 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2305 See \`config.log' for more details." >&5
2306 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2307 See \`config.log' for more details." >&2;}
2308 { (exit 1); exit 1; }; }
2311 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2313 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2314 echo "${ECHO_T}$ac_cv_objext" >&6
2315 OBJEXT
=$ac_cv_objext
2317 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2318 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2319 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 cat >conftest.
$ac_ext <<_ACEOF
2325 cat confdefs.h
>>conftest.
$ac_ext
2326 cat >>conftest.
$ac_ext <<_ACEOF
2327 /* end confdefs.h. */
2340 rm -f conftest.
$ac_objext
2341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2342 (eval $ac_compile) 2>conftest.er1
2344 grep -v '^ *+' conftest.er1
>conftest.err
2346 cat conftest.err
>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); } &&
2349 { ac_try
='test -z "$ac_c_werror_flag"
2350 || test ! -s conftest.err'
2351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }; } &&
2356 { ac_try
='test -s conftest.$ac_objext'
2357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }; }; then
2364 echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.
$ac_ext >&5
2369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2370 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2373 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2374 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2375 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2376 ac_test_CFLAGS
=${CFLAGS+set}
2377 ac_save_CFLAGS
=$CFLAGS
2379 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2380 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2381 if test "${ac_cv_prog_cc_g+set}" = set; then
2382 echo $ECHO_N "(cached) $ECHO_C" >&6
2384 cat >conftest.
$ac_ext <<_ACEOF
2387 cat confdefs.h
>>conftest.
$ac_ext
2388 cat >>conftest.
$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2399 rm -f conftest.
$ac_objext
2400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2401 (eval $ac_compile) 2>conftest.er1
2403 grep -v '^ *+' conftest.er1
>conftest.err
2405 cat conftest.err
>&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try
='test -z "$ac_c_werror_flag"
2409 || test ! -s conftest.err'
2410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }; } &&
2415 { ac_try
='test -s conftest.$ac_objext'
2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; }; then
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.
$ac_ext >&5
2428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2430 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2431 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2432 if test "$ac_test_CFLAGS" = set; then
2433 CFLAGS
=$ac_save_CFLAGS
2434 elif test $ac_cv_prog_cc_g = yes; then
2435 if test "$GCC" = yes; then
2441 if test "$GCC" = yes; then
2447 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2448 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2449 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2450 echo $ECHO_N "(cached) $ECHO_C" >&6
2452 ac_cv_prog_cc_stdc
=no
2454 cat >conftest.
$ac_ext <<_ACEOF
2457 cat confdefs.h
>>conftest.
$ac_ext
2458 cat >>conftest.
$ac_ext <<_ACEOF
2459 /* end confdefs.h. */
2462 #include <sys/types.h>
2463 #include <sys/stat.h>
2464 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2465 struct buf { int x; };
2466 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2467 static char *e (p, i)
2473 static char *f (char * (*g) (char **, int), char **p, ...)
2478 s = g (p, va_arg (v,int));
2483 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2484 function prototypes and stuff, but not '\xHH' hex character constants.
2485 These don't provoke an error unfortunately, instead are silently treated
2486 as 'x'. The following induces an error, until -std1 is added to get
2487 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2488 array size at least. It's necessary to write '\x00'==0 to get something
2489 that's true only with -std1. */
2490 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2492 int test (int i, double x);
2493 struct s1 {int (*f) (int a);};
2494 struct s2 {int (*f) (double a);};
2495 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2501 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2506 # Don't try gcc -ansi; that turns off useful extensions and
2507 # breaks some systems' header files.
2508 # AIX -qlanglvl=ansi
2509 # Ultrix and OSF/1 -std1
2510 # HP-UX 10.20 and later -Ae
2511 # HP-UX older versions -Aa -D_HPUX_SOURCE
2512 # SVR4 -Xc -D__EXTENSIONS__
2513 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2515 CC
="$ac_save_CC $ac_arg"
2516 rm -f conftest.
$ac_objext
2517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2518 (eval $ac_compile) 2>conftest.er1
2520 grep -v '^ *+' conftest.er1
>conftest.err
2522 cat conftest.err
>&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); } &&
2525 { ac_try
='test -z "$ac_c_werror_flag"
2526 || test ! -s conftest.err'
2527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; } &&
2532 { ac_try
='test -s conftest.$ac_objext'
2533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; }; then
2538 ac_cv_prog_cc_stdc
=$ac_arg
2541 echo "$as_me: failed program was:" >&5
2542 sed 's/^/| /' conftest.
$ac_ext >&5
2545 rm -f conftest.err conftest.
$ac_objext
2547 rm -f conftest.
$ac_ext conftest.
$ac_objext
2552 case "x$ac_cv_prog_cc_stdc" in
2554 echo "$as_me:$LINENO: result: none needed" >&5
2555 echo "${ECHO_T}none needed" >&6 ;;
2557 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2558 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2559 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2562 # Some people use a C++ compiler to compile C. Since we use `exit',
2563 # in C++ we need to declare it. In case someone uses the same compiler
2564 # for both compiling C and C++ we need to have the C++ compiler decide
2565 # the declaration of exit, since it's the most demanding environment.
2566 cat >conftest.
$ac_ext <<_ACEOF
2571 rm -f conftest.
$ac_objext
2572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2573 (eval $ac_compile) 2>conftest.er1
2575 grep -v '^ *+' conftest.er1
>conftest.err
2577 cat conftest.err
>&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); } &&
2580 { ac_try
='test -z "$ac_c_werror_flag"
2581 || test ! -s conftest.err'
2582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; } &&
2587 { ac_try
='test -s conftest.$ac_objext'
2588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); }; }; then
2593 for ac_declaration
in \
2595 'extern "C" void std::exit (int) throw (); using std::exit;' \
2596 'extern "C" void std::exit (int); using std::exit;' \
2597 'extern "C" void exit (int) throw ();' \
2598 'extern "C" void exit (int);' \
2601 cat >conftest.
$ac_ext <<_ACEOF
2604 cat confdefs.h
>>conftest.
$ac_ext
2605 cat >>conftest.
$ac_ext <<_ACEOF
2606 /* end confdefs.h. */
2617 rm -f conftest.
$ac_objext
2618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2619 (eval $ac_compile) 2>conftest.er1
2621 grep -v '^ *+' conftest.er1
>conftest.err
2623 cat conftest.err
>&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); } &&
2626 { ac_try
='test -z "$ac_c_werror_flag"
2627 || test ! -s conftest.err'
2628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); }; } &&
2633 { ac_try
='test -s conftest.$ac_objext'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; }; then
2641 echo "$as_me: failed program was:" >&5
2642 sed 's/^/| /' conftest.
$ac_ext >&5
2646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2647 cat >conftest.
$ac_ext <<_ACEOF
2650 cat confdefs.h
>>conftest.
$ac_ext
2651 cat >>conftest.
$ac_ext <<_ACEOF
2652 /* end confdefs.h. */
2662 rm -f conftest.
$ac_objext
2663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2664 (eval $ac_compile) 2>conftest.er1
2666 grep -v '^ *+' conftest.er1
>conftest.err
2668 cat conftest.err
>&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); } &&
2671 { ac_try
='test -z "$ac_c_werror_flag"
2672 || test ! -s conftest.err'
2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }; } &&
2678 { ac_try
='test -s conftest.$ac_objext'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; }; then
2686 echo "$as_me: failed program was:" >&5
2687 sed 's/^/| /' conftest.
$ac_ext >&5
2690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2693 if test -n "$ac_declaration"; then
2694 echo '#ifdef __cplusplus' >>confdefs.h
2695 echo $ac_declaration >>confdefs.h
2696 echo '#endif' >>confdefs.h
2700 echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.
$ac_ext >&5
2704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2706 ac_cpp
='$CPP $CPPFLAGS'
2707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2710 DEPDIR
="${am__leading_dot}deps"
2712 ac_config_commands
="$ac_config_commands depfiles"
2715 am_make
=${MAKE-make}
2716 cat > confinc
<< 'END'
2721 # If we don't find an include directive, just comment out the code.
2722 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2723 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2727 # First try GNU make style include.
2728 echo "include confinc" > confmf
2729 # We grep out `Entering directory' and `Leaving directory'
2730 # messages which can occur if `w' ends up in MAKEFLAGS.
2731 # In particular we don't look at `^make:' because GNU make might
2732 # be invoked under some other name (usually "gmake"), in which
2733 # case it prints its new name instead of `make'.
2734 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2739 # Now try BSD make style include.
2740 if test "$am__include" = "#"; then
2741 echo '.include "confinc"' > confmf
2742 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2743 am__include
=.include
2750 echo "$as_me:$LINENO: result: $_am_result" >&5
2751 echo "${ECHO_T}$_am_result" >&6
2752 rm -f confinc confmf
2754 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2755 if test "${enable_dependency_tracking+set}" = set; then
2756 enableval
="$enable_dependency_tracking"
2759 if test "x$enable_dependency_tracking" != xno
; then
2760 am_depcomp
="$ac_aux_dir/depcomp"
2765 if test "x$enable_dependency_tracking" != xno; then
2776 depcc
="$CC" am_compiler_list
=
2778 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2779 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2780 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2781 echo $ECHO_N "(cached) $ECHO_C" >&6
2783 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2784 # We make a subdir and do the tests there. Otherwise we can end up
2785 # making bogus files that we don't know about and never remove. For
2786 # instance it was reported that on HP-UX the gcc test will end up
2787 # making a dummy file named `D' -- because `-MD' means `put the output
2790 # Copy depcomp to subdir because otherwise we won't find it if we're
2791 # using a relative directory.
2792 cp "$am_depcomp" conftest.dir
2794 # We will build objects and dependencies in a subdirectory because
2795 # it helps to detect inapplicable dependency modes. For instance
2796 # both Tru64's cc and ICC support -MD to output dependencies as a
2797 # side effect of compilation, but ICC will put the dependencies in
2798 # the current directory while Tru64 will put them in the object
2802 am_cv_CC_dependencies_compiler_type
=none
2803 if test "$am_compiler_list" = ""; then
2804 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2806 for depmode
in $am_compiler_list; do
2807 # Setup a source with many dependencies, because some compilers
2808 # like to wrap large dependency lists on column 80 (with \), and
2809 # we should not choose a depcomp mode which is confused by this.
2811 # We need to recreate these files for each test, as the compiler may
2812 # overwrite some of them when testing with obscure command lines.
2813 # This happens at least with the AIX C compiler.
2815 for i
in 1 2 3 4 5 6; do
2816 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2817 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2818 # Solaris 8's {/usr,}/bin/sh.
2819 touch sub
/conftst
$i.h
2821 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2825 # after this tag, mechanisms are not by side-effect, so they'll
2826 # only be used when explicitly requested
2827 if test "x$enable_dependency_tracking" = xyes
; then
2835 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2836 # mode. It turns out that the SunPro C++ compiler does not properly
2837 # handle `-M -o', and we need to detect this.
2838 if depmode
=$depmode \
2839 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2840 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2841 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2842 >/dev
/null
2>conftest.err
&&
2843 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2844 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2845 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2846 # icc doesn't choke on unknown options, it will just issue warnings
2847 # (even with -Werror). So we grep stderr for any message
2848 # that says an option was ignored.
2849 if grep 'ignoring option' conftest.err
>/dev
/null
2>&1; then :; else
2850 am_cv_CC_dependencies_compiler_type
=$depmode
2859 am_cv_CC_dependencies_compiler_type
=none
2863 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2864 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2865 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2870 test "x$enable_dependency_tracking" != xno \
2871 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2873 am__fastdepCC_FALSE
='#'
2875 am__fastdepCC_TRUE
='#'
2876 am__fastdepCC_FALSE
=
2880 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2881 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2882 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2883 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 cat >conftest.
make <<\_ACEOF
2888 @
echo 'ac_maketemp="$(MAKE)"'
2890 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2891 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2892 if test -n "$ac_maketemp"; then
2893 eval ac_cv_prog_make_
${ac_make}_set
=yes
2895 eval ac_cv_prog_make_
${ac_make}_set
=no
2899 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2900 echo "$as_me:$LINENO: result: yes" >&5
2901 echo "${ECHO_T}yes" >&6
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2906 SET_MAKE
="MAKE=${MAKE-make}"
2909 if test -n "$ac_tool_prefix"; then
2910 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2911 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2912 echo "$as_me:$LINENO: checking for $ac_word" >&5
2913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2914 if test "${ac_cv_prog_RANLIB+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2917 if test -n "$RANLIB"; then
2918 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2924 test -z "$as_dir" && as_dir
=.
2925 for ac_exec_ext
in '' $ac_executable_extensions; do
2926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2927 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 RANLIB
=$ac_cv_prog_RANLIB
2937 if test -n "$RANLIB"; then
2938 echo "$as_me:$LINENO: result: $RANLIB" >&5
2939 echo "${ECHO_T}$RANLIB" >&6
2941 echo "$as_me:$LINENO: result: no" >&5
2942 echo "${ECHO_T}no" >&6
2946 if test -z "$ac_cv_prog_RANLIB"; then
2947 ac_ct_RANLIB
=$RANLIB
2948 # Extract the first word of "ranlib", so it can be a program name with args.
2949 set dummy ranlib
; ac_word
=$2
2950 echo "$as_me:$LINENO: checking for $ac_word" >&5
2951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2952 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2953 echo $ECHO_N "(cached) $ECHO_C" >&6
2955 if test -n "$ac_ct_RANLIB"; then
2956 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2962 test -z "$as_dir" && as_dir
=.
2963 for ac_exec_ext
in '' $ac_executable_extensions; do
2964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2965 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2972 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2975 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2976 if test -n "$ac_ct_RANLIB"; then
2977 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2978 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2980 echo "$as_me:$LINENO: result: no" >&5
2981 echo "${ECHO_T}no" >&6
2984 RANLIB
=$ac_ct_RANLIB
2986 RANLIB
="$ac_cv_prog_RANLIB"
2990 # Checks for libraries.
2991 # FIXME: Replace `main' with a function in `-lsplash':
2992 # AC_CHECK_LIB([splash], [http_request_new])
2995 # Check whether --with-glib-prefix or --without-glib-prefix was given.
2996 if test "${with_glib_prefix+set}" = set; then
2997 withval
="$with_glib_prefix"
2998 glib_config_prefix
="$withval"
3000 glib_config_prefix
=""
3003 # Check whether --with-glib-exec-prefix or --without-glib-exec-prefix was given.
3004 if test "${with_glib_exec_prefix+set}" = set; then
3005 withval
="$with_glib_exec_prefix"
3006 glib_config_exec_prefix
="$withval"
3008 glib_config_exec_prefix
=""
3010 # Check whether --enable-glibtest or --disable-glibtest was given.
3011 if test "${enable_glibtest+set}" = set; then
3012 enableval
="$enable_glibtest"
3018 if test x
$glib_config_exec_prefix != x
; then
3019 glib_config_args
="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
3020 if test x
${GLIB_CONFIG+set} != xset
; then
3021 GLIB_CONFIG
=$glib_config_exec_prefix/bin
/glib-config
3024 if test x
$glib_config_prefix != x
; then
3025 glib_config_args
="$glib_config_args --prefix=$glib_config_prefix"
3026 if test x
${GLIB_CONFIG+set} != xset
; then
3027 GLIB_CONFIG
=$glib_config_prefix/bin
/glib-config
3035 glib_config_args
="$glib_config_args gmodule"
3038 glib_config_args
="$glib_config_args gthread"
3043 # Extract the first word of "glib-config", so it can be a program name with args.
3044 set dummy glib-config
; ac_word
=$2
3045 echo "$as_me:$LINENO: checking for $ac_word" >&5
3046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3047 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then
3048 echo $ECHO_N "(cached) $ECHO_C" >&6
3050 case $GLIB_CONFIG in
3052 ac_cv_path_GLIB_CONFIG
="$GLIB_CONFIG" # Let the user override the test with a path.
3055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3059 test -z "$as_dir" && as_dir
=.
3060 for ac_exec_ext
in '' $ac_executable_extensions; do
3061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3062 ac_cv_path_GLIB_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3069 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG
="no"
3073 GLIB_CONFIG
=$ac_cv_path_GLIB_CONFIG
3075 if test -n "$GLIB_CONFIG"; then
3076 echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5
3077 echo "${ECHO_T}$GLIB_CONFIG" >&6
3079 echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6
3083 min_glib_version
=1.2.0
3084 echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5
3085 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6
3087 if test "$GLIB_CONFIG" = "no" ; then
3090 GLIB_CFLAGS
=`$GLIB_CONFIG $glib_config_args --cflags`
3091 GLIB_LIBS
=`$GLIB_CONFIG $glib_config_args --libs`
3092 glib_config_major_version
=`$GLIB_CONFIG $glib_config_args --version | \
3093 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3094 glib_config_minor_version
=`$GLIB_CONFIG $glib_config_args --version | \
3095 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3096 glib_config_micro_version
=`$GLIB_CONFIG $glib_config_args --version | \
3097 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3098 if test "x$enable_glibtest" = "xyes" ; then
3099 ac_save_CFLAGS
="$CFLAGS"
3100 ac_save_LIBS
="$LIBS"
3101 CFLAGS
="$CFLAGS $GLIB_CFLAGS"
3102 LIBS
="$GLIB_LIBS $LIBS"
3104 if test "$cross_compiling" = yes; then
3105 echo $ac_n "cross compiling; assumed OK... $ac_c"
3107 cat >conftest.
$ac_ext <<_ACEOF
3110 cat confdefs.h
>>conftest.
$ac_ext
3111 cat >>conftest.
$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3121 int major, minor, micro;
3124 system ("touch conf.glibtest");
3126 /* HP/UX 9 (%@#!) writes to sscanf strings */
3127 tmp_version = g_strdup("$min_glib_version");
3128 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
3129 printf("%s, bad version string\n", "$min_glib_version");
3133 if ((glib_major_version != $glib_config_major_version) ||
3134 (glib_minor_version != $glib_config_minor_version) ||
3135 (glib_micro_version != $glib_config_micro_version))
3137 printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
3138 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
3139 glib_major_version, glib_minor_version, glib_micro_version);
3140 printf ("*** was found! If glib-config was correct, then it is best\n");
3141 printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
3142 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
3143 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
3144 printf("*** required on your system.\n");
3145 printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
3146 printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
3147 printf("*** before re-running configure\n");
3149 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
3150 (glib_minor_version != GLIB_MINOR_VERSION) ||
3151 (glib_micro_version != GLIB_MICRO_VERSION))
3153 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
3154 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
3155 printf("*** library (version %d.%d.%d)\n",
3156 glib_major_version, glib_minor_version, glib_micro_version);
3160 if ((glib_major_version > major) ||
3161 ((glib_major_version == major) && (glib_minor_version > minor)) ||
3162 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
3168 printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
3169 glib_major_version, glib_minor_version, glib_micro_version);
3170 printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
3171 major, minor, micro);
3172 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
3174 printf("*** If you have already installed a sufficiently new version, this error\n");
3175 printf("*** probably means that the wrong copy of the glib-config shell script is\n");
3176 printf("*** being found. The easiest way to fix this is to remove the old version\n");
3177 printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
3178 printf("*** correct copy of glib-config. (In this case, you will have to\n");
3179 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
3180 printf("*** so that the correct libraries are found at run-time))\n");
3187 rm -f conftest
$ac_exeext
3188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3189 (eval $ac_link) 2>&5
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; }; then
3200 echo "$as_me: program exited with status $ac_status" >&5
3201 echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.
$ac_ext >&5
3207 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3209 CFLAGS
="$ac_save_CFLAGS"
3210 LIBS
="$ac_save_LIBS"
3213 if test "x$no_glib" = x
; then
3214 echo "$as_me:$LINENO: result: yes" >&5
3215 echo "${ECHO_T}yes" >&6
3218 echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3220 if test "$GLIB_CONFIG" = "no" ; then
3221 echo "*** The glib-config script installed by GLIB could not be found"
3222 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
3223 echo "*** your path, or set the GLIB_CONFIG environment variable to the"
3224 echo "*** full path to glib-config."
3226 if test -f conf.glibtest
; then
3229 echo "*** Could not run GLIB test program, checking why..."
3230 CFLAGS
="$CFLAGS $GLIB_CFLAGS"
3231 LIBS
="$LIBS $GLIB_LIBS"
3232 cat >conftest.
$ac_ext <<_ACEOF
3235 cat confdefs.h
>>conftest.
$ac_ext
3236 cat >>conftest.
$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3245 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
3250 rm -f conftest.
$ac_objext conftest
$ac_exeext
3251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3252 (eval $ac_link) 2>conftest.er1
3254 grep -v '^ *+' conftest.er1
>conftest.err
3256 cat conftest.err
>&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } &&
3259 { ac_try
='test -z "$ac_c_werror_flag"
3260 || test ! -s conftest.err'
3261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3265 (exit $ac_status); }; } &&
3266 { ac_try
='test -s conftest$ac_exeext'
3267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); }; }; then
3272 echo "*** The test program compiled, but did not run. This usually means"
3273 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
3274 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
3275 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3276 echo "*** to the installed location Also, make sure you have run ldconfig if that"
3277 echo "*** is required on your system"
3279 echo "*** If you have an old version installed, it is best to remove it, although"
3280 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
3282 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
3283 echo "*** came with the system with the command"
3285 echo "*** rpm --erase --nodeps gtk gtk-devel"
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.
$ac_ext >&5
3290 echo "*** The test program failed to compile or link. See the file config.log for the"
3291 echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
3292 echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
3293 echo "*** may want to edit the glib-config script: $GLIB_CONFIG"
3295 rm -f conftest.err conftest.
$ac_objext \
3296 conftest
$ac_exeext conftest.
$ac_ext
3297 CFLAGS
="$ac_save_CFLAGS"
3298 LIBS
="$ac_save_LIBS"
3303 { { echo "$as_me:$LINENO: error: You must have glib-1.2 installed." >&5
3304 echo "$as_me: error: You must have glib-1.2 installed." >&2;}
3305 { (exit 1); exit 1; }; }
3312 # Checks for header files.
3314 ac_cpp
='$CPP $CPPFLAGS'
3315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3318 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3319 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3320 # On Suns, sometimes $CPP names a directory.
3321 if test -n "$CPP" && test -d "$CPP"; then
3324 if test -z "$CPP"; then
3325 if test "${ac_cv_prog_CPP+set}" = set; then
3326 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 # Double quotes because CPP needs to be expanded
3329 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3332 for ac_c_preproc_warn_flag
in '' yes
3334 # Use a header file that comes with gcc, so configuring glibc
3335 # with a fresh cross-compiler works.
3336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3337 # <limits.h> exists even on freestanding compilers.
3338 # On the NeXT, cc -E runs the code through the compiler's parser,
3339 # not just through cpp. "Syntax error" is here to catch this case.
3340 cat >conftest.
$ac_ext <<_ACEOF
3343 cat confdefs.h
>>conftest.
$ac_ext
3344 cat >>conftest.
$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3347 # include <limits.h>
3349 # include <assert.h>
3353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3356 grep -v '^ *+' conftest.er1
>conftest.err
3358 cat conftest.err
>&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } >/dev
/null
; then
3361 if test -s conftest.err
; then
3362 ac_cpp_err
=$ac_c_preproc_warn_flag
3363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3370 if test -z "$ac_cpp_err"; then
3373 echo "$as_me: failed program was:" >&5
3374 sed 's/^/| /' conftest.
$ac_ext >&5
3376 # Broken: fails on valid input.
3379 rm -f conftest.err conftest.
$ac_ext
3381 # OK, works on sane cases. Now check whether non-existent headers
3382 # can be detected and how.
3383 cat >conftest.
$ac_ext <<_ACEOF
3386 cat confdefs.h
>>conftest.
$ac_ext
3387 cat >>conftest.
$ac_ext <<_ACEOF
3388 /* end confdefs.h. */
3389 #include <ac_nonexistent.h>
3391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3394 grep -v '^ *+' conftest.er1
>conftest.err
3396 cat conftest.err
>&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); } >/dev
/null
; then
3399 if test -s conftest.err
; then
3400 ac_cpp_err
=$ac_c_preproc_warn_flag
3401 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3408 if test -z "$ac_cpp_err"; then
3409 # Broken: success on invalid input.
3412 echo "$as_me: failed program was:" >&5
3413 sed 's/^/| /' conftest.
$ac_ext >&5
3415 # Passes both tests.
3419 rm -f conftest.err conftest.
$ac_ext
3422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3423 rm -f conftest.err conftest.
$ac_ext
3424 if $ac_preproc_ok; then
3436 echo "$as_me:$LINENO: result: $CPP" >&5
3437 echo "${ECHO_T}$CPP" >&6
3439 for ac_c_preproc_warn_flag
in '' yes
3441 # Use a header file that comes with gcc, so configuring glibc
3442 # with a fresh cross-compiler works.
3443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3444 # <limits.h> exists even on freestanding compilers.
3445 # On the NeXT, cc -E runs the code through the compiler's parser,
3446 # not just through cpp. "Syntax error" is here to catch this case.
3447 cat >conftest.
$ac_ext <<_ACEOF
3450 cat confdefs.h
>>conftest.
$ac_ext
3451 cat >>conftest.
$ac_ext <<_ACEOF
3452 /* end confdefs.h. */
3454 # include <limits.h>
3456 # include <assert.h>
3460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3461 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3463 grep -v '^ *+' conftest.er1
>conftest.err
3465 cat conftest.err
>&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); } >/dev
/null
; then
3468 if test -s conftest.err
; then
3469 ac_cpp_err
=$ac_c_preproc_warn_flag
3470 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3477 if test -z "$ac_cpp_err"; then
3480 echo "$as_me: failed program was:" >&5
3481 sed 's/^/| /' conftest.
$ac_ext >&5
3483 # Broken: fails on valid input.
3486 rm -f conftest.err conftest.
$ac_ext
3488 # OK, works on sane cases. Now check whether non-existent headers
3489 # can be detected and how.
3490 cat >conftest.
$ac_ext <<_ACEOF
3493 cat confdefs.h
>>conftest.
$ac_ext
3494 cat >>conftest.
$ac_ext <<_ACEOF
3495 /* end confdefs.h. */
3496 #include <ac_nonexistent.h>
3498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3501 grep -v '^ *+' conftest.er1
>conftest.err
3503 cat conftest.err
>&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); } >/dev
/null
; then
3506 if test -s conftest.err
; then
3507 ac_cpp_err
=$ac_c_preproc_warn_flag
3508 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3515 if test -z "$ac_cpp_err"; then
3516 # Broken: success on invalid input.
3519 echo "$as_me: failed program was:" >&5
3520 sed 's/^/| /' conftest.
$ac_ext >&5
3522 # Passes both tests.
3526 rm -f conftest.err conftest.
$ac_ext
3529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3530 rm -f conftest.err conftest.
$ac_ext
3531 if $ac_preproc_ok; then
3534 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3535 See \`config.log' for more details." >&5
3536 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3537 See \`config.log' for more details." >&2;}
3538 { (exit 1); exit 1; }; }
3542 ac_cpp
='$CPP $CPPFLAGS'
3543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3548 echo "$as_me:$LINENO: checking for egrep" >&5
3549 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3550 if test "${ac_cv_prog_egrep+set}" = set; then
3551 echo $ECHO_N "(cached) $ECHO_C" >&6
3553 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3554 then ac_cv_prog_egrep
='grep -E'
3555 else ac_cv_prog_egrep
='egrep'
3558 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3559 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3560 EGREP
=$ac_cv_prog_egrep
3563 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3564 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3565 if test "${ac_cv_header_stdc+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 cat >conftest.
$ac_ext <<_ACEOF
3571 cat confdefs.h
>>conftest.
$ac_ext
3572 cat >>conftest.
$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3587 rm -f conftest.
$ac_objext
3588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3589 (eval $ac_compile) 2>conftest.er1
3591 grep -v '^ *+' conftest.er1
>conftest.err
3593 cat conftest.err
>&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); } &&
3596 { ac_try
='test -z "$ac_c_werror_flag"
3597 || test ! -s conftest.err'
3598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); }; } &&
3603 { ac_try
='test -s conftest.$ac_objext'
3604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); }; }; then
3609 ac_cv_header_stdc
=yes
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.
$ac_ext >&5
3614 ac_cv_header_stdc
=no
3616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3618 if test $ac_cv_header_stdc = yes; then
3619 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3620 cat >conftest.
$ac_ext <<_ACEOF
3623 cat confdefs.h
>>conftest.
$ac_ext
3624 cat >>conftest.
$ac_ext <<_ACEOF
3625 /* end confdefs.h. */
3629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3630 $EGREP "memchr" >/dev
/null
2>&1; then
3633 ac_cv_header_stdc
=no
3639 if test $ac_cv_header_stdc = yes; then
3640 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3641 cat >conftest.
$ac_ext <<_ACEOF
3644 cat confdefs.h
>>conftest.
$ac_ext
3645 cat >>conftest.
$ac_ext <<_ACEOF
3646 /* end confdefs.h. */
3650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3651 $EGREP "free" >/dev
/null
2>&1; then
3654 ac_cv_header_stdc
=no
3660 if test $ac_cv_header_stdc = yes; then
3661 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3662 if test "$cross_compiling" = yes; then
3665 cat >conftest.
$ac_ext <<_ACEOF
3668 cat confdefs.h
>>conftest.
$ac_ext
3669 cat >>conftest.
$ac_ext <<_ACEOF
3670 /* end confdefs.h. */
3672 #if ((' ' & 0x0FF) == 0x020)
3673 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3674 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3676 # define ISLOWER(c) \
3677 (('a' <= (c) && (c) <= 'i') \
3678 || ('j' <= (c) && (c) <= 'r') \
3679 || ('s' <= (c) && (c) <= 'z'))
3680 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3683 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3688 for (i = 0; i < 256; i++)
3689 if (XOR (islower (i), ISLOWER (i))
3690 || toupper (i) != TOUPPER (i))
3695 rm -f conftest
$ac_exeext
3696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3697 (eval $ac_link) 2>&5
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); }; }; then
3708 echo "$as_me: program exited with status $ac_status" >&5
3709 echo "$as_me: failed program was:" >&5
3710 sed 's/^/| /' conftest.
$ac_ext >&5
3713 ac_cv_header_stdc
=no
3715 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3719 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3720 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3721 if test $ac_cv_header_stdc = yes; then
3723 cat >>confdefs.h
<<\_ACEOF
3724 #define STDC_HEADERS 1
3729 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3730 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
3731 if test "${ac_cv_header_sys_wait_h+set}" = set; then
3732 echo $ECHO_N "(cached) $ECHO_C" >&6
3734 cat >conftest.
$ac_ext <<_ACEOF
3737 cat confdefs.h
>>conftest.
$ac_ext
3738 cat >>conftest.
$ac_ext <<_ACEOF
3739 /* end confdefs.h. */
3740 #include <sys/types.h>
3741 #include <sys/wait.h>
3743 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
3746 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3754 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3759 rm -f conftest.
$ac_objext
3760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3761 (eval $ac_compile) 2>conftest.er1
3763 grep -v '^ *+' conftest.er1
>conftest.err
3765 cat conftest.err
>&5
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); } &&
3768 { ac_try
='test -z "$ac_c_werror_flag"
3769 || test ! -s conftest.err'
3770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); }; } &&
3775 { ac_try
='test -s conftest.$ac_objext'
3776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); }; }; then
3781 ac_cv_header_sys_wait_h
=yes
3783 echo "$as_me: failed program was:" >&5
3784 sed 's/^/| /' conftest.
$ac_ext >&5
3786 ac_cv_header_sys_wait_h
=no
3788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3790 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3791 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
3792 if test $ac_cv_header_sys_wait_h = yes; then
3794 cat >>confdefs.h
<<\_ACEOF
3795 #define HAVE_SYS_WAIT_H 1
3800 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3810 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3811 inttypes.h stdint.h unistd.h
3813 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3814 echo "$as_me:$LINENO: checking for $ac_header" >&5
3815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 cat >conftest.
$ac_ext <<_ACEOF
3822 cat confdefs.h
>>conftest.
$ac_ext
3823 cat >>conftest.
$ac_ext <<_ACEOF
3824 /* end confdefs.h. */
3825 $ac_includes_default
3827 #include <$ac_header>
3829 rm -f conftest.
$ac_objext
3830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3831 (eval $ac_compile) 2>conftest.er1
3833 grep -v '^ *+' conftest.er1
>conftest.err
3835 cat conftest.err
>&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); } &&
3838 { ac_try
='test -z "$ac_c_werror_flag"
3839 || test ! -s conftest.err'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; } &&
3845 { ac_try
='test -s conftest.$ac_objext'
3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }; }; then
3851 eval "$as_ac_Header=yes"
3853 echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.
$ac_ext >&5
3856 eval "$as_ac_Header=no"
3858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3863 cat >>confdefs.h
<<_ACEOF
3864 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3880 for ac_header
in arpa
/inet.h fcntl.h netinet
/in.h stdlib.h string.h sys
/socket.h sys
/time.h unistd.h
3882 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3884 echo "$as_me:$LINENO: checking for $ac_header" >&5
3885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3887 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3892 # Is the header compilable?
3893 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3895 cat >conftest.
$ac_ext <<_ACEOF
3898 cat confdefs.h
>>conftest.
$ac_ext
3899 cat >>conftest.
$ac_ext <<_ACEOF
3900 /* end confdefs.h. */
3901 $ac_includes_default
3902 #include <$ac_header>
3904 rm -f conftest.
$ac_objext
3905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3906 (eval $ac_compile) 2>conftest.er1
3908 grep -v '^ *+' conftest.er1
>conftest.err
3910 cat conftest.err
>&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); } &&
3913 { ac_try
='test -z "$ac_c_werror_flag"
3914 || test ! -s conftest.err'
3915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); }; } &&
3920 { ac_try
='test -s conftest.$ac_objext'
3921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); }; }; then
3926 ac_header_compiler
=yes
3928 echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.
$ac_ext >&5
3931 ac_header_compiler
=no
3933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3935 echo "${ECHO_T}$ac_header_compiler" >&6
3937 # Is the header present?
3938 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3940 cat >conftest.
$ac_ext <<_ACEOF
3943 cat confdefs.h
>>conftest.
$ac_ext
3944 cat >>conftest.
$ac_ext <<_ACEOF
3945 /* end confdefs.h. */
3946 #include <$ac_header>
3948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3949 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3951 grep -v '^ *+' conftest.er1
>conftest.err
3953 cat conftest.err
>&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); } >/dev
/null
; then
3956 if test -s conftest.err
; then
3957 ac_cpp_err
=$ac_c_preproc_warn_flag
3958 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3965 if test -z "$ac_cpp_err"; then
3966 ac_header_preproc
=yes
3968 echo "$as_me: failed program was:" >&5
3969 sed 's/^/| /' conftest.
$ac_ext >&5
3971 ac_header_preproc
=no
3973 rm -f conftest.err conftest.
$ac_ext
3974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3975 echo "${ECHO_T}$ac_header_preproc" >&6
3977 # So? What about this header?
3978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3983 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3984 ac_header_preproc
=yes
3987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3991 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3992 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3993 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3994 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3997 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3998 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4001 ## --------------------------------- ##
4002 ## Report this to schuyler@nocat.net ##
4003 ## --------------------------------- ##
4006 sed "s/^/$as_me: WARNING: /" >&2
4009 echo "$as_me:$LINENO: checking for $ac_header" >&5
4010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4012 echo $ECHO_N "(cached) $ECHO_C" >&6
4014 eval "$as_ac_Header=\$ac_header_preproc"
4016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4021 cat >>confdefs.h
<<_ACEOF
4022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4030 # Checks for typedefs, structures, and compiler characteristics.
4031 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4032 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4033 if test "${ac_cv_c_const+set}" = set; then
4034 echo $ECHO_N "(cached) $ECHO_C" >&6
4036 cat >conftest.
$ac_ext <<_ACEOF
4039 cat confdefs.h
>>conftest.
$ac_ext
4040 cat >>conftest.
$ac_ext <<_ACEOF
4041 /* end confdefs.h. */
4046 /* FIXME: Include the comments suggested by Paul. */
4048 /* Ultrix mips cc rejects this. */
4049 typedef int charset[2];
4051 /* SunOS 4.1.1 cc rejects this. */
4052 char const *const *ccp;
4054 /* NEC SVR4.0.2 mips cc rejects this. */
4055 struct point {int x, y;};
4056 static struct point const zero = {0,0};
4057 /* AIX XL C 1.02.0.0 rejects this.
4058 It does not let you subtract one const X* pointer from another in
4059 an arm of an if-expression whose if-part is not a constant
4061 const char *g = "string";
4062 ccp = &g + (g ? g-g : 0);
4063 /* HPUX 7.0 cc rejects these. */
4066 ccp = (char const *const *) p;
4067 { /* SCO 3.2v4 cc rejects this. */
4069 char const *s = 0 ? (char *) 0 : (char const *) 0;
4073 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4075 const int *foo = &x[0];
4078 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4079 typedef const int *iptr;
4083 { /* AIX XL C 1.02.0.0 rejects this saying
4084 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4085 struct s { int j; const int *ap[3]; };
4086 struct s *b; b->j = 5;
4088 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4097 rm -f conftest.
$ac_objext
4098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4099 (eval $ac_compile) 2>conftest.er1
4101 grep -v '^ *+' conftest.er1
>conftest.err
4103 cat conftest.err
>&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); } &&
4106 { ac_try
='test -z "$ac_c_werror_flag"
4107 || test ! -s conftest.err'
4108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); }; } &&
4113 { ac_try
='test -s conftest.$ac_objext'
4114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); }; }; then
4121 echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.
$ac_ext >&5
4126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4128 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4129 echo "${ECHO_T}$ac_cv_c_const" >&6
4130 if test $ac_cv_c_const = no
; then
4132 cat >>confdefs.h
<<\_ACEOF
4138 echo "$as_me:$LINENO: checking for off_t" >&5
4139 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4140 if test "${ac_cv_type_off_t+set}" = set; then
4141 echo $ECHO_N "(cached) $ECHO_C" >&6
4143 cat >conftest.
$ac_ext <<_ACEOF
4146 cat confdefs.h
>>conftest.
$ac_ext
4147 cat >>conftest.
$ac_ext <<_ACEOF
4148 /* end confdefs.h. */
4149 $ac_includes_default
4161 rm -f conftest.
$ac_objext
4162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4163 (eval $ac_compile) 2>conftest.er1
4165 grep -v '^ *+' conftest.er1
>conftest.err
4167 cat conftest.err
>&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); } &&
4170 { ac_try
='test -z "$ac_c_werror_flag"
4171 || test ! -s conftest.err'
4172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); }; } &&
4177 { ac_try
='test -s conftest.$ac_objext'
4178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); }; }; then
4183 ac_cv_type_off_t
=yes
4185 echo "$as_me: failed program was:" >&5
4186 sed 's/^/| /' conftest.
$ac_ext >&5
4190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4192 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4193 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4194 if test $ac_cv_type_off_t = yes; then
4198 cat >>confdefs.h
<<_ACEOF
4204 echo "$as_me:$LINENO: checking for pid_t" >&5
4205 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
4206 if test "${ac_cv_type_pid_t+set}" = set; then
4207 echo $ECHO_N "(cached) $ECHO_C" >&6
4209 cat >conftest.
$ac_ext <<_ACEOF
4212 cat confdefs.h
>>conftest.
$ac_ext
4213 cat >>conftest.
$ac_ext <<_ACEOF
4214 /* end confdefs.h. */
4215 $ac_includes_default
4227 rm -f conftest.
$ac_objext
4228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4229 (eval $ac_compile) 2>conftest.er1
4231 grep -v '^ *+' conftest.er1
>conftest.err
4233 cat conftest.err
>&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); } &&
4236 { ac_try
='test -z "$ac_c_werror_flag"
4237 || test ! -s conftest.err'
4238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242 (exit $ac_status); }; } &&
4243 { ac_try
='test -s conftest.$ac_objext'
4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); }; }; then
4249 ac_cv_type_pid_t
=yes
4251 echo "$as_me: failed program was:" >&5
4252 sed 's/^/| /' conftest.
$ac_ext >&5
4256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4258 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4259 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4260 if test $ac_cv_type_pid_t = yes; then
4264 cat >>confdefs.h
<<_ACEOF
4271 # Checks for library functions.
4274 for ac_header
in unistd.h vfork.h
4276 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4278 echo "$as_me:$LINENO: checking for $ac_header" >&5
4279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4281 echo $ECHO_N "(cached) $ECHO_C" >&6
4283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4286 # Is the header compilable?
4287 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4288 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4289 cat >conftest.
$ac_ext <<_ACEOF
4292 cat confdefs.h
>>conftest.
$ac_ext
4293 cat >>conftest.
$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4295 $ac_includes_default
4296 #include <$ac_header>
4298 rm -f conftest.
$ac_objext
4299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4300 (eval $ac_compile) 2>conftest.er1
4302 grep -v '^ *+' conftest.er1
>conftest.err
4304 cat conftest.err
>&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); } &&
4307 { ac_try
='test -z "$ac_c_werror_flag"
4308 || test ! -s conftest.err'
4309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); }; } &&
4314 { ac_try
='test -s conftest.$ac_objext'
4315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319 (exit $ac_status); }; }; then
4320 ac_header_compiler
=yes
4322 echo "$as_me: failed program was:" >&5
4323 sed 's/^/| /' conftest.
$ac_ext >&5
4325 ac_header_compiler
=no
4327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4328 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4329 echo "${ECHO_T}$ac_header_compiler" >&6
4331 # Is the header present?
4332 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4333 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4334 cat >conftest.
$ac_ext <<_ACEOF
4337 cat confdefs.h
>>conftest.
$ac_ext
4338 cat >>conftest.
$ac_ext <<_ACEOF
4339 /* end confdefs.h. */
4340 #include <$ac_header>
4342 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4343 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4345 grep -v '^ *+' conftest.er1
>conftest.err
4347 cat conftest.err
>&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); } >/dev
/null
; then
4350 if test -s conftest.err
; then
4351 ac_cpp_err
=$ac_c_preproc_warn_flag
4352 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4359 if test -z "$ac_cpp_err"; then
4360 ac_header_preproc
=yes
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.
$ac_ext >&5
4365 ac_header_preproc
=no
4367 rm -f conftest.err conftest.
$ac_ext
4368 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4369 echo "${ECHO_T}$ac_header_preproc" >&6
4371 # So? What about this header?
4372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4374 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4375 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4377 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4378 ac_header_preproc
=yes
4381 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4382 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4383 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4384 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4385 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4386 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4387 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4388 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4390 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4391 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4392 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4395 ## --------------------------------- ##
4396 ## Report this to schuyler@nocat.net ##
4397 ## --------------------------------- ##
4400 sed "s/^/$as_me: WARNING: /" >&2
4403 echo "$as_me:$LINENO: checking for $ac_header" >&5
4404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4406 echo $ECHO_N "(cached) $ECHO_C" >&6
4408 eval "$as_ac_Header=\$ac_header_preproc"
4410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4415 cat >>confdefs.h
<<_ACEOF
4416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4425 for ac_func
in fork vfork
4427 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4428 echo "$as_me:$LINENO: checking for $ac_func" >&5
4429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4430 if eval "test \"\${$as_ac_var+set}\" = set"; then
4431 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 cat >conftest.
$ac_ext <<_ACEOF
4436 cat confdefs.h
>>conftest.
$ac_ext
4437 cat >>conftest.
$ac_ext <<_ACEOF
4438 /* end confdefs.h. */
4439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4441 #define $ac_func innocuous_$ac_func
4443 /* System header to define __stub macros and hopefully few prototypes,
4444 which can conflict with char $ac_func (); below.
4445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4446 <limits.h> exists even on freestanding compilers. */
4449 # include <limits.h>
4451 # include <assert.h>
4456 /* Override any gcc2 internal prototype to avoid an error. */
4461 /* We use char because int might match the return type of a gcc2
4462 builtin and then its argument prototype would still apply. */
4464 /* The GNU C library defines this for functions which it implements
4465 to always fail with ENOSYS. Some functions are actually named
4466 something starting with __ and the normal name is an alias. */
4467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4470 char (*f) () = $ac_func;
4479 return f != $ac_func;
4484 rm -f conftest.
$ac_objext conftest
$ac_exeext
4485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4486 (eval $ac_link) 2>conftest.er1
4488 grep -v '^ *+' conftest.er1
>conftest.err
4490 cat conftest.err
>&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); } &&
4493 { ac_try
='test -z "$ac_c_werror_flag"
4494 || test ! -s conftest.err'
4495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); }; } &&
4500 { ac_try
='test -s conftest$ac_exeext'
4501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; }; then
4506 eval "$as_ac_var=yes"
4508 echo "$as_me: failed program was:" >&5
4509 sed 's/^/| /' conftest.
$ac_ext >&5
4511 eval "$as_ac_var=no"
4513 rm -f conftest.err conftest.
$ac_objext \
4514 conftest
$ac_exeext conftest.
$ac_ext
4516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4518 if test `eval echo '${'$as_ac_var'}'` = yes; then
4519 cat >>confdefs.h
<<_ACEOF
4520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4526 if test "x$ac_cv_func_fork" = xyes
; then
4527 echo "$as_me:$LINENO: checking for working fork" >&5
4528 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
4529 if test "${ac_cv_func_fork_works+set}" = set; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 if test "$cross_compiling" = yes; then
4533 ac_cv_func_fork_works
=cross
4535 cat >conftest.
$ac_ext <<_ACEOF
4536 /* By Ruediger Kuhlmann. */
4537 #include <sys/types.h>
4539 # include <unistd.h>
4541 /* Some systems only have a dummy stub for fork() */
4549 rm -f conftest
$ac_exeext
4550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4551 (eval $ac_link) 2>&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); }; }; then
4560 ac_cv_func_fork_works
=yes
4562 echo "$as_me: program exited with status $ac_status" >&5
4563 echo "$as_me: failed program was:" >&5
4564 sed 's/^/| /' conftest.
$ac_ext >&5
4567 ac_cv_func_fork_works
=no
4569 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4572 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
4573 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
4576 ac_cv_func_fork_works
=$ac_cv_func_fork
4578 if test "x$ac_cv_func_fork_works" = xcross
; then
4580 *-*-amigaos* |
*-*-msdosdjgpp*)
4581 # Override, as these systems have only a dummy fork() stub
4582 ac_cv_func_fork_works
=no
4585 ac_cv_func_fork_works
=yes
4588 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
4589 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
4591 ac_cv_func_vfork_works
=$ac_cv_func_vfork
4592 if test "x$ac_cv_func_vfork" = xyes
; then
4593 echo "$as_me:$LINENO: checking for working vfork" >&5
4594 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
4595 if test "${ac_cv_func_vfork_works+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4598 if test "$cross_compiling" = yes; then
4599 ac_cv_func_vfork_works
=cross
4601 cat >conftest.
$ac_ext <<_ACEOF
4604 cat confdefs.h
>>conftest.
$ac_ext
4605 cat >>conftest.
$ac_ext <<_ACEOF
4606 /* end confdefs.h. */
4607 /* Thanks to Paul Eggert for this test. */
4610 #include <sys/types.h>
4611 #include <sys/stat.h>
4612 #include <sys/wait.h>
4614 # include <unistd.h>
4619 /* On some sparc systems, changes by the child to local and incoming
4620 argument registers are propagated back to the parent. The compiler
4621 is told about this with #include <vfork.h>, but some compilers
4622 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
4623 static variable whose address is put into a register that is
4624 clobbered by the vfork. */
4627 sparc_address_test (int arg)
4629 sparc_address_test (arg) int arg;
4650 pid_t parent = getpid ();
4653 sparc_address_test (0);
4658 /* Here is another test for sparc vfork register problems. This
4659 test uses lots of local variables, at least as many local
4660 variables as main has allocated so far including compiler
4661 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
4662 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
4663 reuse the register of parent for one of the local variables,
4664 since it will think that parent can't possibly be used any more
4665 in this routine. Assigning to the local variable will thus
4666 munge parent in the parent process. */
4668 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
4669 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
4670 /* Convince the compiler that p..p7 are live; otherwise, it might
4671 use the same hardware register for all 8 local variables. */
4672 if (p != p1 || p != p2 || p != p3 || p != p4
4673 || p != p5 || p != p6 || p != p7)
4676 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
4677 from child file descriptors. If the child closes a descriptor
4678 before it execs or exits, this munges the parent's descriptor
4679 as well. Test for this by closing stdout in the child. */
4680 _exit(close(fileno(stdout)) != 0);
4685 while (wait(&status) != child)
4688 /* Was there some problem with vforking? */
4691 /* Did the child fail? (This shouldn't happen.) */
4694 /* Did the vfork/compiler bug occur? */
4695 || parent != getpid()
4697 /* Did the file descriptor bug occur? */
4698 || fstat(fileno(stdout), &st) != 0
4703 rm -f conftest
$ac_exeext
4704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4705 (eval $ac_link) 2>&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); }; }; then
4714 ac_cv_func_vfork_works
=yes
4716 echo "$as_me: program exited with status $ac_status" >&5
4717 echo "$as_me: failed program was:" >&5
4718 sed 's/^/| /' conftest.
$ac_ext >&5
4721 ac_cv_func_vfork_works
=no
4723 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4726 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
4727 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
4730 if test "x$ac_cv_func_fork_works" = xcross
; then
4731 ac_cv_func_vfork_works
=$ac_cv_func_vfork
4732 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
4733 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
4736 if test "x$ac_cv_func_vfork_works" = xyes
; then
4738 cat >>confdefs.h
<<\_ACEOF
4739 #define HAVE_WORKING_VFORK 1
4744 cat >>confdefs.h
<<\_ACEOF
4749 if test "x$ac_cv_func_fork_works" = xyes
; then
4751 cat >>confdefs.h
<<\_ACEOF
4752 #define HAVE_WORKING_FORK 1
4759 for ac_header
in stdlib.h unistd.h
4761 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4763 echo "$as_me:$LINENO: checking for $ac_header" >&5
4764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4766 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4771 # Is the header compilable?
4772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4774 cat >conftest.
$ac_ext <<_ACEOF
4777 cat confdefs.h
>>conftest.
$ac_ext
4778 cat >>conftest.
$ac_ext <<_ACEOF
4779 /* end confdefs.h. */
4780 $ac_includes_default
4781 #include <$ac_header>
4783 rm -f conftest.
$ac_objext
4784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4785 (eval $ac_compile) 2>conftest.er1
4787 grep -v '^ *+' conftest.er1
>conftest.err
4789 cat conftest.err
>&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); } &&
4792 { ac_try
='test -z "$ac_c_werror_flag"
4793 || test ! -s conftest.err'
4794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); }; } &&
4799 { ac_try
='test -s conftest.$ac_objext'
4800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; }; then
4805 ac_header_compiler
=yes
4807 echo "$as_me: failed program was:" >&5
4808 sed 's/^/| /' conftest.
$ac_ext >&5
4810 ac_header_compiler
=no
4812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4813 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4814 echo "${ECHO_T}$ac_header_compiler" >&6
4816 # Is the header present?
4817 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4818 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4819 cat >conftest.
$ac_ext <<_ACEOF
4822 cat confdefs.h
>>conftest.
$ac_ext
4823 cat >>conftest.
$ac_ext <<_ACEOF
4824 /* end confdefs.h. */
4825 #include <$ac_header>
4827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4828 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4830 grep -v '^ *+' conftest.er1
>conftest.err
4832 cat conftest.err
>&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } >/dev
/null
; then
4835 if test -s conftest.err
; then
4836 ac_cpp_err
=$ac_c_preproc_warn_flag
4837 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4844 if test -z "$ac_cpp_err"; then
4845 ac_header_preproc
=yes
4847 echo "$as_me: failed program was:" >&5
4848 sed 's/^/| /' conftest.
$ac_ext >&5
4850 ac_header_preproc
=no
4852 rm -f conftest.err conftest.
$ac_ext
4853 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4854 echo "${ECHO_T}$ac_header_preproc" >&6
4856 # So? What about this header?
4857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4859 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4860 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4862 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4863 ac_header_preproc
=yes
4866 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4867 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4868 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4869 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4870 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4871 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4872 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4873 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4876 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4877 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4880 ## --------------------------------- ##
4881 ## Report this to schuyler@nocat.net ##
4882 ## --------------------------------- ##
4885 sed "s/^/$as_me: WARNING: /" >&2
4888 echo "$as_me:$LINENO: checking for $ac_header" >&5
4889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4893 eval "$as_ac_Header=\$ac_header_preproc"
4895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4900 cat >>confdefs.h
<<_ACEOF
4901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4909 for ac_func
in getpagesize
4911 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4912 echo "$as_me:$LINENO: checking for $ac_func" >&5
4913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4914 if eval "test \"\${$as_ac_var+set}\" = set"; then
4915 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 cat >conftest.
$ac_ext <<_ACEOF
4920 cat confdefs.h
>>conftest.
$ac_ext
4921 cat >>conftest.
$ac_ext <<_ACEOF
4922 /* end confdefs.h. */
4923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4925 #define $ac_func innocuous_$ac_func
4927 /* System header to define __stub macros and hopefully few prototypes,
4928 which can conflict with char $ac_func (); below.
4929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4930 <limits.h> exists even on freestanding compilers. */
4933 # include <limits.h>
4935 # include <assert.h>
4940 /* Override any gcc2 internal prototype to avoid an error. */
4945 /* We use char because int might match the return type of a gcc2
4946 builtin and then its argument prototype would still apply. */
4948 /* The GNU C library defines this for functions which it implements
4949 to always fail with ENOSYS. Some functions are actually named
4950 something starting with __ and the normal name is an alias. */
4951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4954 char (*f) () = $ac_func;
4963 return f != $ac_func;
4968 rm -f conftest.
$ac_objext conftest
$ac_exeext
4969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4970 (eval $ac_link) 2>conftest.er1
4972 grep -v '^ *+' conftest.er1
>conftest.err
4974 cat conftest.err
>&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); } &&
4977 { ac_try
='test -z "$ac_c_werror_flag"
4978 || test ! -s conftest.err'
4979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); }; } &&
4984 { ac_try
='test -s conftest$ac_exeext'
4985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); }; }; then
4990 eval "$as_ac_var=yes"
4992 echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.
$ac_ext >&5
4995 eval "$as_ac_var=no"
4997 rm -f conftest.err conftest.
$ac_objext \
4998 conftest
$ac_exeext conftest.
$ac_ext
5000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5002 if test `eval echo '${'$as_ac_var'}'` = yes; then
5003 cat >>confdefs.h
<<_ACEOF
5004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5010 echo "$as_me:$LINENO: checking for working mmap" >&5
5011 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5012 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5015 if test "$cross_compiling" = yes; then
5016 ac_cv_func_mmap_fixed_mapped
=no
5018 cat >conftest.
$ac_ext <<_ACEOF
5021 cat confdefs.h
>>conftest.
$ac_ext
5022 cat >>conftest.
$ac_ext <<_ACEOF
5023 /* end confdefs.h. */
5024 $ac_includes_default
5025 /* malloc might have been renamed as rpl_malloc. */
5028 /* Thanks to Mike Haertel and Jim Avera for this test.
5029 Here is a matrix of mmap possibilities:
5030 mmap private not fixed
5031 mmap private fixed at somewhere currently unmapped
5032 mmap private fixed at somewhere already mapped
5033 mmap shared not fixed
5034 mmap shared fixed at somewhere currently unmapped
5035 mmap shared fixed at somewhere already mapped
5036 For private mappings, we should verify that changes cannot be read()
5037 back from the file, nor mmap's back from the file at a different
5038 address. (There have been systems where private was not correctly
5039 implemented like the infamous i386 svr4.0, and systems where the
5040 VM page cache was not coherent with the file system buffer cache
5041 like early versions of FreeBSD and possibly contemporary NetBSD.)
5042 For shared mappings, we should conversely verify that changes get
5043 propagated back to all the places they're supposed to be.
5045 Grep wants private fixed already mapped.
5046 The main things grep needs to know about mmap are:
5047 * does it exist and is it safe to write into the mmap'd area
5048 * how to use it (BSD variants) */
5051 #include <sys/mman.h>
5053 #if !STDC_HEADERS && !HAVE_STDLIB_H
5057 /* This mess was copied from the GNU getpagesize.h. */
5058 #if !HAVE_GETPAGESIZE
5059 /* Assume that all systems that can run configure have sys/param.h. */
5060 # if !HAVE_SYS_PARAM_H
5061 # define HAVE_SYS_PARAM_H 1
5064 # ifdef _SC_PAGESIZE
5065 # define getpagesize() sysconf(_SC_PAGESIZE)
5066 # else /* no _SC_PAGESIZE */
5067 # if HAVE_SYS_PARAM_H
5068 # include <sys/param.h>
5069 # ifdef EXEC_PAGESIZE
5070 # define getpagesize() EXEC_PAGESIZE
5071 # else /* no EXEC_PAGESIZE */
5073 # define getpagesize() NBPG * CLSIZE
5076 # endif /* no CLSIZE */
5077 # else /* no NBPG */
5079 # define getpagesize() NBPC
5080 # else /* no NBPC */
5082 # define getpagesize() PAGESIZE
5083 # endif /* PAGESIZE */
5084 # endif /* no NBPC */
5085 # endif /* no NBPG */
5086 # endif /* no EXEC_PAGESIZE */
5087 # else /* no HAVE_SYS_PARAM_H */
5088 # define getpagesize() 8192 /* punt totally */
5089 # endif /* no HAVE_SYS_PARAM_H */
5090 # endif /* no _SC_PAGESIZE */
5092 #endif /* no HAVE_GETPAGESIZE */
5097 char *data, *data2, *data3;
5101 pagesize = getpagesize ();
5103 /* First, make a file with some known garbage in it. */
5104 data = (char *) malloc (pagesize);
5107 for (i = 0; i < pagesize; ++i)
5108 *(data + i) = rand ();
5110 fd = creat ("conftest.mmap", 0600);
5113 if (write (fd, data, pagesize) != pagesize)
5117 /* Next, try to mmap the file at a fixed address which already has
5118 something else allocated at it. If we can, also make sure that
5119 we see the same garbage. */
5120 fd = open ("conftest.mmap", O_RDWR);
5123 data2 = (char *) malloc (2 * pagesize);
5126 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5127 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5128 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5130 for (i = 0; i < pagesize; ++i)
5131 if (*(data + i) != *(data2 + i))
5134 /* Finally, make sure that changes to the mapped area do not
5135 percolate back to the file as seen by read(). (This is a bug on
5136 some variants of i386 svr4.0.) */
5137 for (i = 0; i < pagesize; ++i)
5138 *(data2 + i) = *(data2 + i) + 1;
5139 data3 = (char *) malloc (pagesize);
5142 if (read (fd, data3, pagesize) != pagesize)
5144 for (i = 0; i < pagesize; ++i)
5145 if (*(data + i) != *(data3 + i))
5151 rm -f conftest
$ac_exeext
5152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5153 (eval $ac_link) 2>&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); }; }; then
5162 ac_cv_func_mmap_fixed_mapped
=yes
5164 echo "$as_me: program exited with status $ac_status" >&5
5165 echo "$as_me: failed program was:" >&5
5166 sed 's/^/| /' conftest.
$ac_ext >&5
5169 ac_cv_func_mmap_fixed_mapped
=no
5171 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5174 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5175 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5176 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5178 cat >>confdefs.h
<<\_ACEOF
5185 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5186 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5187 if test "${ac_cv_type_signal+set}" = set; then
5188 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 cat >conftest.
$ac_ext <<_ACEOF
5193 cat confdefs.h
>>conftest.
$ac_ext
5194 cat >>conftest.
$ac_ext <<_ACEOF
5195 /* end confdefs.h. */
5196 #include <sys/types.h>
5202 extern "C" void (*signal (int, void (*)(int)))(int);
5204 void (*signal ()) ();
5215 rm -f conftest.
$ac_objext
5216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5217 (eval $ac_compile) 2>conftest.er1
5219 grep -v '^ *+' conftest.er1
>conftest.err
5221 cat conftest.err
>&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); } &&
5224 { ac_try
='test -z "$ac_c_werror_flag"
5225 || test ! -s conftest.err'
5226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); }; } &&
5231 { ac_try
='test -s conftest.$ac_objext'
5232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); }; }; then
5237 ac_cv_type_signal
=void
5239 echo "$as_me: failed program was:" >&5
5240 sed 's/^/| /' conftest.
$ac_ext >&5
5242 ac_cv_type_signal
=int
5244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5246 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5247 echo "${ECHO_T}$ac_cv_type_signal" >&6
5249 cat >>confdefs.h
<<_ACEOF
5250 #define RETSIGTYPE $ac_cv_type_signal
5254 echo "$as_me:$LINENO: checking for working strtod" >&5
5255 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
5256 if test "${ac_cv_func_strtod+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5259 if test "$cross_compiling" = yes; then
5260 ac_cv_func_strtod
=no
5262 cat >conftest.
$ac_ext <<_ACEOF
5265 cat confdefs.h
>>conftest.
$ac_ext
5266 cat >>conftest.
$ac_ext <<_ACEOF
5267 /* end confdefs.h. */
5274 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
5275 char *string = " +69";
5278 value = strtod (string, &term);
5279 if (value != 69 || term != (string + 4))
5284 /* Under Solaris 2.4, strtod returns the wrong value for the
5285 terminating character under some conditions. */
5286 char *string = "NaN";
5288 strtod (string, &term);
5289 if (term != string && *(term - 1) == 0)
5296 rm -f conftest
$ac_exeext
5297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5298 (eval $ac_link) 2>&5
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); }; }; then
5307 ac_cv_func_strtod
=yes
5309 echo "$as_me: program exited with status $ac_status" >&5
5310 echo "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.
$ac_ext >&5
5314 ac_cv_func_strtod
=no
5316 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5319 echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
5320 echo "${ECHO_T}$ac_cv_func_strtod" >&6
5321 if test $ac_cv_func_strtod = no
; then
5323 "strtod.$ac_objext" | \
5324 *" strtod.$ac_objext" | \
5325 "strtod.$ac_objext "* | \
5326 *" strtod.$ac_objext "* ) ;;
5327 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext" ;;
5330 echo "$as_me:$LINENO: checking for pow" >&5
5331 echo $ECHO_N "checking for pow... $ECHO_C" >&6
5332 if test "${ac_cv_func_pow+set}" = set; then
5333 echo $ECHO_N "(cached) $ECHO_C" >&6
5335 cat >conftest.
$ac_ext <<_ACEOF
5338 cat confdefs.h
>>conftest.
$ac_ext
5339 cat >>conftest.
$ac_ext <<_ACEOF
5340 /* end confdefs.h. */
5341 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
5342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5343 #define pow innocuous_pow
5345 /* System header to define __stub macros and hopefully few prototypes,
5346 which can conflict with char pow (); below.
5347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5348 <limits.h> exists even on freestanding compilers. */
5351 # include <limits.h>
5353 # include <assert.h>
5358 /* Override any gcc2 internal prototype to avoid an error. */
5363 /* We use char because int might match the return type of a gcc2
5364 builtin and then its argument prototype would still apply. */
5366 /* The GNU C library defines this for functions which it implements
5367 to always fail with ENOSYS. Some functions are actually named
5368 something starting with __ and the normal name is an alias. */
5369 #if defined (__stub_pow) || defined (__stub___pow)
5386 rm -f conftest.
$ac_objext conftest
$ac_exeext
5387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5388 (eval $ac_link) 2>conftest.er1
5390 grep -v '^ *+' conftest.er1
>conftest.err
5392 cat conftest.err
>&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); } &&
5395 { ac_try
='test -z "$ac_c_werror_flag"
5396 || test ! -s conftest.err'
5397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); }; } &&
5402 { ac_try
='test -s conftest$ac_exeext'
5403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407 (exit $ac_status); }; }; then
5410 echo "$as_me: failed program was:" >&5
5411 sed 's/^/| /' conftest.
$ac_ext >&5
5415 rm -f conftest.err conftest.
$ac_objext \
5416 conftest
$ac_exeext conftest.
$ac_ext
5418 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
5419 echo "${ECHO_T}$ac_cv_func_pow" >&6
5421 if test $ac_cv_func_pow = no
; then
5422 echo "$as_me:$LINENO: checking for pow in -lm" >&5
5423 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
5424 if test "${ac_cv_lib_m_pow+set}" = set; then
5425 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 ac_check_lib_save_LIBS
=$LIBS
5429 cat >conftest.
$ac_ext <<_ACEOF
5432 cat confdefs.h
>>conftest.
$ac_ext
5433 cat >>conftest.
$ac_ext <<_ACEOF
5434 /* end confdefs.h. */
5436 /* Override any gcc2 internal prototype to avoid an error. */
5440 /* We use char because int might match the return type of a gcc2
5441 builtin and then its argument prototype would still apply. */
5451 rm -f conftest.
$ac_objext conftest
$ac_exeext
5452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5453 (eval $ac_link) 2>conftest.er1
5455 grep -v '^ *+' conftest.er1
>conftest.err
5457 cat conftest.err
>&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); } &&
5460 { ac_try
='test -z "$ac_c_werror_flag"
5461 || test ! -s conftest.err'
5462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466 (exit $ac_status); }; } &&
5467 { ac_try
='test -s conftest$ac_exeext'
5468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472 (exit $ac_status); }; }; then
5475 echo "$as_me: failed program was:" >&5
5476 sed 's/^/| /' conftest.
$ac_ext >&5
5480 rm -f conftest.err conftest.
$ac_objext \
5481 conftest
$ac_exeext conftest.
$ac_ext
5482 LIBS
=$ac_check_lib_save_LIBS
5484 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
5485 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
5486 if test $ac_cv_lib_m_pow = yes; then
5489 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
5490 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
5504 for ac_func
in munmap socket strchr strcspn strrchr strstr strtol
5506 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5507 echo "$as_me:$LINENO: checking for $ac_func" >&5
5508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5509 if eval "test \"\${$as_ac_var+set}\" = set"; then
5510 echo $ECHO_N "(cached) $ECHO_C" >&6
5512 cat >conftest.
$ac_ext <<_ACEOF
5515 cat confdefs.h
>>conftest.
$ac_ext
5516 cat >>conftest.
$ac_ext <<_ACEOF
5517 /* end confdefs.h. */
5518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5520 #define $ac_func innocuous_$ac_func
5522 /* System header to define __stub macros and hopefully few prototypes,
5523 which can conflict with char $ac_func (); below.
5524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5525 <limits.h> exists even on freestanding compilers. */
5528 # include <limits.h>
5530 # include <assert.h>
5535 /* Override any gcc2 internal prototype to avoid an error. */
5540 /* We use char because int might match the return type of a gcc2
5541 builtin and then its argument prototype would still apply. */
5543 /* The GNU C library defines this for functions which it implements
5544 to always fail with ENOSYS. Some functions are actually named
5545 something starting with __ and the normal name is an alias. */
5546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5549 char (*f) () = $ac_func;
5558 return f != $ac_func;
5563 rm -f conftest.
$ac_objext conftest
$ac_exeext
5564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5565 (eval $ac_link) 2>conftest.er1
5567 grep -v '^ *+' conftest.er1
>conftest.err
5569 cat conftest.err
>&5
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); } &&
5572 { ac_try
='test -z "$ac_c_werror_flag"
5573 || test ! -s conftest.err'
5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; } &&
5579 { ac_try
='test -s conftest$ac_exeext'
5580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); }; }; then
5585 eval "$as_ac_var=yes"
5587 echo "$as_me: failed program was:" >&5
5588 sed 's/^/| /' conftest.
$ac_ext >&5
5590 eval "$as_ac_var=no"
5592 rm -f conftest.err conftest.
$ac_objext \
5593 conftest
$ac_exeext conftest.
$ac_ext
5595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5597 if test `eval echo '${'$as_ac_var'}'` = yes; then
5598 cat >>confdefs.h
<<_ACEOF
5599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5606 # Make sure we have values for prefix and exec_prefix
5607 if test "$prefix" = "NONE"; then
5608 prefix
="$ac_default_prefix"
5610 if test "$exec_prefix" = "NONE"; then
5611 exec_prefix
="$prefix"
5613 if test "$pkgdatadir" = ""; then
5614 pkgdatadir
="$datadir/$PACKAGE_NAME"
5619 # Check whether --with-mode or --without-mode was given.
5620 if test "${with_mode+set}" = set; then
5621 withval
="$with_mode"
5622 case "${withval}" in
5623 open
) splashd_mode
="open.c" ;;
5625 splashd_mode
="passive.c base64.c"
5627 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
5628 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
5629 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 ac_check_lib_save_LIBS
=$LIBS
5633 LIBS
="-lcrypt $LIBS"
5634 cat >conftest.
$ac_ext <<_ACEOF
5637 cat confdefs.h
>>conftest.
$ac_ext
5638 cat >>conftest.
$ac_ext <<_ACEOF
5639 /* end confdefs.h. */
5641 /* Override any gcc2 internal prototype to avoid an error. */
5645 /* We use char because int might match the return type of a gcc2
5646 builtin and then its argument prototype would still apply. */
5656 rm -f conftest.
$ac_objext conftest
$ac_exeext
5657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5658 (eval $ac_link) 2>conftest.er1
5660 grep -v '^ *+' conftest.er1
>conftest.err
5662 cat conftest.err
>&5
5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 (exit $ac_status); } &&
5665 { ac_try
='test -z "$ac_c_werror_flag"
5666 || test ! -s conftest.err'
5667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); }; } &&
5672 { ac_try
='test -s conftest$ac_exeext'
5673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); }; }; then
5678 ac_cv_lib_crypt_crypt
=yes
5680 echo "$as_me: failed program was:" >&5
5681 sed 's/^/| /' conftest.
$ac_ext >&5
5683 ac_cv_lib_crypt_crypt
=no
5685 rm -f conftest.err conftest.
$ac_objext \
5686 conftest
$ac_exeext conftest.
$ac_ext
5687 LIBS
=$ac_check_lib_save_LIBS
5689 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
5690 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
5691 if test $ac_cv_lib_crypt_crypt = yes; then
5692 cat >>confdefs.h
<<_ACEOF
5693 #define HAVE_LIBCRYPT 1
5696 LIBS
="-lcrypt $LIBS"
5701 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for --with-mode" >&5
5702 echo "$as_me: error: bad value ${withval} for --with-mode" >&2;}
5703 { (exit 1); exit 1; }; } ;;
5706 cat >>confdefs.h
<<_ACEOF
5707 #define NC_SPLASHD_MODE "${withval}"
5712 splashd_mode
="open.c"
5715 SPLASHD_MODE
="$splashd_mode"
5719 # Check whether --with-remote-splash or --without-remote-splash was given.
5720 if test "${with_remote_splash+set}" = set; then
5721 withval
="$with_remote_splash"
5723 echo "$as_me:$LINENO: checking for ghttp_request_new in -lghttp" >&5
5724 echo $ECHO_N "checking for ghttp_request_new in -lghttp... $ECHO_C" >&6
5725 if test "${ac_cv_lib_ghttp_ghttp_request_new+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 ac_check_lib_save_LIBS
=$LIBS
5729 LIBS
="-lghttp $LIBS"
5730 cat >conftest.
$ac_ext <<_ACEOF
5733 cat confdefs.h
>>conftest.
$ac_ext
5734 cat >>conftest.
$ac_ext <<_ACEOF
5735 /* end confdefs.h. */
5737 /* Override any gcc2 internal prototype to avoid an error. */
5741 /* We use char because int might match the return type of a gcc2
5742 builtin and then its argument prototype would still apply. */
5743 char ghttp_request_new ();
5747 ghttp_request_new ();
5752 rm -f conftest.
$ac_objext conftest
$ac_exeext
5753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5754 (eval $ac_link) 2>conftest.er1
5756 grep -v '^ *+' conftest.er1
>conftest.err
5758 cat conftest.err
>&5
5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); } &&
5761 { ac_try
='test -z "$ac_c_werror_flag"
5762 || test ! -s conftest.err'
5763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); }; } &&
5768 { ac_try
='test -s conftest$ac_exeext'
5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; }; then
5774 ac_cv_lib_ghttp_ghttp_request_new
=yes
5776 echo "$as_me: failed program was:" >&5
5777 sed 's/^/| /' conftest.
$ac_ext >&5
5779 ac_cv_lib_ghttp_ghttp_request_new
=no
5781 rm -f conftest.err conftest.
$ac_objext \
5782 conftest
$ac_exeext conftest.
$ac_ext
5783 LIBS
=$ac_check_lib_save_LIBS
5785 echo "$as_me:$LINENO: result: $ac_cv_lib_ghttp_ghttp_request_new" >&5
5786 echo "${ECHO_T}$ac_cv_lib_ghttp_ghttp_request_new" >&6
5787 if test $ac_cv_lib_ghttp_ghttp_request_new = yes; then
5788 cat >>confdefs.h
<<_ACEOF
5789 #define HAVE_LIBGHTTP 1
5792 LIBS
="-lghttp $LIBS"
5801 # Check whether --with-ghttpd or --without-ghttpd was given.
5802 if test "${with_ghttpd+set}" = set; then
5803 withval
="$with_ghttpd"
5804 GHTTPD_PROGRAM
="ghttpd"
5811 # Check for firewall software
5812 supported_fw
=`find libexec/ -type d ! -path "*CVS*" -exec echo -n "{} " \;`
5814 # Check whether --with-firewall or --without-firewall was given.
5815 if test "${with_firewall+set}" = set; then
5816 withval
="$with_firewall"
5819 for ac_prog
in `cd ./libexec; ls | grep -v CVS`
5821 # Extract the first word of "$ac_prog", so it can be a program name with args.
5822 set dummy
$ac_prog; ac_word
=$2
5823 echo "$as_me:$LINENO: checking for $ac_word" >&5
5824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5825 if test "${ac_cv_prog_firewall+set}" = set; then
5826 echo $ECHO_N "(cached) $ECHO_C" >&6
5828 if test -n "$firewall"; then
5829 ac_cv_prog_firewall
="$firewall" # Let the user override the test.
5831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5835 test -z "$as_dir" && as_dir
=.
5836 for ac_exec_ext
in '' $ac_executable_extensions; do
5837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838 ac_cv_prog_firewall
="$ac_prog"
5839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5847 firewall
=$ac_cv_prog_firewall
5848 if test -n "$firewall"; then
5849 echo "$as_me:$LINENO: result: $firewall" >&5
5850 echo "${ECHO_T}$firewall" >&6
5852 echo "$as_me:$LINENO: result: no" >&5
5853 echo "${ECHO_T}no" >&6
5856 test -n "$firewall" && break
5858 test -n "$firewall" || firewall
=""""
5862 if test "$firewall" = ""; then
5863 { { echo "$as_me:$LINENO: error: No supported firewalls found in \$PATH." >&5
5864 echo "$as_me: error: No supported firewalls found in \$PATH." >&2;}
5865 { (exit 1); exit 1; }; }
5867 libexecscripts
=`find libexec/$firewall -type f ! -path "*CVS*" -exec echo -n "{} " \;`
5869 pkglibexecdir
=$libexecdir/$PACKAGE_NAME
5871 eval "NC_FIREWALL_PATH=`eval echo ${pkglibexecdir}`"
5873 cat >>confdefs.h
<<_ACEOF
5874 #define NC_FIREWALL_PATH "$NC_FIREWALL_PATH"
5878 # Check for htdocs files
5880 # Check whether --with-docroot or --without-docroot was given.
5881 if test "${with_docroot+set}" = set; then
5882 withval
="$with_docroot"
5883 htdocsdir
="$withval"
5885 htdocsdir
="${pkgdatadir}/htdocs"
5888 imagesdir
=$htdocsdir/images
5890 eval "NC_DOCUMENT_ROOT=`eval echo ${htdocsdir}`"
5892 cat >>confdefs.h
<<_ACEOF
5893 #define NC_DOCUMENT_ROOT "$NC_DOCUMENT_ROOT"
5897 # Where do I find nocat.conf?
5898 eval "NC_CONF_PATH=`eval echo ${sysconfdir}`"
5900 cat >>confdefs.h
<<_ACEOF
5901 #define NC_CONF_PATH "$NC_CONF_PATH"
5905 eval "NC_STATE_DIR=`eval echo ${localstatedir}`"
5907 cat >>confdefs.h
<<_ACEOF
5908 #define NC_STATE_DIR "$NC_STATE_DIR"
5913 cat >>confdefs.h
<<_ACEOF
5914 #define NC_PID_FILE "$NC_STATE_DIR/run/splashd.pid"
5919 pgpdir
="$pkgdatadir/pgp"
5921 eval "NC_PGP_PATH=`eval echo ${pgpdir}`"
5923 cat >>confdefs.h
<<_ACEOF
5924 #define NC_PGP_PATH "$NC_PGP_PATH"
5929 ac_config_files
="$ac_config_files Makefile src/Makefile"
5931 cat >confcache
<<\_ACEOF
5932 # This file is a shell script that caches the results of configure
5933 # tests run on this system so they can be shared between configure
5934 # scripts and configure runs, see configure's option --config-cache.
5935 # It is not useful on other systems. If it contains results you don't
5936 # want to keep, you may remove or edit it.
5938 # config.status only pays attention to the cache file if you give it
5939 # the --recheck option to rerun configure.
5941 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5942 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5947 # The following way of writing the cache mishandles newlines in values,
5948 # but we know of no workaround that is simple, portable, and efficient.
5949 # So, don't put newlines in cache variables' values.
5950 # Ultrix sh set writes to stderr and can't be redirected directly,
5951 # and sets the high bit in the cache file unless we assign to the vars.
5954 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5956 # `set' does not quote correctly, so add quotes (double-quote
5957 # substitution turns \\\\ into \\, and sed turns \\ into \).
5960 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5963 # `set' quotes correctly as required by POSIX, so do not add quotes.
5965 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5972 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5974 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5976 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5977 if test -w $cache_file; then
5978 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5979 cat confcache
>$cache_file
5981 echo "not updating unwritable cache $cache_file"
5986 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5987 # Let make expand exec_prefix.
5988 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5990 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5991 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5992 # trailing colons and then remove the whole line if VPATH becomes empty
5993 # (actually we leave an empty line to preserve line numbers).
5994 if test "x$srcdir" = x.
; then
5995 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5996 s/:*\$(srcdir):*/:/;
5997 s/:*\${srcdir}:*/:/;
5999 s/^\([^=]*=[ ]*\):*/\1/;
6005 DEFS
=-DHAVE_CONFIG_H
6009 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6010 # 1. Remove the extension, and $U if already installed.
6011 ac_i
=`echo "$ac_i" |
6012 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6014 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6015 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6019 LTLIBOBJS
=$ac_ltlibobjs
6022 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6023 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6024 Usually this means the macro was only invoked conditionally." >&5
6025 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6026 Usually this means the macro was only invoked conditionally." >&2;}
6027 { (exit 1); exit 1; }; }
6029 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6030 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6031 Usually this means the macro was only invoked conditionally." >&5
6032 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6033 Usually this means the macro was only invoked conditionally." >&2;}
6034 { (exit 1); exit 1; }; }
6036 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6037 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6038 Usually this means the macro was only invoked conditionally." >&5
6039 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6040 Usually this means the macro was only invoked conditionally." >&2;}
6041 { (exit 1); exit 1; }; }
6044 : ${CONFIG_STATUS=./config.status}
6045 ac_clean_files_save
=$ac_clean_files
6046 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6047 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6048 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6049 cat >$CONFIG_STATUS <<_ACEOF
6051 # Generated by $as_me.
6052 # Run this file to recreate the current configuration.
6053 # Compiler output produced by configure, useful for debugging
6054 # configure, is in config.log if it exists.
6059 SHELL=\${CONFIG_SHELL-$SHELL}
6062 cat >>$CONFIG_STATUS <<\_ACEOF
6063 ## --------------------- ##
6064 ## M4sh Initialization. ##
6065 ## --------------------- ##
6067 # Be Bourne compatible
6068 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6071 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6072 # is contrary to our usage. Disable this feature.
6073 alias -g '${1+"$@"}'='"$@"'
6074 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6077 DUALCASE
=1; export DUALCASE
# for MKS sh
6079 # Support unset when possible.
6080 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6087 # Work around bugs in pre-3.0 UWIN ksh.
6088 $as_unset ENV MAIL MAILPATH
6095 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6096 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6097 LC_TELEPHONE LC_TIME
6099 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6100 eval $as_var=C
; export $as_var
6106 # Required to use basename.
6107 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6113 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6114 as_basename
=basename
6120 # Name of the executable.
6121 as_me
=`$as_basename "$0" ||
6122 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6123 X"$0" : 'X\(//\)$' \| \
6124 X"$0" : 'X\(/\)$' \| \
6125 . : '\(.\)' 2>/dev/null ||
6127 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6128 /^X\/\(\/\/\)$/{ s//\1/; q; }
6129 /^X\/\(\/\).*/{ s//\1/; q; }
6133 # PATH needs CR, and LINENO needs CR and PATH.
6134 # Avoid depending upon Character Ranges.
6135 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6136 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6137 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6138 as_cr_digits
='0123456789'
6139 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6141 # The user is always right.
6142 if test "${PATH_SEPARATOR+set}" != set; then
6143 echo "#! /bin/sh" >conf$$.sh
6144 echo "exit 0" >>conf$$.sh
6146 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6157 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6158 test "x$as_lineno_1" != "x$as_lineno_2" &&
6159 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6160 # Find who we are. Look in the path if we contain no path at all
6163 *[\\/]* ) as_myself
=$0 ;;
6164 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6168 test -z "$as_dir" && as_dir
=.
6169 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6174 # We did not find ourselves, most probably we were run as `sh COMMAND'
6175 # in which case we are not to be found in the path.
6176 if test "x$as_myself" = x
; then
6179 if test ! -f "$as_myself"; then
6180 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6181 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6182 { (exit 1); exit 1; }; }
6184 case $CONFIG_SHELL in
6186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6190 test -z "$as_dir" && as_dir
=.
6191 for as_base
in sh bash ksh sh5
; do
6194 if ("$as_dir/$as_base" -c '
6197 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6198 test "x$as_lineno_1" != "x$as_lineno_2" &&
6199 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6200 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6201 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6202 CONFIG_SHELL
=$as_dir/$as_base
6204 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6212 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6213 # uniformly replaced by the line number. The first 'sed' inserts a
6214 # line-number line before each line; the second 'sed' does the real
6215 # work. The second script uses 'N' to pair each line-number line
6216 # with the numbered line, and appends trailing '-' during
6217 # substitution so that $LINENO is not a special case at line end.
6218 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6219 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6220 sed '=' <$as_myself |
6225 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6228 s,^['$as_cr_digits']*\n,,
6230 chmod +x
$as_me.lineno ||
6231 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6232 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6233 { (exit 1); exit 1; }; }
6235 # Don't try to exec as it changes $[0], causing all sort of problems
6236 # (the dirname of $[0] is not the place where we might find the
6237 # original and so on. Autoconf is especially sensible to this).
6239 # Exit status is that of the last command.
6244 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6245 *c
*,-n*) ECHO_N
= ECHO_C
='
6247 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6248 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6251 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6257 rm -f conf$$ conf$$.exe conf$$.
file
6259 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6260 # We could just check for DJGPP; but this test a) works b) is more generic
6261 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6262 if test -f conf$$.exe
; then
6263 # Don't use ln at all; we don't have any links
6268 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6273 rm -f conf$$ conf$$.exe conf$$.
file
6275 if mkdir
-p .
2>/dev
/null
; then
6278 test -d .
/-p && rmdir .
/-p
6282 as_executable_p
="test -f"
6284 # Sed expression to map a string onto a valid CPP name.
6285 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6287 # Sed expression to map a string onto a valid variable name.
6288 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6292 # We need space, tab and new line, in precisely that order.
6302 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6303 # report actual input values of CONFIG_FILES etc. instead of their
6304 # values after options handling. Logging --version etc. is OK.
6308 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6309 ## Running $as_me. ##
6314 This file was extended by nocat $as_me 0.93pre2, which was
6315 generated by GNU Autoconf 2.59. Invocation command line was
6317 CONFIG_FILES = $CONFIG_FILES
6318 CONFIG_HEADERS = $CONFIG_HEADERS
6319 CONFIG_LINKS = $CONFIG_LINKS
6320 CONFIG_COMMANDS = $CONFIG_COMMANDS
6324 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6328 # Files that config.status was made for.
6329 if test -n "$ac_config_files"; then
6330 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6333 if test -n "$ac_config_headers"; then
6334 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6337 if test -n "$ac_config_links"; then
6338 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6341 if test -n "$ac_config_commands"; then
6342 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6345 cat >>$CONFIG_STATUS <<\_ACEOF
6348 \`$as_me' instantiates files from templates according to the
6349 current configuration.
6351 Usage: $0 [OPTIONS] [FILE]...
6353 -h, --help print this help, then exit
6354 -V, --version print version number, then exit
6355 -q, --quiet do not print progress messages
6356 -d, --debug don't remove temporary files
6357 --recheck update $as_me by reconfiguring in the same conditions
6358 --file=FILE[:TEMPLATE]
6359 instantiate the configuration file FILE
6360 --header=FILE[:TEMPLATE]
6361 instantiate the configuration header FILE
6363 Configuration files:
6366 Configuration headers:
6369 Configuration commands:
6372 Report bugs to <bug-autoconf@gnu.org>."
6375 cat >>$CONFIG_STATUS <<_ACEOF
6377 nocat config.status 0.93pre2
6378 configured by $0, generated by GNU Autoconf 2.59,
6379 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6381 Copyright (C) 2003 Free Software Foundation, Inc.
6382 This config.status script is free software; the Free Software Foundation
6383 gives unlimited permission to copy, distribute and modify it."
6388 cat >>$CONFIG_STATUS <<\_ACEOF
6389 # If no file are specified by the user, then we need to provide default
6390 # value. By we need to know if files were specified by the user.
6396 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6397 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6405 *) # This is not an option, so the user has probably given explicit
6408 ac_need_defaults
=false
;;
6412 # Handling of the options.
6414 cat >>$CONFIG_STATUS <<\_ACEOF
6415 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6417 --version |
--vers* |
-V )
6418 echo "$ac_cs_version"; exit 0 ;;
6420 # Conflict between --help and --header
6421 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6422 Try \`$0 --help' for more information." >&5
6423 echo "$as_me: error: ambiguous option: $1
6424 Try \`$0 --help' for more information." >&2;}
6425 { (exit 1); exit 1; }; };;
6426 --help |
--hel |
-h )
6427 echo "$ac_cs_usage"; exit 0 ;;
6428 --debug |
--d* |
-d )
6430 --file |
--fil |
--fi |
--f )
6432 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6433 ac_need_defaults
=false
;;
6434 --header |
--heade |
--head |
--hea )
6436 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6437 ac_need_defaults
=false
;;
6438 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6439 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6443 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6444 Try \`$0 --help' for more information." >&5
6445 echo "$as_me: error: unrecognized option: $1
6446 Try \`$0 --help' for more information." >&2;}
6447 { (exit 1); exit 1; }; } ;;
6449 *) ac_config_targets
="$ac_config_targets $1" ;;
6455 ac_configure_extra_args
=
6457 if $ac_cs_silent; then
6459 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6463 cat >>$CONFIG_STATUS <<_ACEOF
6464 if \$ac_cs_recheck; then
6465 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6466 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6471 cat >>$CONFIG_STATUS <<_ACEOF
6473 # INIT-COMMANDS section.
6476 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6482 cat >>$CONFIG_STATUS <<\_ACEOF
6483 for ac_config_target
in $ac_config_targets
6485 case "$ac_config_target" in
6486 # Handling of arguments.
6487 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6488 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
6489 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6490 "src/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS src/config.h" ;;
6491 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6492 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6493 { (exit 1); exit 1; }; };;
6497 # If the user did not use the arguments to specify the items to instantiate,
6498 # then the envvar interface is used. Set only those that are not.
6499 # We use the long form for the default assignment because of an extremely
6500 # bizarre bug on SunOS 4.1.3.
6501 if $ac_need_defaults; then
6502 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6503 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6504 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6507 # Have a temporary directory for convenience. Make it in the build tree
6508 # simply because there is no reason to put it here, and in addition,
6509 # creating and moving files from /tmp can sometimes cause problems.
6510 # Create a temporary directory, and hook for its removal unless debugging.
6513 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6514 trap '{ (exit 1); exit 1; }' 1 2 13 15
6517 # Create a (secure) tmp directory for tmp files.
6520 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6521 test -n "$tmp" && test -d "$tmp"
6524 tmp
=.
/confstat$$
-$RANDOM
6525 (umask 077 && mkdir
$tmp)
6528 echo "$me: cannot create a temporary directory in ." >&2
6529 { (exit 1); exit 1; }
6534 cat >>$CONFIG_STATUS <<_ACEOF
6537 # CONFIG_FILES section.
6540 # No need to generate the scripts if there are no CONFIG_FILES.
6541 # This happens for instance when ./config.status config.h
6542 if test -n "\$CONFIG_FILES"; then
6543 # Protect against being on the right side of a sed subst in config.status.
6544 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6545 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6546 s,@SHELL@,$SHELL,;t t
6547 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6548 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6549 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6550 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6551 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6552 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6553 s,@exec_prefix@,$exec_prefix,;t t
6554 s,@prefix@,$prefix,;t t
6555 s,@program_transform_name@,$program_transform_name,;t t
6556 s,@bindir@,$bindir,;t t
6557 s,@sbindir@,$sbindir,;t t
6558 s,@libexecdir@,$libexecdir,;t t
6559 s,@datadir@,$datadir,;t t
6560 s,@sysconfdir@,$sysconfdir,;t t
6561 s,@sharedstatedir@,$sharedstatedir,;t t
6562 s,@localstatedir@,$localstatedir,;t t
6563 s,@libdir@,$libdir,;t t
6564 s,@includedir@,$includedir,;t t
6565 s,@oldincludedir@,$oldincludedir,;t t
6566 s,@infodir@,$infodir,;t t
6567 s,@mandir@,$mandir,;t t
6568 s,@build_alias@,$build_alias,;t t
6569 s,@host_alias@,$host_alias,;t t
6570 s,@target_alias@,$target_alias,;t t
6572 s,@ECHO_C@,$ECHO_C,;t t
6573 s,@ECHO_N@,$ECHO_N,;t t
6574 s,@ECHO_T@,$ECHO_T,;t t
6576 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6577 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6578 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6579 s,@CYGPATH_W@,$CYGPATH_W,;t t
6580 s,@PACKAGE@,$PACKAGE,;t t
6581 s,@VERSION@,$VERSION,;t t
6582 s,@ACLOCAL@,$ACLOCAL,;t t
6583 s,@AUTOCONF@,$AUTOCONF,;t t
6584 s,@AUTOMAKE@,$AUTOMAKE,;t t
6585 s,@AUTOHEADER@,$AUTOHEADER,;t t
6586 s,@MAKEINFO@,$MAKEINFO,;t t
6587 s,@AMTAR@,$AMTAR,;t t
6588 s,@install_sh@,$install_sh,;t t
6589 s,@STRIP@,$STRIP,;t t
6590 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6591 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6592 s,@mkdir_p@,$mkdir_p,;t t
6594 s,@SET_MAKE@,$SET_MAKE,;t t
6595 s,@am__leading_dot@,$am__leading_dot,;t t
6596 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6597 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6598 s,@MAINT@,$MAINT,;t t
6600 s,@CFLAGS@,$CFLAGS,;t t
6601 s,@LDFLAGS@,$LDFLAGS,;t t
6602 s,@CPPFLAGS@,$CPPFLAGS,;t t
6603 s,@ac_ct_CC@,$ac_ct_CC,;t t
6604 s,@EXEEXT@,$EXEEXT,;t t
6605 s,@OBJEXT@,$OBJEXT,;t t
6606 s,@DEPDIR@,$DEPDIR,;t t
6607 s,@am__include@,$am__include,;t t
6608 s,@am__quote@,$am__quote,;t t
6609 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6610 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6611 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6612 s,@CCDEPMODE@,$CCDEPMODE,;t t
6613 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6614 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6615 s,@RANLIB@,$RANLIB,;t t
6616 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6617 s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t
6618 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
6619 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
6621 s,@EGREP@,$EGREP,;t t
6622 s,@POW_LIB@,$POW_LIB,;t t
6623 s,@LIBOBJS@,$LIBOBJS,;t t
6624 s,@SPLASHD_MODE@,$SPLASHD_MODE,;t t
6625 s,@GHTTPD_PROGRAM@,$GHTTPD_PROGRAM,;t t
6626 s,@firewall@,$firewall,;t t
6627 s,@libexecscripts@,$libexecscripts,;t t
6628 s,@pkglibexecdir@,$pkglibexecdir,;t t
6629 s,@htdocsdir@,$htdocsdir,;t t
6630 s,@imagesdir@,$imagesdir,;t t
6631 s,@pgpdir@,$pgpdir,;t t
6632 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6637 cat >>$CONFIG_STATUS <<\_ACEOF
6638 # Split the substitutions into bite-sized pieces for seds with
6639 # small command number limits, like on Digital OSF/1 and HP-UX.
6641 ac_sed_frag
=1 # Number of current file.
6642 ac_beg
=1 # First line for current file.
6643 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6646 while $ac_more_lines; do
6647 if test $ac_beg -gt 1; then
6648 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6650 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6652 if test ! -s $tmp/subs.frag
; then
6655 # The purpose of the label and of the branching condition is to
6656 # speed up the sed processing (if there are no `@' at all, there
6657 # is no need to browse any of the substitutions).
6658 # These are the two extra sed commands mentioned above.
6660 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6661 if test -z "$ac_sed_cmds"; then
6662 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6664 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6666 ac_sed_frag
=`expr $ac_sed_frag + 1`
6668 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6671 if test -z "$ac_sed_cmds"; then
6674 fi # test -n "$CONFIG_FILES"
6677 cat >>$CONFIG_STATUS <<\_ACEOF
6678 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6679 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6681 - |
*:- |
*:-:* ) # input from stdin
6683 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6684 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6685 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6686 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6687 * ) ac_file_in
=$ac_file.
in ;;
6690 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6691 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6692 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6693 X"$ac_file" : 'X\(//\)[^/]' \| \
6694 X"$ac_file" : 'X\(//\)$' \| \
6695 X"$ac_file" : 'X\(/\)' \| \
6696 . : '\(.\)' 2>/dev/null ||
6698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6699 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6700 /^X\(\/\/\)$/{ s//\1/; q; }
6701 /^X\(\/\).*/{ s//\1/; q; }
6703 { if $as_mkdir_p; then
6708 while test ! -d "$as_dir"; do
6709 as_dirs
="$as_dir $as_dirs"
6710 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6711 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6712 X"$as_dir" : 'X\(//\)[^/]' \| \
6713 X"$as_dir" : 'X\(//\)$' \| \
6714 X"$as_dir" : 'X\(/\)' \| \
6715 . : '\(.\)' 2>/dev/null ||
6717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6719 /^X\(\/\/\)$/{ s//\1/; q; }
6720 /^X\(\/\).*/{ s//\1/; q; }
6723 test ! -n "$as_dirs" || mkdir
$as_dirs
6724 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6725 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6726 { (exit 1); exit 1; }; }; }
6730 if test "$ac_dir" != .
; then
6731 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6732 # A "../" for each directory in $ac_dir_suffix.
6733 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6735 ac_dir_suffix
= ac_top_builddir
=
6739 .
) # No --srcdir option. We are building in place.
6741 if test -z "$ac_top_builddir"; then
6744 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6746 [\\/]* | ?
:[\\/]* ) # Absolute path.
6747 ac_srcdir
=$srcdir$ac_dir_suffix;
6748 ac_top_srcdir
=$srcdir ;;
6750 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6751 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6754 # Do not use `cd foo && pwd` to compute absolute paths, because
6755 # the directories may not exist.
6757 .
) ac_abs_builddir
="$ac_dir";;
6760 .
) ac_abs_builddir
=`pwd`;;
6761 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6762 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6765 case $ac_abs_builddir in
6766 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6768 case ${ac_top_builddir}.
in
6769 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6770 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6771 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6774 case $ac_abs_builddir in
6775 .
) ac_abs_srcdir
=$ac_srcdir;;
6778 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6779 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6780 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6783 case $ac_abs_builddir in
6784 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6786 case $ac_top_srcdir in
6787 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6788 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6789 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6795 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6796 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6799 if test x
"$ac_file" != x-
; then
6800 { echo "$as_me:$LINENO: creating $ac_file" >&5
6801 echo "$as_me: creating $ac_file" >&6;}
6804 # Let's still pretend it is `configure' which instantiates (i.e., don't
6805 # use $as_me), people would be surprised to read:
6806 # /* config.h. Generated by config.status. */
6807 if test x
"$ac_file" = x-
; then
6810 configure_input
="$ac_file. "
6812 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6813 sed 's,.*/,,'` by configure."
6815 # First look for the input files in the build tree, otherwise in the
6817 ac_file_inputs
=`IFS=:
6818 for f in $ac_file_in; do
6820 -) echo $tmp/stdin ;;
6822 # Absolute (can't be DOS-style, as IFS=:)
6823 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6824 echo "$as_me: error: cannot find input file: $f" >&2;}
6825 { (exit 1); exit 1; }; }
6828 if test -f "$f"; then
6831 elif test -f "$srcdir/$f"; then
6836 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6837 echo "$as_me: error: cannot find input file: $f" >&2;}
6838 { (exit 1); exit 1; }; }
6841 done` ||
{ (exit 1); exit 1; }
6843 cat >>$CONFIG_STATUS <<_ACEOF
6847 cat >>$CONFIG_STATUS <<\_ACEOF
6849 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6850 s
,@configure_input@
,$configure_input,;t t
6851 s
,@srcdir@
,$ac_srcdir,;t t
6852 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6853 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6854 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6855 s
,@builddir@
,$ac_builddir,;t t
6856 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6857 s
,@top_builddir@
,$ac_top_builddir,;t t
6858 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6859 s
,@INSTALL@
,$ac_INSTALL,;t t
6860 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6862 if test x"$ac_file" != x-; then
6863 mv $tmp/out $ac_file
6871 cat >>$CONFIG_STATUS <<\_ACEOF
6874 # CONFIG_HEADER section.
6877 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6878 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6880 # ac_d sets the value in "#define NAME VALUE" lines.
6881 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6882 ac_dB
='[ ].*$,\1#\2'
6885 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6886 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6887 ac_uB
='$,\1#\2define\3'
6891 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6892 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6894 - |
*:- |
*:-:* ) # input from stdin
6896 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6897 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6898 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6899 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6900 * ) ac_file_in
=$ac_file.
in ;;
6903 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6904 echo "$as_me: creating $ac_file" >&6;}
6906 # First look for the input files in the build tree, otherwise in the
6908 ac_file_inputs
=`IFS=:
6909 for f in $ac_file_in; do
6911 -) echo $tmp/stdin ;;
6913 # Absolute (can't be DOS-style, as IFS=:)
6914 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6915 echo "$as_me: error: cannot find input file: $f" >&2;}
6916 { (exit 1); exit 1; }; }
6917 # Do quote $f, to prevent DOS paths from being IFS'd.
6920 if test -f "$f"; then
6923 elif test -f "$srcdir/$f"; then
6928 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6929 echo "$as_me: error: cannot find input file: $f" >&2;}
6930 { (exit 1); exit 1; }; }
6933 done` ||
{ (exit 1); exit 1; }
6934 # Remove the trailing spaces.
6935 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6939 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6940 # `conftest.undefs', that substitutes the proper values into
6941 # config.h.in to produce config.h. The first handles `#define'
6942 # templates, and the second `#undef' templates.
6943 # And first: Protect against being on the right side of a sed subst in
6944 # config.status. Protect against being in an unquoted here document
6946 rm -f conftest.defines conftest.undefs
6947 # Using a here document instead of a string reduces the quoting nightmare.
6948 # Putting comments in sed scripts is not portable.
6950 # `end' is used to avoid that the second main sed command (meant for
6951 # 0-ary CPP macros) applies to n-ary macro definitions.
6952 # See the Autoconf documentation for `clear'.
6953 cat >confdef2sed.
sed <<\_ACEOF
6958 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6960 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6963 # If some macros were called several times there might be several times
6964 # the same #defines, which is useless. Nevertheless, we may not want to
6965 # sort them, since we want the *last* AC-DEFINE to be honored.
6966 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6967 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6968 rm -f confdef2sed.sed
6970 # This sed command replaces #undef with comments. This is necessary, for
6971 # example, in the case of _POSIX_SOURCE, which is predefined and required
6972 # on some systems where configure will not decide to define it.
6973 cat >>conftest.undefs <<\_ACEOF
6974 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6977 # Break up conftest.defines because some shells have a limit on the size
6978 # of here documents, and old seds have small limits too (100 cmds).
6979 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6980 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6981 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6982 echo ' :' >>$CONFIG_STATUS
6984 while grep . conftest.defines >/dev/null
6986 # Write a limited-size here document to $tmp/defines.sed.
6987 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6988 # Speed up: don't consider the non `#define' lines.
6989 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6990 # Work around the forget-to-reset-the-flag bug.
6991 echo 't clr' >>$CONFIG_STATUS
6992 echo ': clr' >>$CONFIG_STATUS
6993 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6995 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6999 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7000 rm -f conftest.defines
7001 mv conftest.
tail conftest.defines
7003 rm -f conftest.defines
7004 echo ' fi # grep' >>$CONFIG_STATUS
7005 echo >>$CONFIG_STATUS
7007 # Break up conftest.undefs because some shells have a limit on the size
7008 # of here documents, and old seds have small limits too (100 cmds).
7009 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7011 while grep . conftest.undefs
>/dev
/null
7013 # Write a limited-size here document to $tmp/undefs.sed.
7014 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7015 # Speed up: don't consider the non
`#undef'
7016 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7017 # Work around the forget-to-reset-the-flag bug.
7018 echo 't clr' >>$CONFIG_STATUS
7019 echo ': clr' >>$CONFIG_STATUS
7020 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7022 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7026 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7027 rm -f conftest.undefs
7028 mv conftest.tail conftest.undefs
7030 rm -f conftest.undefs
7032 cat >>$CONFIG_STATUS <<\_ACEOF
7033 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7034 # use $as_me), people would be surprised to read:
7035 # /* config.h. Generated by config.status. */
7036 if test x
"$ac_file" = x-
; then
7037 echo "/* Generated by configure. */" >$tmp/config.h
7039 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7041 cat $tmp/in >>$tmp/config.h
7043 if test x
"$ac_file" != x-
; then
7044 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7045 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7046 echo "$as_me: $ac_file is unchanged" >&6;}
7048 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7049 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7050 X"$ac_file" : 'X\(//\)[^/]' \| \
7051 X"$ac_file" : 'X\(//\)$' \| \
7052 X"$ac_file" : 'X\(/\)' \| \
7053 . : '\(.\)' 2>/dev/null ||
7055 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7056 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7057 /^X\(\/\/\)$/{ s//\1/; q; }
7058 /^X\(\/\).*/{ s//\1/; q; }
7060 { if $as_mkdir_p; then
7065 while test ! -d "$as_dir"; do
7066 as_dirs
="$as_dir $as_dirs"
7067 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7068 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7069 X"$as_dir" : 'X\(//\)[^/]' \| \
7070 X"$as_dir" : 'X\(//\)$' \| \
7071 X"$as_dir" : 'X\(/\)' \| \
7072 . : '\(.\)' 2>/dev/null ||
7074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7075 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7076 /^X\(\/\/\)$/{ s//\1/; q; }
7077 /^X\(\/\).*/{ s//\1/; q; }
7080 test ! -n "$as_dirs" || mkdir
$as_dirs
7081 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7082 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7083 { (exit 1); exit 1; }; }; }
7086 mv $tmp/config.h
$ac_file
7092 # Compute $ac_file's index in $config_headers.
7094 for _am_header
in $config_headers :; do
7096 $ac_file |
$ac_file:* )
7099 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7102 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7103 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7104 X$ac_file : 'X\(//\)[^/]' \| \
7105 X$ac_file : 'X\(//\)$' \| \
7106 X$ac_file : 'X\(/\)' \| \
7107 . : '\(.\)' 2>/dev/null ||
7109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7110 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7111 /^X\(\/\/\)$/{ s//\1/; q; }
7112 /^X\(\/\).*/{ s//\1/; q; }
7113 s/.*/./; q'`/stamp-h
$_am_stamp_count
7116 cat >>$CONFIG_STATUS <<\_ACEOF
7119 # CONFIG_COMMANDS section.
7121 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7122 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7123 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7124 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7125 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7126 X"$ac_dest" : 'X\(//\)[^/]' \| \
7127 X"$ac_dest" : 'X\(//\)$' \| \
7128 X"$ac_dest" : 'X\(/\)' \| \
7129 . : '\(.\)' 2>/dev/null ||
7131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7132 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7133 /^X\(\/\/\)$/{ s//\1/; q; }
7134 /^X\(\/\).*/{ s//\1/; q; }
7136 { if $as_mkdir_p; then
7141 while test ! -d "$as_dir"; do
7142 as_dirs
="$as_dir $as_dirs"
7143 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7144 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7145 X"$as_dir" : 'X\(//\)[^/]' \| \
7146 X"$as_dir" : 'X\(//\)$' \| \
7147 X"$as_dir" : 'X\(/\)' \| \
7148 . : '\(.\)' 2>/dev/null ||
7150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7152 /^X\(\/\/\)$/{ s//\1/; q; }
7153 /^X\(\/\).*/{ s//\1/; q; }
7156 test ! -n "$as_dirs" || mkdir
$as_dirs
7157 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7158 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7159 { (exit 1); exit 1; }; }; }
7163 if test "$ac_dir" != .
; then
7164 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7165 # A "../" for each directory in $ac_dir_suffix.
7166 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7168 ac_dir_suffix
= ac_top_builddir
=
7172 .
) # No --srcdir option. We are building in place.
7174 if test -z "$ac_top_builddir"; then
7177 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7179 [\\/]* | ?
:[\\/]* ) # Absolute path.
7180 ac_srcdir
=$srcdir$ac_dir_suffix;
7181 ac_top_srcdir
=$srcdir ;;
7183 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7184 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7187 # Do not use `cd foo && pwd` to compute absolute paths, because
7188 # the directories may not exist.
7190 .
) ac_abs_builddir
="$ac_dir";;
7193 .
) ac_abs_builddir
=`pwd`;;
7194 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7195 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7198 case $ac_abs_builddir in
7199 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7201 case ${ac_top_builddir}.
in
7202 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7203 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7204 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7207 case $ac_abs_builddir in
7208 .
) ac_abs_srcdir
=$ac_srcdir;;
7211 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7212 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7213 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7216 case $ac_abs_builddir in
7217 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7219 case $ac_top_srcdir in
7220 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7221 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7222 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7227 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7228 echo "$as_me: executing $ac_dest commands" >&6;}
7230 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7231 # Strip MF so we end up with the name of the file.
7232 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7233 # Check whether this is an Automake generated Makefile or not.
7234 # We used to match only the files named `Makefile.in', but
7235 # some people rename them; so instead we look at the file content.
7236 # Grep'ing the first line is not enough: some people post-process
7237 # each Makefile.in and add a new line on top of each file to say so.
7238 # So let's grep whole file.
7239 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
7240 dirpart
=`(dirname "$mf") 2>/dev/null ||
7241 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7242 X"$mf" : 'X\(//\)[^/]' \| \
7243 X"$mf" : 'X\(//\)$' \| \
7244 X"$mf" : 'X\(/\)' \| \
7245 . : '\(.\)' 2>/dev/null ||
7247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7248 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7249 /^X\(\/\/\)$/{ s//\1/; q; }
7250 /^X\(\/\).*/{ s//\1/; q; }
7255 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
7256 # Extract the definition of DEP_FILES from the Makefile without
7258 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7259 test -z "$DEPDIR" && continue
7260 # When using ansi2knr, U may be empty or an underscore; expand it
7261 U
=`sed -n 's/^U = //p' < "$mf"`
7262 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
7263 # We invoke sed twice because it is the simplest approach to
7264 # changing $(DEPDIR) to its actual value in the expansion.
7265 for file in `sed -n '
7266 /^DEP_FILES = .*\\\\$/ {
7275 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7276 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7277 # Make sure the directory exists.
7278 test -f "$dirpart/$file" && continue
7279 fdir
=`(dirname "$file") 2>/dev/null ||
7280 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7281 X"$file" : 'X\(//\)[^/]' \| \
7282 X"$file" : 'X\(//\)$' \| \
7283 X"$file" : 'X\(/\)' \| \
7284 . : '\(.\)' 2>/dev/null ||
7286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7288 /^X\(\/\/\)$/{ s//\1/; q; }
7289 /^X\(\/\).*/{ s//\1/; q; }
7291 { if $as_mkdir_p; then
7292 mkdir
-p $dirpart/$fdir
7294 as_dir
=$dirpart/$fdir
7296 while test ! -d "$as_dir"; do
7297 as_dirs
="$as_dir $as_dirs"
7298 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7300 X"$as_dir" : 'X\(//\)[^/]' \| \
7301 X"$as_dir" : 'X\(//\)$' \| \
7302 X"$as_dir" : 'X\(/\)' \| \
7303 . : '\(.\)' 2>/dev/null ||
7305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7307 /^X\(\/\/\)$/{ s//\1/; q; }
7308 /^X\(\/\).*/{ s//\1/; q; }
7311 test ! -n "$as_dirs" || mkdir
$as_dirs
7312 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7313 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7314 { (exit 1); exit 1; }; }; }
7316 # echo "creating $dirpart/$file"
7317 echo '# dummy' > "$dirpart/$file"
7325 cat >>$CONFIG_STATUS <<\_ACEOF
7327 { (exit 0); exit 0; }
7329 chmod +x
$CONFIG_STATUS
7330 ac_clean_files
=$ac_clean_files_save
7333 # configure is writing to config.log, and then calls config.status.
7334 # config.status does its own redirection, appending to config.log.
7335 # Unfortunately, on DOS this fails, as config.log is still kept open
7336 # by configure, so config.status won't be able to write to it; its
7337 # output is simply discarded. So we exec the FD to /dev/null,
7338 # effectively closing config.log, so it can be properly (re)opened and
7339 # appended to by config.status. When coming back to configure, we
7340 # need to make the FD available again.
7341 if test "$no_create" != yes; then
7343 ac_config_status_args
=
7344 test "$silent" = yes &&
7345 ac_config_status_args
="$ac_config_status_args --quiet"
7347 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7349 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7350 # would make configure fail if this is the last instruction.
7351 $ac_cs_success ||
{ (exit 1); exit 1; }