2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for mod_domaintree 1.3.
5 # Report bugs to <mike@iworks.at>.
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.
270 PACKAGE_NAME
='mod_domaintree'
271 PACKAGE_TARNAME
='mod_domaintree'
272 PACKAGE_VERSION
='1.3'
273 PACKAGE_STRING
='mod_domaintree 1.3'
274 PACKAGE_BUGREPORT
='mike@iworks.at'
276 ac_unique_file
="mod_domaintree.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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP APXS2 LIBOBJS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures mod_domaintree 1.3 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive
) echo "Configuration of mod_domaintree 1.3:";;
845 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
846 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
847 --with-apxs2 where the apxs2 tool is located
849 Some influential environment variables
:
850 CC C compiler
command
851 CFLAGS C compiler flags
852 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
853 nonstandard directory
<lib dir
>
854 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
855 headers
in a nonstandard directory
<include dir
>
858 Use these variables to override the choices made by
`configure' or to help
859 it to find libraries and programs with nonstandard names/locations.
861 Report bugs to <mike@iworks.at>.
865 if test "$ac_init_help" = "recursive"; then
866 # If there are subdirs, report their specific --help.
868 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
869 test -d $ac_dir || continue
872 if test "$ac_dir" != .; then
873 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
874 # A "../" for each directory in $ac_dir_suffix.
875 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
877 ac_dir_suffix= ac_top_builddir=
881 .) # No --srcdir option. We are building in place.
883 if test -z "$ac_top_builddir"; then
886 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
888 [\\/]* | ?:[\\/]* ) # Absolute path.
889 ac_srcdir=$srcdir$ac_dir_suffix;
890 ac_top_srcdir=$srcdir ;;
892 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
893 ac_top_srcdir=$ac_top_builddir$srcdir ;;
896 # Do not use `cd foo
&& pwd` to compute absolute paths, because
897 # the directories may not exist.
899 .) ac_abs_builddir="$ac_dir";;
902 .) ac_abs_builddir=`pwd`;;
903 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
904 *) ac_abs_builddir=`pwd`/"$ac_dir";;
907 case $ac_abs_builddir in
908 .) ac_abs_top_builddir=${ac_top_builddir}.;;
910 case ${ac_top_builddir}. in
911 .) ac_abs_top_builddir=$ac_abs_builddir;;
912 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
913 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
916 case $ac_abs_builddir in
917 .) ac_abs_srcdir=$ac_srcdir;;
920 .) ac_abs_srcdir=$ac_abs_builddir;;
921 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
922 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
925 case $ac_abs_builddir in
926 .) ac_abs_top_srcdir=$ac_top_srcdir;;
928 case $ac_top_srcdir in
929 .) ac_abs_top_srcdir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
931 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
936 # Check for guested configure; otherwise get Cygnus style configure.
937 if test -f $ac_srcdir/configure.gnu; then
939 $SHELL $ac_srcdir/configure.gnu --help=recursive
940 elif test -f $ac_srcdir/configure; then
942 $SHELL $ac_srcdir/configure --help=recursive
943 elif test -f $ac_srcdir/configure.ac ||
944 test -f $ac_srcdir/configure.in; then
948 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
954 test -n "$ac_init_help" && exit 0
955 if $ac_init_version; then
957 mod_domaintree configure 1.3
958 generated by GNU Autoconf 2.59
960 Copyright (C) 2003 Free Software Foundation, Inc.
961 This configure script is free software; the Free Software Foundation
962 gives unlimited permission to copy, distribute and modify it.
968 This file contains any messages produced by compilers while
969 running configure, to aid debugging if configure makes a mistake.
971 It was created by mod_domaintree $as_me 1.3, which was
972 generated by GNU Autoconf 2.59. Invocation command line was
983 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
984 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
985 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
986 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
987 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
989 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
990 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
992 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
993 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
994 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
995 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
996 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
997 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
998 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1006 test -z "$as_dir" && as_dir=.
1007 echo "PATH: $as_dir"
1022 # Keep a trace of the command line.
1023 # Strip out --no-create and --no-recursion so they do not pile up.
1024 # Strip out --silent because we don't want to record it for future runs.
1025 # Also quote any args containing shell meta-characters.
1026 # Make two passes to allow for proper duplicate-argument suppression.
1031 ac_must_keep_next=false
1037 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1038 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1039 | -silent | --silent | --silen | --sile | --sil)
1041 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1042 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1045 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1047 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1048 if test $ac_must_keep_next = true; then
1049 ac_must_keep_next=false # Got value, back to normal.
1052 *=* | --config-cache | -C | -disable-* | --disable-* \
1053 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1054 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1055 | -with-* | --with-* | -without-* | --without-* | --x)
1056 case "$ac_configure_args0 " in
1057 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1060 -* ) ac_must_keep_next=true ;;
1063 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1064 # Get rid of the leading space.
1070 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1071 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1073 # When interrupted or exit'd, cleanup temporary files, and complete
1074 # config.log. We remove comments because anyway the quotes in there
1075 # would cause problems or look ugly.
1076 # WARNING: Be sure not to use single quotes in there, as some shells,
1077 # such as our DU 5.0 friend, will then `close
' the trap.
1078 trap 'exit_status
=$?
1079 # Save into config.log some information that might help in debugging.
1084 ## ---------------- ##
1085 ## Cache variables. ##
1086 ## ---------------- ##
1089 # The following way of writing the cache mishandles newlines in values,
1092 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1095 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1096 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1100 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1107 ## ----------------- ##
1108 ## Output variables. ##
1109 ## ----------------- ##
1112 for ac_var
in $ac_subst_vars
1114 eval ac_val
=$
`echo $ac_var`
1115 echo "$ac_var='"'"'$ac_val'"'"'"
1119 if test -n "$ac_subst_files"; then
1126 for ac_var
in $ac_subst_files
1128 eval ac_val
=$
`echo $ac_var`
1129 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -s confdefs.h
; then
1141 sed "/^$/d" confdefs.h |
sort
1144 test "$ac_signal" != 0 &&
1145 echo "$as_me: caught signal $ac_signal"
1146 echo "$as_me: exit $exit_status"
1148 rm -f core
*.core
&&
1149 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1152 for ac_signal in 1 2 13 15; do
1153 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1157 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1158 rm -rf conftest* confdefs.h
1159 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1162 # Predefined preprocessor variables.
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_NAME "$PACKAGE_NAME"
1169 cat >>confdefs.h <<_ACEOF
1170 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_STRING "$PACKAGE_STRING"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1189 # Let the site file select an alternate cache file if it wants to.
1190 # Prefer explicitly selected file to automatically selected ones.
1191 if test -z "$CONFIG_SITE"; then
1192 if test "x$prefix" != xNONE; then
1193 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1195 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1198 for ac_site_file in $CONFIG_SITE; do
1199 if test -r "$ac_site_file"; then
1200 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1201 echo "$as_me: loading site script $ac_site_file" >&6;}
1202 sed 's
/^
/|
/' "$ac_site_file" >&5
1207 if test -r "$cache_file"; then
1208 # Some versions of bash will fail to source /dev/null (special
1209 # files actually), so we avoid doing that.
1210 if test -f "$cache_file"; then
1211 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1212 echo "$as_me: loading cache $cache_file" >&6;}
1214 [\\/]* | ?:[\\/]* ) . $cache_file;;
1215 *) . ./$cache_file;;
1219 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1220 echo "$as_me: creating cache $cache_file" >&6;}
1224 # Check that the precious variables saved in the cache have kept the same
1226 ac_cache_corrupted=false
1227 for ac_var in `(set) 2>&1 |
1228 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1229 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1230 eval ac_new_set=\$ac_env_${ac_var}_set
1231 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1232 eval ac_new_val="\$ac_env_${ac_var}_value"
1233 case $ac_old_set,$ac_new_set in
1235 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1236 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1237 ac_cache_corrupted=: ;;
1239 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1240 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1241 ac_cache_corrupted=: ;;
1244 if test "x$ac_old_val" != "x$ac_new_val"; then
1245 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1246 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1247 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1248 echo "$as_me: former value: $ac_old_val" >&2;}
1249 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1250 echo "$as_me: current value: $ac_new_val" >&2;}
1251 ac_cache_corrupted=:
1254 # Pass precious variables to config.status.
1255 if test "$ac_new_set" = set; then
1257 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1258 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1259 *) ac_arg=$ac_var=$ac_new_val ;;
1261 case " $ac_configure_args " in
1262 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1263 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1267 if $ac_cache_corrupted; then
1268 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1269 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1270 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1271 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1272 { (exit 1); exit 1; }; }
1276 ac_cpp='$CPP $CPPFLAGS'
1277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1278 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1309 ac_config_headers="$ac_config_headers config.h"
1313 ac_cpp='$CPP $CPPFLAGS'
1314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1315 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1317 if test -n "$ac_tool_prefix"; then
1318 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1319 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1320 echo "$as_me:$LINENO: checking for $ac_word" >&5
1321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1322 if test "${ac_cv_prog_CC+set}" = set; then
1323 echo $ECHO_N "(cached) $ECHO_C" >&6
1325 if test -n "$CC"; then
1326 ac_cv_prog_CC="$CC" # Let the user override the test.
1328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1332 test -z "$as_dir" && as_dir=.
1333 for ac_exec_ext in '' $ac_executable_extensions; do
1334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1335 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1345 if test -n "$CC"; then
1346 echo "$as_me:$LINENO: result: $CC" >&5
1347 echo "${ECHO_T}$CC" >&6
1349 echo "$as_me:$LINENO: result: no" >&5
1350 echo "${ECHO_T}no" >&6
1354 if test -z "$ac_cv_prog_CC"; then
1356 # Extract the first word of "gcc", so it can be a program name with args.
1357 set dummy gcc; ac_word=$2
1358 echo "$as_me:$LINENO: checking for $ac_word" >&5
1359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1360 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1361 echo $ECHO_N "(cached) $ECHO_C" >&6
1363 if test -n "$ac_ct_CC"; then
1364 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1370 test -z "$as_dir" && as_dir=.
1371 for ac_exec_ext in '' $ac_executable_extensions; do
1372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1373 ac_cv_prog_ac_ct_CC="gcc"
1374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1382 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1383 if test -n "$ac_ct_CC"; then
1384 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1385 echo "${ECHO_T}$ac_ct_CC" >&6
1387 echo "$as_me:$LINENO: result: no" >&5
1388 echo "${ECHO_T}no" >&6
1396 if test -z "$CC"; then
1397 if test -n "$ac_tool_prefix"; then
1398 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1399 set dummy ${ac_tool_prefix}cc; ac_word=$2
1400 echo "$as_me:$LINENO: checking for $ac_word" >&5
1401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1402 if test "${ac_cv_prog_CC+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 if test -n "$CC"; then
1406 ac_cv_prog_CC="$CC" # Let the user override the test.
1408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1412 test -z "$as_dir" && as_dir=.
1413 for ac_exec_ext in '' $ac_executable_extensions; do
1414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1415 ac_cv_prog_CC="${ac_tool_prefix}cc"
1416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1425 if test -n "$CC"; then
1426 echo "$as_me:$LINENO: result: $CC" >&5
1427 echo "${ECHO_T}$CC" >&6
1429 echo "$as_me:$LINENO: result: no" >&5
1430 echo "${ECHO_T}no" >&6
1434 if test -z "$ac_cv_prog_CC"; then
1436 # Extract the first word of "cc", so it can be a program name with args.
1437 set dummy cc; ac_word=$2
1438 echo "$as_me:$LINENO: checking for $ac_word" >&5
1439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1440 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1441 echo $ECHO_N "(cached) $ECHO_C" >&6
1443 if test -n "$ac_ct_CC"; then
1444 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1450 test -z "$as_dir" && as_dir=.
1451 for ac_exec_ext in '' $ac_executable_extensions; do
1452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1453 ac_cv_prog_ac_ct_CC="cc"
1454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1462 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1463 if test -n "$ac_ct_CC"; then
1464 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1465 echo "${ECHO_T}$ac_ct_CC" >&6
1467 echo "$as_me:$LINENO: result: no" >&5
1468 echo "${ECHO_T}no" >&6
1477 if test -z "$CC"; then
1478 # Extract the first word of "cc", so it can be a program name with args.
1479 set dummy cc; ac_word=$2
1480 echo "$as_me:$LINENO: checking for $ac_word" >&5
1481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1482 if test "${ac_cv_prog_CC+set}" = set; then
1483 echo $ECHO_N "(cached) $ECHO_C" >&6
1485 if test -n "$CC"; then
1486 ac_cv_prog_CC="$CC" # Let the user override the test.
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1497 ac_prog_rejected=yes
1501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1507 if test $ac_prog_rejected = yes; then
1508 # We found a bogon in the path, so make sure we never use it.
1509 set dummy $ac_cv_prog_CC
1511 if test $# != 0; then
1512 # We chose a different compiler from the bogus one.
1513 # However, it has the same basename, so the bogon will be chosen
1514 # first if we set CC to just the basename; use the full file name.
1516 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1522 if test -n "$CC"; then
1523 echo "$as_me:$LINENO: result: $CC" >&5
1524 echo "${ECHO_T}$CC" >&6
1526 echo "$as_me:$LINENO: result: no" >&5
1527 echo "${ECHO_T}no" >&6
1531 if test -z "$CC"; then
1532 if test -n "$ac_tool_prefix"; then
1535 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1536 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1537 echo "$as_me:$LINENO: checking for $ac_word" >&5
1538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1539 if test "${ac_cv_prog_CC+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1542 if test -n "$CC"; then
1543 ac_cv_prog_CC="$CC" # Let the user override the test.
1545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549 test -z "$as_dir" && as_dir=.
1550 for ac_exec_ext in '' $ac_executable_extensions; do
1551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1552 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1562 if test -n "$CC"; then
1563 echo "$as_me:$LINENO: result: $CC" >&5
1564 echo "${ECHO_T}$CC" >&6
1566 echo "$as_me:$LINENO: result: no" >&5
1567 echo "${ECHO_T}no" >&6
1570 test -n "$CC" && break
1573 if test -z "$CC"; then
1577 # Extract the first word of "$ac_prog", so it can be a program name with args.
1578 set dummy $ac_prog; ac_word=$2
1579 echo "$as_me:$LINENO: checking for $ac_word" >&5
1580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 if test -n "$ac_ct_CC"; then
1585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1591 test -z "$as_dir" && as_dir=.
1592 for ac_exec_ext in '' $ac_executable_extensions; do
1593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1594 ac_cv_prog_ac_ct_CC="$ac_prog"
1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1603 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1604 if test -n "$ac_ct_CC"; then
1605 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1606 echo "${ECHO_T}$ac_ct_CC" >&6
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1612 test -n "$ac_ct_CC" && break
1621 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1622 See \`config.log' for more details.
" >&5
1623 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1624 See \
`config.log' for more details." >&2;}
1625 { (exit 1); exit 1; }; }
1627 # Provide some information about the compiler.
1628 echo "$as_me:$LINENO:" \
1629 "checking for C compiler version" >&5
1630 ac_compiler=`set X
$ac_compile; echo $2`
1631 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1632 (eval $ac_compiler --version </dev/null >&5) 2>&5
1634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1635 (exit $ac_status); }
1636 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1637 (eval $ac_compiler -v </dev/null >&5) 2>&5
1639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1640 (exit $ac_status); }
1641 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1642 (eval $ac_compiler -V </dev/null >&5) 2>&5
1644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1645 (exit $ac_status); }
1647 cat >conftest.$ac_ext <<_ACEOF
1650 cat confdefs.h >>conftest.$ac_ext
1651 cat >>conftest.$ac_ext <<_ACEOF
1652 /* end confdefs.h. */
1662 ac_clean_files_save=$ac_clean_files
1663 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1664 # Try to create an executable without -o first, disregard a.out.
1665 # It will help us diagnose broken compilers, and finding out an intuition
1667 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1668 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1669 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1670 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1671 (eval $ac_link_default) 2>&5
1673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1674 (exit $ac_status); }; then
1675 # Find the output, starting from the most likely. This scheme is
1676 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1679 # Be careful to initialize this variable, since it used to be cached.
1680 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1682 # b.out is created by i960 compilers.
1683 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1685 test -f "$ac_file" || continue
1687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1690 # This is the source file.
1693 # We found the default executable, but exeext='' is most
1697 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1698 # FIXME: I believe we export ac_cv_exeext for Libtool,
1699 # but it would be cool to find out if it's true. Does anybody
1700 # maintain Libtool? --akim.
1708 echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1711 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1712 See \`config.log
' for more details." >&5
1713 echo "$as_me: error: C compiler cannot create executables
1714 See \`config.log' for more details.
" >&2;}
1715 { (exit 77); exit 77; }; }
1718 ac_exeext=$ac_cv_exeext
1719 echo "$as_me:$LINENO: result
: $ac_file" >&5
1720 echo "${ECHO_T}$ac_file" >&6
1722 # Check the compiler produces executables we can run. If not, either
1723 # the compiler is broken, or we cross compile.
1724 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1725 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1726 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1727 # If not cross compiling, check that we can run a simple program.
1728 if test "$cross_compiling" != yes; then
1729 if { ac_try='./$ac_file'
1730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1733 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1734 (exit $ac_status); }; }; then
1737 if test "$cross_compiling" = maybe; then
1740 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1741 If you meant to cross compile
, use \
`--host'.
1742 See \`config.log
' for more details." >&5
1743 echo "$as_me: error: cannot run C compiled programs.
1744 If you meant to cross compile, use \`--host'.
1745 See \
`config.log' for more details." >&2;}
1746 { (exit 1); exit 1; }; }
1750 echo "$as_me:$LINENO: result: yes" >&5
1751 echo "${ECHO_T}yes" >&6
1753 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1754 ac_clean_files=$ac_clean_files_save
1755 # Check the compiler produces executables we can run. If not, either
1756 # the compiler is broken, or we cross compile.
1757 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1758 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1759 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1760 echo "${ECHO_T}$cross_compiling" >&6
1762 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1763 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1765 (eval $ac_link) 2>&5
1767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1768 (exit $ac_status); }; then
1769 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1770 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1771 # work properly (i.e., refer to `conftest.exe'), while it won't with
1773 for ac_file
in conftest.exe conftest conftest.
*; do
1774 test -f "$ac_file" ||
continue
1776 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1777 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1784 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1785 See \`config.log' for more details." >&5
1786 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1787 See \`config.log' for more details." >&2;}
1788 { (exit 1); exit 1; }; }
1791 rm -f conftest
$ac_cv_exeext
1792 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1793 echo "${ECHO_T}$ac_cv_exeext" >&6
1795 rm -f conftest.
$ac_ext
1796 EXEEXT
=$ac_cv_exeext
1798 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1799 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1800 if test "${ac_cv_objext+set}" = set; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1803 cat >conftest.
$ac_ext <<_ACEOF
1806 cat confdefs.h
>>conftest.
$ac_ext
1807 cat >>conftest.
$ac_ext <<_ACEOF
1808 /* end confdefs.h. */
1818 rm -f conftest.o conftest.obj
1819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1820 (eval $ac_compile) 2>&5
1822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823 (exit $ac_status); }; then
1824 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1826 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1827 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1832 echo "$as_me: failed program was:" >&5
1833 sed 's/^/| /' conftest.
$ac_ext >&5
1835 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1836 See \`config.log' for more details." >&5
1837 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1838 See \`config.log' for more details." >&2;}
1839 { (exit 1); exit 1; }; }
1842 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1844 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1845 echo "${ECHO_T}$ac_cv_objext" >&6
1846 OBJEXT
=$ac_cv_objext
1848 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1849 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1850 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 cat >conftest.
$ac_ext <<_ACEOF
1856 cat confdefs.h
>>conftest.
$ac_ext
1857 cat >>conftest.
$ac_ext <<_ACEOF
1858 /* end confdefs.h. */
1871 rm -f conftest.
$ac_objext
1872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1873 (eval $ac_compile) 2>conftest.er1
1875 grep -v '^ *+' conftest.er1
>conftest.err
1877 cat conftest.err
>&5
1878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1879 (exit $ac_status); } &&
1880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; } &&
1886 { ac_try
='test -s conftest.$ac_objext'
1887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1891 (exit $ac_status); }; }; then
1894 echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.
$ac_ext >&5
1899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1900 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1903 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1904 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1905 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1906 ac_test_CFLAGS
=${CFLAGS+set}
1907 ac_save_CFLAGS
=$CFLAGS
1909 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1910 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1911 if test "${ac_cv_prog_cc_g+set}" = set; then
1912 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 cat >conftest.
$ac_ext <<_ACEOF
1917 cat confdefs.h
>>conftest.
$ac_ext
1918 cat >>conftest.
$ac_ext <<_ACEOF
1919 /* end confdefs.h. */
1929 rm -f conftest.
$ac_objext
1930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1931 (eval $ac_compile) 2>conftest.er1
1933 grep -v '^ *+' conftest.er1
>conftest.err
1935 cat conftest.err
>&5
1936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1937 (exit $ac_status); } &&
1938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; } &&
1944 { ac_try
='test -s conftest.$ac_objext'
1945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949 (exit $ac_status); }; }; then
1952 echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.
$ac_ext >&5
1957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1959 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1960 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1961 if test "$ac_test_CFLAGS" = set; then
1962 CFLAGS
=$ac_save_CFLAGS
1963 elif test $ac_cv_prog_cc_g = yes; then
1964 if test "$GCC" = yes; then
1970 if test "$GCC" = yes; then
1976 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1977 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1978 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1981 ac_cv_prog_cc_stdc
=no
1983 cat >conftest.
$ac_ext <<_ACEOF
1986 cat confdefs.h
>>conftest.
$ac_ext
1987 cat >>conftest.
$ac_ext <<_ACEOF
1988 /* end confdefs.h. */
1991 #include <sys/types.h>
1992 #include <sys/stat.h>
1993 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1994 struct buf { int x; };
1995 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1996 static char *e (p, i)
2002 static char *f (char * (*g) (char **, int), char **p, ...)
2007 s = g (p, va_arg (v,int));
2012 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2013 function prototypes and stuff, but not '\xHH' hex character constants.
2014 These don't provoke an error unfortunately, instead are silently treated
2015 as 'x'. The following induces an error, until -std1 is added to get
2016 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2017 array size at least. It's necessary to write '\x00'==0 to get something
2018 that's true only with -std1. */
2019 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2021 int test (int i, double x);
2022 struct s1 {int (*f) (int a);};
2023 struct s2 {int (*f) (double a);};
2024 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2030 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2035 # Don't try gcc -ansi; that turns off useful extensions and
2036 # breaks some systems' header files.
2037 # AIX -qlanglvl=ansi
2038 # Ultrix and OSF/1 -std1
2039 # HP-UX 10.20 and later -Ae
2040 # HP-UX older versions -Aa -D_HPUX_SOURCE
2041 # SVR4 -Xc -D__EXTENSIONS__
2042 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2044 CC
="$ac_save_CC $ac_arg"
2045 rm -f conftest.
$ac_objext
2046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2047 (eval $ac_compile) 2>conftest.er1
2049 grep -v '^ *+' conftest.er1
>conftest.err
2051 cat conftest.err
>&5
2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2053 (exit $ac_status); } &&
2054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059 (exit $ac_status); }; } &&
2060 { ac_try
='test -s conftest.$ac_objext'
2061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }; }; then
2066 ac_cv_prog_cc_stdc
=$ac_arg
2069 echo "$as_me: failed program was:" >&5
2070 sed 's/^/| /' conftest.
$ac_ext >&5
2073 rm -f conftest.err conftest.
$ac_objext
2075 rm -f conftest.
$ac_ext conftest.
$ac_objext
2080 case "x$ac_cv_prog_cc_stdc" in
2082 echo "$as_me:$LINENO: result: none needed" >&5
2083 echo "${ECHO_T}none needed" >&6 ;;
2085 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2086 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2087 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2090 # Some people use a C++ compiler to compile C. Since we use `exit',
2091 # in C++ we need to declare it. In case someone uses the same compiler
2092 # for both compiling C and C++ we need to have the C++ compiler decide
2093 # the declaration of exit, since it's the most demanding environment.
2094 cat >conftest.
$ac_ext <<_ACEOF
2099 rm -f conftest.
$ac_objext
2100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2101 (eval $ac_compile) 2>conftest.er1
2103 grep -v '^ *+' conftest.er1
>conftest.err
2105 cat conftest.err
>&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); } &&
2108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }; } &&
2114 { ac_try
='test -s conftest.$ac_objext'
2115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; }; then
2120 for ac_declaration
in \
2122 'extern "C" void std::exit (int) throw (); using std::exit;' \
2123 'extern "C" void std::exit (int); using std::exit;' \
2124 'extern "C" void exit (int) throw ();' \
2125 'extern "C" void exit (int);' \
2128 cat >conftest.
$ac_ext <<_ACEOF
2131 cat confdefs.h
>>conftest.
$ac_ext
2132 cat >>conftest.
$ac_ext <<_ACEOF
2133 /* end confdefs.h. */
2144 rm -f conftest.
$ac_objext
2145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2146 (eval $ac_compile) 2>conftest.er1
2148 grep -v '^ *+' conftest.er1
>conftest.err
2150 cat conftest.err
>&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); } &&
2153 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; } &&
2159 { ac_try
='test -s conftest.$ac_objext'
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; }; then
2167 echo "$as_me: failed program was:" >&5
2168 sed 's/^/| /' conftest.
$ac_ext >&5
2172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2173 cat >conftest.
$ac_ext <<_ACEOF
2176 cat confdefs.h
>>conftest.
$ac_ext
2177 cat >>conftest.
$ac_ext <<_ACEOF
2178 /* end confdefs.h. */
2188 rm -f conftest.
$ac_objext
2189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2190 (eval $ac_compile) 2>conftest.er1
2192 grep -v '^ *+' conftest.er1
>conftest.err
2194 cat conftest.err
>&5
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); } &&
2197 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); }; } &&
2203 { ac_try
='test -s conftest.$ac_objext'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; }; then
2211 echo "$as_me: failed program was:" >&5
2212 sed 's/^/| /' conftest.
$ac_ext >&5
2215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2218 if test -n "$ac_declaration"; then
2219 echo '#ifdef __cplusplus' >>confdefs.h
2220 echo $ac_declaration >>confdefs.h
2221 echo '#endif' >>confdefs.h
2225 echo "$as_me: failed program was:" >&5
2226 sed 's/^/| /' conftest.
$ac_ext >&5
2229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2231 ac_cpp
='$CPP $CPPFLAGS'
2232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2238 ac_cpp
='$CPP $CPPFLAGS'
2239 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2240 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2241 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2242 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2243 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2244 # On Suns, sometimes $CPP names a directory.
2245 if test -n "$CPP" && test -d "$CPP"; then
2248 if test -z "$CPP"; then
2249 if test "${ac_cv_prog_CPP+set}" = set; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2252 # Double quotes because CPP needs to be expanded
2253 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2256 for ac_c_preproc_warn_flag
in '' yes
2258 # Use a header file that comes with gcc, so configuring glibc
2259 # with a fresh cross-compiler works.
2260 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2261 # <limits.h> exists even on freestanding compilers.
2262 # On the NeXT, cc -E runs the code through the compiler's parser,
2263 # not just through cpp. "Syntax error" is here to catch this case.
2264 cat >conftest.
$ac_ext <<_ACEOF
2267 cat confdefs.h
>>conftest.
$ac_ext
2268 cat >>conftest.
$ac_ext <<_ACEOF
2269 /* end confdefs.h. */
2271 # include <limits.h>
2273 # include <assert.h>
2277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2278 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2280 grep -v '^ *+' conftest.er1
>conftest.err
2282 cat conftest.err
>&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); } >/dev
/null
; then
2285 if test -s conftest.err
; then
2286 ac_cpp_err
=$ac_c_preproc_warn_flag
2287 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2294 if test -z "$ac_cpp_err"; then
2297 echo "$as_me: failed program was:" >&5
2298 sed 's/^/| /' conftest.
$ac_ext >&5
2300 # Broken: fails on valid input.
2303 rm -f conftest.err conftest.
$ac_ext
2305 # OK, works on sane cases. Now check whether non-existent headers
2306 # can be detected and how.
2307 cat >conftest.
$ac_ext <<_ACEOF
2310 cat confdefs.h
>>conftest.
$ac_ext
2311 cat >>conftest.
$ac_ext <<_ACEOF
2312 /* end confdefs.h. */
2313 #include <ac_nonexistent.h>
2315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2316 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2318 grep -v '^ *+' conftest.er1
>conftest.err
2320 cat conftest.err
>&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); } >/dev
/null
; then
2323 if test -s conftest.err
; then
2324 ac_cpp_err
=$ac_c_preproc_warn_flag
2325 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2332 if test -z "$ac_cpp_err"; then
2333 # Broken: success on invalid input.
2336 echo "$as_me: failed program was:" >&5
2337 sed 's/^/| /' conftest.
$ac_ext >&5
2339 # Passes both tests.
2343 rm -f conftest.err conftest.
$ac_ext
2346 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2347 rm -f conftest.err conftest.
$ac_ext
2348 if $ac_preproc_ok; then
2360 echo "$as_me:$LINENO: result: $CPP" >&5
2361 echo "${ECHO_T}$CPP" >&6
2363 for ac_c_preproc_warn_flag
in '' yes
2365 # Use a header file that comes with gcc, so configuring glibc
2366 # with a fresh cross-compiler works.
2367 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2368 # <limits.h> exists even on freestanding compilers.
2369 # On the NeXT, cc -E runs the code through the compiler's parser,
2370 # not just through cpp. "Syntax error" is here to catch this case.
2371 cat >conftest.
$ac_ext <<_ACEOF
2374 cat confdefs.h
>>conftest.
$ac_ext
2375 cat >>conftest.
$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2378 # include <limits.h>
2380 # include <assert.h>
2384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2385 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2387 grep -v '^ *+' conftest.er1
>conftest.err
2389 cat conftest.err
>&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } >/dev
/null
; then
2392 if test -s conftest.err
; then
2393 ac_cpp_err
=$ac_c_preproc_warn_flag
2394 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2401 if test -z "$ac_cpp_err"; then
2404 echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.
$ac_ext >&5
2407 # Broken: fails on valid input.
2410 rm -f conftest.err conftest.
$ac_ext
2412 # OK, works on sane cases. Now check whether non-existent headers
2413 # can be detected and how.
2414 cat >conftest.
$ac_ext <<_ACEOF
2417 cat confdefs.h
>>conftest.
$ac_ext
2418 cat >>conftest.
$ac_ext <<_ACEOF
2419 /* end confdefs.h. */
2420 #include <ac_nonexistent.h>
2422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2423 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2425 grep -v '^ *+' conftest.er1
>conftest.err
2427 cat conftest.err
>&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); } >/dev
/null
; then
2430 if test -s conftest.err
; then
2431 ac_cpp_err
=$ac_c_preproc_warn_flag
2432 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2439 if test -z "$ac_cpp_err"; then
2440 # Broken: success on invalid input.
2443 echo "$as_me: failed program was:" >&5
2444 sed 's/^/| /' conftest.
$ac_ext >&5
2446 # Passes both tests.
2450 rm -f conftest.err conftest.
$ac_ext
2453 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2454 rm -f conftest.err conftest.
$ac_ext
2455 if $ac_preproc_ok; then
2458 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2459 See \`config.log' for more details." >&5
2460 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2461 See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2466 ac_cpp
='$CPP $CPPFLAGS'
2467 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2468 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2469 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2472 echo "$as_me:$LINENO: checking for egrep" >&5
2473 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2474 if test "${ac_cv_prog_egrep+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2478 then ac_cv_prog_egrep
='grep -E'
2479 else ac_cv_prog_egrep
='egrep'
2482 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2483 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2484 EGREP
=$ac_cv_prog_egrep
2487 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2488 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2489 if test "${ac_cv_header_stdc+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 cat >conftest.
$ac_ext <<_ACEOF
2495 cat confdefs.h
>>conftest.
$ac_ext
2496 cat >>conftest.
$ac_ext <<_ACEOF
2497 /* end confdefs.h. */
2511 rm -f conftest.
$ac_objext
2512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2513 (eval $ac_compile) 2>conftest.er1
2515 grep -v '^ *+' conftest.er1
>conftest.err
2517 cat conftest.err
>&5
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); } &&
2520 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; } &&
2526 { ac_try
='test -s conftest.$ac_objext'
2527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; }; then
2532 ac_cv_header_stdc
=yes
2534 echo "$as_me: failed program was:" >&5
2535 sed 's/^/| /' conftest.
$ac_ext >&5
2537 ac_cv_header_stdc
=no
2539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2541 if test $ac_cv_header_stdc = yes; then
2542 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2543 cat >conftest.
$ac_ext <<_ACEOF
2546 cat confdefs.h
>>conftest.
$ac_ext
2547 cat >>conftest.
$ac_ext <<_ACEOF
2548 /* end confdefs.h. */
2552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2553 $EGREP "memchr" >/dev
/null
2>&1; then
2556 ac_cv_header_stdc
=no
2562 if test $ac_cv_header_stdc = yes; then
2563 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2564 cat >conftest.
$ac_ext <<_ACEOF
2567 cat confdefs.h
>>conftest.
$ac_ext
2568 cat >>conftest.
$ac_ext <<_ACEOF
2569 /* end confdefs.h. */
2573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2574 $EGREP "free" >/dev
/null
2>&1; then
2577 ac_cv_header_stdc
=no
2583 if test $ac_cv_header_stdc = yes; then
2584 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2585 if test "$cross_compiling" = yes; then
2588 cat >conftest.
$ac_ext <<_ACEOF
2591 cat confdefs.h
>>conftest.
$ac_ext
2592 cat >>conftest.
$ac_ext <<_ACEOF
2593 /* end confdefs.h. */
2595 #if ((' ' & 0x0FF) == 0x020)
2596 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2597 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2599 # define ISLOWER(c) \
2600 (('a' <= (c) && (c) <= 'i') \
2601 || ('j' <= (c) && (c) <= 'r') \
2602 || ('s' <= (c) && (c) <= 'z'))
2603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2611 for (i = 0; i < 256; i++)
2612 if (XOR (islower (i), ISLOWER (i))
2613 || toupper (i) != TOUPPER (i))
2618 rm -f conftest
$ac_exeext
2619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2620 (eval $ac_link) 2>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; }; then
2631 echo "$as_me: program exited with status $ac_status" >&5
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.
$ac_ext >&5
2636 ac_cv_header_stdc
=no
2638 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2642 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2643 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2644 if test $ac_cv_header_stdc = yes; then
2646 cat >>confdefs.h
<<\_ACEOF
2647 #define STDC_HEADERS 1
2652 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2662 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2663 inttypes.h stdint.h unistd.h
2665 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2666 echo "$as_me:$LINENO: checking for $ac_header" >&5
2667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 cat >conftest.
$ac_ext <<_ACEOF
2674 cat confdefs.h
>>conftest.
$ac_ext
2675 cat >>conftest.
$ac_ext <<_ACEOF
2676 /* end confdefs.h. */
2677 $ac_includes_default
2679 #include <$ac_header>
2681 rm -f conftest.
$ac_objext
2682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2683 (eval $ac_compile) 2>conftest.er1
2685 grep -v '^ *+' conftest.er1
>conftest.err
2687 cat conftest.err
>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } &&
2690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }; } &&
2696 { ac_try
='test -s conftest.$ac_objext'
2697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; }; then
2702 eval "$as_ac_Header=yes"
2704 echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.
$ac_ext >&5
2707 eval "$as_ac_Header=no"
2709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2714 cat >>confdefs.h
<<_ACEOF
2715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2724 for ac_header
in unistd.h
2726 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2728 echo "$as_me:$LINENO: checking for $ac_header" >&5
2729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2731 echo $ECHO_N "(cached) $ECHO_C" >&6
2733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2736 # Is the header compilable?
2737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2739 cat >conftest.
$ac_ext <<_ACEOF
2742 cat confdefs.h
>>conftest.
$ac_ext
2743 cat >>conftest.
$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2745 $ac_includes_default
2746 #include <$ac_header>
2748 rm -f conftest.
$ac_objext
2749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2750 (eval $ac_compile) 2>conftest.er1
2752 grep -v '^ *+' conftest.er1
>conftest.err
2754 cat conftest.err
>&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); } &&
2757 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }; } &&
2763 { ac_try
='test -s conftest.$ac_objext'
2764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); }; }; then
2769 ac_header_compiler
=yes
2771 echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.
$ac_ext >&5
2774 ac_header_compiler
=no
2776 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2778 echo "${ECHO_T}$ac_header_compiler" >&6
2780 # Is the header present?
2781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2783 cat >conftest.
$ac_ext <<_ACEOF
2786 cat confdefs.h
>>conftest.
$ac_ext
2787 cat >>conftest.
$ac_ext <<_ACEOF
2788 /* end confdefs.h. */
2789 #include <$ac_header>
2791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2792 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2794 grep -v '^ *+' conftest.er1
>conftest.err
2796 cat conftest.err
>&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } >/dev
/null
; then
2799 if test -s conftest.err
; then
2800 ac_cpp_err
=$ac_c_preproc_warn_flag
2801 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2808 if test -z "$ac_cpp_err"; then
2809 ac_header_preproc
=yes
2811 echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.
$ac_ext >&5
2814 ac_header_preproc
=no
2816 rm -f conftest.err conftest.
$ac_ext
2817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2818 echo "${ECHO_T}$ac_header_preproc" >&6
2820 # So? What about this header?
2821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2827 ac_header_preproc
=yes
2830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2844 ## ----------------------------- ##
2845 ## Report this to mike@iworks.at ##
2846 ## ----------------------------- ##
2849 sed "s/^/$as_me: WARNING: /" >&2
2852 echo "$as_me:$LINENO: checking for $ac_header" >&5
2853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2855 echo $ECHO_N "(cached) $ECHO_C" >&6
2857 eval "$as_ac_Header=\$ac_header_preproc"
2859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2864 cat >>confdefs.h
<<_ACEOF
2865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2872 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2873 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2874 if test "${ac_cv_c_const+set}" = set; then
2875 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 cat >conftest.
$ac_ext <<_ACEOF
2880 cat confdefs.h
>>conftest.
$ac_ext
2881 cat >>conftest.
$ac_ext <<_ACEOF
2882 /* end confdefs.h. */
2887 /* FIXME: Include the comments suggested by Paul. */
2889 /* Ultrix mips cc rejects this. */
2890 typedef int charset[2];
2892 /* SunOS 4.1.1 cc rejects this. */
2893 char const *const *ccp;
2895 /* NEC SVR4.0.2 mips cc rejects this. */
2896 struct point {int x, y;};
2897 static struct point const zero = {0,0};
2898 /* AIX XL C 1.02.0.0 rejects this.
2899 It does not let you subtract one const X* pointer from another in
2900 an arm of an if-expression whose if-part is not a constant
2902 const char *g = "string";
2903 ccp = &g + (g ? g-g : 0);
2904 /* HPUX 7.0 cc rejects these. */
2907 ccp = (char const *const *) p;
2908 { /* SCO 3.2v4 cc rejects this. */
2910 char const *s = 0 ? (char *) 0 : (char const *) 0;
2914 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2916 const int *foo = &x[0];
2919 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2920 typedef const int *iptr;
2924 { /* AIX XL C 1.02.0.0 rejects this saying
2925 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2926 struct s { int j; const int *ap[3]; };
2927 struct s *b; b->j = 5;
2929 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2938 rm -f conftest.
$ac_objext
2939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2940 (eval $ac_compile) 2>conftest.er1
2942 grep -v '^ *+' conftest.er1
>conftest.err
2944 cat conftest.err
>&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); } &&
2947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }; } &&
2953 { ac_try
='test -s conftest.$ac_objext'
2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; }; then
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.
$ac_ext >&5
2966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2968 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2969 echo "${ECHO_T}$ac_cv_c_const" >&6
2970 if test $ac_cv_c_const = no
; then
2972 cat >>confdefs.h
<<\_ACEOF
2978 echo "$as_me:$LINENO: checking for size_t" >&5
2979 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
2980 if test "${ac_cv_type_size_t+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2983 cat >conftest.
$ac_ext <<_ACEOF
2986 cat confdefs.h
>>conftest.
$ac_ext
2987 cat >>conftest.
$ac_ext <<_ACEOF
2988 /* end confdefs.h. */
2989 $ac_includes_default
2995 if (sizeof (size_t))
3001 rm -f conftest.
$ac_objext
3002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3003 (eval $ac_compile) 2>conftest.er1
3005 grep -v '^ *+' conftest.er1
>conftest.err
3007 cat conftest.err
>&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); } &&
3010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); }; } &&
3016 { ac_try
='test -s conftest.$ac_objext'
3017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); }; }; then
3022 ac_cv_type_size_t
=yes
3024 echo "$as_me: failed program was:" >&5
3025 sed 's/^/| /' conftest.
$ac_ext >&5
3027 ac_cv_type_size_t
=no
3029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3031 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3032 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3033 if test $ac_cv_type_size_t = yes; then
3037 cat >>confdefs.h
<<_ACEOF
3038 #define size_t unsigned
3043 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3044 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3045 if test "${ac_cv_header_stdc+set}" = set; then
3046 echo $ECHO_N "(cached) $ECHO_C" >&6
3048 cat >conftest.
$ac_ext <<_ACEOF
3051 cat confdefs.h
>>conftest.
$ac_ext
3052 cat >>conftest.
$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3067 rm -f conftest.
$ac_objext
3068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3069 (eval $ac_compile) 2>conftest.er1
3071 grep -v '^ *+' conftest.er1
>conftest.err
3073 cat conftest.err
>&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); } &&
3076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; } &&
3082 { ac_try
='test -s conftest.$ac_objext'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; }; then
3088 ac_cv_header_stdc
=yes
3090 echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.
$ac_ext >&5
3093 ac_cv_header_stdc
=no
3095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3097 if test $ac_cv_header_stdc = yes; then
3098 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3099 cat >conftest.
$ac_ext <<_ACEOF
3102 cat confdefs.h
>>conftest.
$ac_ext
3103 cat >>conftest.
$ac_ext <<_ACEOF
3104 /* end confdefs.h. */
3108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3109 $EGREP "memchr" >/dev
/null
2>&1; then
3112 ac_cv_header_stdc
=no
3118 if test $ac_cv_header_stdc = yes; then
3119 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3120 cat >conftest.
$ac_ext <<_ACEOF
3123 cat confdefs.h
>>conftest.
$ac_ext
3124 cat >>conftest.
$ac_ext <<_ACEOF
3125 /* end confdefs.h. */
3129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3130 $EGREP "free" >/dev
/null
2>&1; then
3133 ac_cv_header_stdc
=no
3139 if test $ac_cv_header_stdc = yes; then
3140 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3141 if test "$cross_compiling" = yes; then
3144 cat >conftest.
$ac_ext <<_ACEOF
3147 cat confdefs.h
>>conftest.
$ac_ext
3148 cat >>conftest.
$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3151 #if ((' ' & 0x0FF) == 0x020)
3152 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3153 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3155 # define ISLOWER(c) \
3156 (('a' <= (c) && (c) <= 'i') \
3157 || ('j' <= (c) && (c) <= 'r') \
3158 || ('s' <= (c) && (c) <= 'z'))
3159 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3162 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3167 for (i = 0; i < 256; i++)
3168 if (XOR (islower (i), ISLOWER (i))
3169 || toupper (i) != TOUPPER (i))
3174 rm -f conftest
$ac_exeext
3175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3176 (eval $ac_link) 2>&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); }; }; then
3187 echo "$as_me: program exited with status $ac_status" >&5
3188 echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.
$ac_ext >&5
3192 ac_cv_header_stdc
=no
3194 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3198 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3199 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3200 if test $ac_cv_header_stdc = yes; then
3202 cat >>confdefs.h
<<\_ACEOF
3203 #define STDC_HEADERS 1
3210 for ac_func
in memmove strchr
3212 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3213 echo "$as_me:$LINENO: checking for $ac_func" >&5
3214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3215 if eval "test \"\${$as_ac_var+set}\" = set"; then
3216 echo $ECHO_N "(cached) $ECHO_C" >&6
3218 cat >conftest.
$ac_ext <<_ACEOF
3221 cat confdefs.h
>>conftest.
$ac_ext
3222 cat >>conftest.
$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3226 #define $ac_func innocuous_$ac_func
3228 /* System header to define __stub macros and hopefully few prototypes,
3229 which can conflict with char $ac_func (); below.
3230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3231 <limits.h> exists even on freestanding compilers. */
3234 # include <limits.h>
3236 # include <assert.h>
3241 /* Override any gcc2 internal prototype to avoid an error. */
3246 /* We use char because int might match the return type of a gcc2
3247 builtin and then its argument prototype would still apply. */
3249 /* The GNU C library defines this for functions which it implements
3250 to always fail with ENOSYS. Some functions are actually named
3251 something starting with __ and the normal name is an alias. */
3252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3255 char (*f) () = $ac_func;
3264 return f != $ac_func;
3269 rm -f conftest.
$ac_objext conftest
$ac_exeext
3270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3271 (eval $ac_link) 2>conftest.er1
3273 grep -v '^ *+' conftest.er1
>conftest.err
3275 cat conftest.err
>&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } &&
3278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); }; } &&
3284 { ac_try
='test -s conftest$ac_exeext'
3285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); }; }; then
3290 eval "$as_ac_var=yes"
3292 echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.
$ac_ext >&5
3295 eval "$as_ac_var=no"
3297 rm -f conftest.err conftest.
$ac_objext \
3298 conftest
$ac_exeext conftest.
$ac_ext
3300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3302 if test `eval echo '${'$as_ac_var'}'` = yes; then
3303 cat >>confdefs.h
<<_ACEOF
3304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3312 # Check whether --with-apxs2 or --without-apxs2 was given.
3313 if test "${with_apxs2+set}" = set; then
3314 withval
="$with_apxs2"
3318 echo "$as_me:$LINENO: checking for apxs2" >&5
3319 echo $ECHO_N "checking for apxs2... $ECHO_C" >&6
3321 if test "$with_apxs2" -a -x "$with_apxs2"; then
3323 echo "$as_me:$LINENO: result: $APXS2" >&5
3324 echo "${ECHO_T}$APXS2" >&6
3326 apxs2
>/dev
/null
2>&1
3327 if test $?
-eq 1; then
3329 echo "$as_me:$LINENO: result: in \$PATH" >&5
3330 echo "${ECHO_T}in \$PATH" >&6
3332 echo "$as_me:$LINENO: result: " >&5
3333 echo "${ECHO_T} " >&6
3334 { { echo "$as_me:$LINENO: error: please specify path to the apxs2 tool through --with-apxs2" >&5
3335 echo "$as_me: error: please specify path to the apxs2 tool through --with-apxs2" >&2;}
3336 { (exit 1); exit 1; }; }
3342 ac_config_files
="$ac_config_files Makefile"
3343 cat >confcache
<<\_ACEOF
3344 # This file is a shell script that caches the results of configure
3345 # tests run on this system so they can be shared between configure
3346 # scripts and configure runs, see configure's option --config-cache.
3347 # It is not useful on other systems. If it contains results you don't
3348 # want to keep, you may remove or edit it.
3350 # config.status only pays attention to the cache file if you give it
3351 # the --recheck option to rerun configure.
3353 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3354 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3359 # The following way of writing the cache mishandles newlines in values,
3360 # but we know of no workaround that is simple, portable, and efficient.
3361 # So, don't put newlines in cache variables' values.
3362 # Ultrix sh set writes to stderr and can't be redirected directly,
3363 # and sets the high bit in the cache file unless we assign to the vars.
3366 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3368 # `set' does not quote correctly, so add quotes (double-quote
3369 # substitution turns \\\\ into \\, and sed turns \\ into \).
3372 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3375 # `set' quotes correctly as required by POSIX, so do not add quotes.
3377 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3384 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3386 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3388 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3389 if test -w $cache_file; then
3390 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3391 cat confcache
>$cache_file
3393 echo "not updating unwritable cache $cache_file"
3398 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3399 # Let make expand exec_prefix.
3400 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3402 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3403 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3404 # trailing colons and then remove the whole line if VPATH becomes empty
3405 # (actually we leave an empty line to preserve line numbers).
3406 if test "x$srcdir" = x.
; then
3407 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3408 s/:*\$(srcdir):*/:/;
3409 s/:*\${srcdir}:*/:/;
3411 s/^\([^=]*=[ ]*\):*/\1/;
3417 DEFS
=-DHAVE_CONFIG_H
3421 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3422 # 1. Remove the extension, and $U if already installed.
3423 ac_i
=`echo "$ac_i" |
3424 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3426 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
3427 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
3431 LTLIBOBJS
=$ac_ltlibobjs
3435 : ${CONFIG_STATUS=./config.status}
3436 ac_clean_files_save
=$ac_clean_files
3437 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3438 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3439 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3440 cat >$CONFIG_STATUS <<_ACEOF
3442 # Generated by $as_me.
3443 # Run this file to recreate the current configuration.
3444 # Compiler output produced by configure, useful for debugging
3445 # configure, is in config.log if it exists.
3450 SHELL=\${CONFIG_SHELL-$SHELL}
3453 cat >>$CONFIG_STATUS <<\_ACEOF
3454 ## --------------------- ##
3455 ## M4sh Initialization. ##
3456 ## --------------------- ##
3458 # Be Bourne compatible
3459 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
3462 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3463 # is contrary to our usage. Disable this feature.
3464 alias -g '${1+"$@"}'='"$@"'
3465 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
3468 DUALCASE
=1; export DUALCASE
# for MKS sh
3470 # Support unset when possible.
3471 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
3478 # Work around bugs in pre-3.0 UWIN ksh.
3479 $as_unset ENV MAIL MAILPATH
3486 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3487 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3488 LC_TELEPHONE LC_TIME
3490 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3491 eval $as_var=C
; export $as_var
3497 # Required to use basename.
3498 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3504 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
3505 as_basename
=basename
3511 # Name of the executable.
3512 as_me
=`$as_basename "$0" ||
3513 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3514 X"$0" : 'X\(//\)$' \| \
3515 X"$0" : 'X\(/\)$' \| \
3516 . : '\(.\)' 2>/dev/null ||
3518 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3519 /^X\/\(\/\/\)$/{ s//\1/; q; }
3520 /^X\/\(\/\).*/{ s//\1/; q; }
3524 # PATH needs CR, and LINENO needs CR and PATH.
3525 # Avoid depending upon Character Ranges.
3526 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3527 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3528 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3529 as_cr_digits
='0123456789'
3530 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3532 # The user is always right.
3533 if test "${PATH_SEPARATOR+set}" != set; then
3534 echo "#! /bin/sh" >conf$$.sh
3535 echo "exit 0" >>conf$$.sh
3537 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
3548 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3549 test "x$as_lineno_1" != "x$as_lineno_2" &&
3550 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
3551 # Find who we are. Look in the path if we contain no path at all
3554 *[\\/]* ) as_myself
=$0 ;;
3555 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir
=.
3560 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
3565 # We did not find ourselves, most probably we were run as `sh COMMAND'
3566 # in which case we are not to be found in the path.
3567 if test "x$as_myself" = x
; then
3570 if test ! -f "$as_myself"; then
3571 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3572 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3573 { (exit 1); exit 1; }; }
3575 case $CONFIG_SHELL in
3577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3578 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
3581 test -z "$as_dir" && as_dir
=.
3582 for as_base
in sh bash ksh sh5
; do
3585 if ("$as_dir/$as_base" -c '
3588 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3589 test "x$as_lineno_1" != "x$as_lineno_2" &&
3590 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
3591 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
3592 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
3593 CONFIG_SHELL
=$as_dir/$as_base
3595 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3603 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3604 # uniformly replaced by the line number. The first 'sed' inserts a
3605 # line-number line before each line; the second 'sed' does the real
3606 # work. The second script uses 'N' to pair each line-number line
3607 # with the numbered line, and appends trailing '-' during
3608 # substitution so that $LINENO is not a special case at line end.
3609 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3610 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3611 sed '=' <$as_myself |
3616 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3619 s,^['$as_cr_digits']*\n,,
3621 chmod +x
$as_me.lineno ||
3622 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3623 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3624 { (exit 1); exit 1; }; }
3626 # Don't try to exec as it changes $[0], causing all sort of problems
3627 # (the dirname of $[0] is not the place where we might find the
3628 # original and so on. Autoconf is especially sensible to this).
3630 # Exit status is that of the last command.
3635 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3636 *c
*,-n*) ECHO_N
= ECHO_C
='
3638 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3639 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3642 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3648 rm -f conf$$ conf$$.exe conf$$.
file
3650 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3651 # We could just check for DJGPP; but this test a) works b) is more generic
3652 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3653 if test -f conf$$.exe
; then
3654 # Don't use ln at all; we don't have any links
3659 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3664 rm -f conf$$ conf$$.exe conf$$.
file
3666 if mkdir
-p .
2>/dev
/null
; then
3669 test -d .
/-p && rmdir .
/-p
3673 as_executable_p
="test -f"
3675 # Sed expression to map a string onto a valid CPP name.
3676 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3678 # Sed expression to map a string onto a valid variable name.
3679 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3683 # We need space, tab and new line, in precisely that order.
3693 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3694 # report actual input values of CONFIG_FILES etc. instead of their
3695 # values after options handling. Logging --version etc. is OK.
3699 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3700 ## Running $as_me. ##
3705 This file was extended by mod_domaintree $as_me 1.3, which was
3706 generated by GNU Autoconf 2.59. Invocation command line was
3708 CONFIG_FILES = $CONFIG_FILES
3709 CONFIG_HEADERS = $CONFIG_HEADERS
3710 CONFIG_LINKS = $CONFIG_LINKS
3711 CONFIG_COMMANDS = $CONFIG_COMMANDS
3715 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3719 # Files that config.status was made for.
3720 if test -n "$ac_config_files"; then
3721 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3724 if test -n "$ac_config_headers"; then
3725 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3728 if test -n "$ac_config_links"; then
3729 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3732 if test -n "$ac_config_commands"; then
3733 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3736 cat >>$CONFIG_STATUS <<\_ACEOF
3739 \`$as_me' instantiates files from templates according to the
3740 current configuration.
3742 Usage: $0 [OPTIONS] [FILE]...
3744 -h, --help print this help, then exit
3745 -V, --version print version number, then exit
3746 -q, --quiet do not print progress messages
3747 -d, --debug don't remove temporary files
3748 --recheck update $as_me by reconfiguring in the same conditions
3749 --file=FILE[:TEMPLATE]
3750 instantiate the configuration file FILE
3751 --header=FILE[:TEMPLATE]
3752 instantiate the configuration header FILE
3754 Configuration files:
3757 Configuration headers:
3760 Report bugs to <bug-autoconf@gnu.org>."
3763 cat >>$CONFIG_STATUS <<_ACEOF
3765 mod_domaintree config.status 1.3
3766 configured by $0, generated by GNU Autoconf 2.59,
3767 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3769 Copyright (C) 2003 Free Software Foundation, Inc.
3770 This config.status script is free software; the Free Software Foundation
3771 gives unlimited permission to copy, distribute and modify it."
3775 cat >>$CONFIG_STATUS <<\_ACEOF
3776 # If no file are specified by the user, then we need to provide default
3777 # value. By we need to know if files were specified by the user.
3783 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3784 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3792 *) # This is not an option, so the user has probably given explicit
3795 ac_need_defaults
=false
;;
3799 # Handling of the options.
3801 cat >>$CONFIG_STATUS <<\_ACEOF
3802 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3804 --version |
--vers* |
-V )
3805 echo "$ac_cs_version"; exit 0 ;;
3807 # Conflict between --help and --header
3808 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3809 Try \`$0 --help' for more information." >&5
3810 echo "$as_me: error: ambiguous option: $1
3811 Try \`$0 --help' for more information." >&2;}
3812 { (exit 1); exit 1; }; };;
3813 --help |
--hel |
-h )
3814 echo "$ac_cs_usage"; exit 0 ;;
3815 --debug |
--d* |
-d )
3817 --file |
--fil |
--fi |
--f )
3819 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3820 ac_need_defaults
=false
;;
3821 --header |
--heade |
--head |
--hea )
3823 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
3824 ac_need_defaults
=false
;;
3825 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3826 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3830 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3831 Try \`$0 --help' for more information." >&5
3832 echo "$as_me: error: unrecognized option: $1
3833 Try \`$0 --help' for more information." >&2;}
3834 { (exit 1); exit 1; }; } ;;
3836 *) ac_config_targets
="$ac_config_targets $1" ;;
3842 ac_configure_extra_args
=
3844 if $ac_cs_silent; then
3846 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3850 cat >>$CONFIG_STATUS <<_ACEOF
3851 if \$ac_cs_recheck; then
3852 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3853 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3862 cat >>$CONFIG_STATUS <<\_ACEOF
3863 for ac_config_target
in $ac_config_targets
3865 case "$ac_config_target" in
3866 # Handling of arguments.
3867 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3868 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
3869 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3870 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3871 { (exit 1); exit 1; }; };;
3875 # If the user did not use the arguments to specify the items to instantiate,
3876 # then the envvar interface is used. Set only those that are not.
3877 # We use the long form for the default assignment because of an extremely
3878 # bizarre bug on SunOS 4.1.3.
3879 if $ac_need_defaults; then
3880 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3881 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
3884 # Have a temporary directory for convenience. Make it in the build tree
3885 # simply because there is no reason to put it here, and in addition,
3886 # creating and moving files from /tmp can sometimes cause problems.
3887 # Create a temporary directory, and hook for its removal unless debugging.
3890 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3891 trap '{ (exit 1); exit 1; }' 1 2 13 15
3894 # Create a (secure) tmp directory for tmp files.
3897 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3898 test -n "$tmp" && test -d "$tmp"
3901 tmp
=.
/confstat$$
-$RANDOM
3902 (umask 077 && mkdir
$tmp)
3905 echo "$me: cannot create a temporary directory in ." >&2
3906 { (exit 1); exit 1; }
3911 cat >>$CONFIG_STATUS <<_ACEOF
3914 # CONFIG_FILES section.
3917 # No need to generate the scripts if there are no CONFIG_FILES.
3918 # This happens for instance when ./config.status config.h
3919 if test -n "\$CONFIG_FILES"; then
3920 # Protect against being on the right side of a sed subst in config.status.
3921 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3922 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3923 s,@SHELL@,$SHELL,;t t
3924 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3925 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3926 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3927 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3928 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3929 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3930 s,@exec_prefix@,$exec_prefix,;t t
3931 s,@prefix@,$prefix,;t t
3932 s,@program_transform_name@,$program_transform_name,;t t
3933 s,@bindir@,$bindir,;t t
3934 s,@sbindir@,$sbindir,;t t
3935 s,@libexecdir@,$libexecdir,;t t
3936 s,@datadir@,$datadir,;t t
3937 s,@sysconfdir@,$sysconfdir,;t t
3938 s,@sharedstatedir@,$sharedstatedir,;t t
3939 s,@localstatedir@,$localstatedir,;t t
3940 s,@libdir@,$libdir,;t t
3941 s,@includedir@,$includedir,;t t
3942 s,@oldincludedir@,$oldincludedir,;t t
3943 s,@infodir@,$infodir,;t t
3944 s,@mandir@,$mandir,;t t
3945 s,@build_alias@,$build_alias,;t t
3946 s,@host_alias@,$host_alias,;t t
3947 s,@target_alias@,$target_alias,;t t
3949 s,@ECHO_C@,$ECHO_C,;t t
3950 s,@ECHO_N@,$ECHO_N,;t t
3951 s,@ECHO_T@,$ECHO_T,;t t
3954 s,@CFLAGS@,$CFLAGS,;t t
3955 s,@LDFLAGS@,$LDFLAGS,;t t
3956 s,@CPPFLAGS@,$CPPFLAGS,;t t
3957 s,@ac_ct_CC@,$ac_ct_CC,;t t
3958 s,@EXEEXT@,$EXEEXT,;t t
3959 s,@OBJEXT@,$OBJEXT,;t t
3961 s,@EGREP@,$EGREP,;t t
3962 s,@APXS2@,$APXS2,;t t
3963 s,@LIBOBJS@,$LIBOBJS,;t t
3964 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3969 cat >>$CONFIG_STATUS <<\_ACEOF
3970 # Split the substitutions into bite-sized pieces for seds with
3971 # small command number limits, like on Digital OSF/1 and HP-UX.
3973 ac_sed_frag
=1 # Number of current file.
3974 ac_beg
=1 # First line for current file.
3975 ac_end
=$ac_max_sed_lines # Line after last line for current file.
3978 while $ac_more_lines; do
3979 if test $ac_beg -gt 1; then
3980 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3982 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3984 if test ! -s $tmp/subs.frag
; then
3987 # The purpose of the label and of the branching condition is to
3988 # speed up the sed processing (if there are no `@' at all, there
3989 # is no need to browse any of the substitutions).
3990 # These are the two extra sed commands mentioned above.
3992 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
3993 if test -z "$ac_sed_cmds"; then
3994 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
3996 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3998 ac_sed_frag
=`expr $ac_sed_frag + 1`
4000 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4003 if test -z "$ac_sed_cmds"; then
4006 fi # test -n "$CONFIG_FILES"
4009 cat >>$CONFIG_STATUS <<\_ACEOF
4010 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4011 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4013 - |
*:- |
*:-:* ) # input from stdin
4015 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4016 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4017 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4018 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4019 * ) ac_file_in
=$ac_file.
in ;;
4022 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4023 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4024 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4025 X"$ac_file" : 'X\(//\)[^/]' \| \
4026 X"$ac_file" : 'X\(//\)$' \| \
4027 X"$ac_file" : 'X\(/\)' \| \
4028 . : '\(.\)' 2>/dev/null ||
4030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4032 /^X\(\/\/\)$/{ s//\1/; q; }
4033 /^X\(\/\).*/{ s//\1/; q; }
4035 { if $as_mkdir_p; then
4040 while test ! -d "$as_dir"; do
4041 as_dirs
="$as_dir $as_dirs"
4042 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4043 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4044 X"$as_dir" : 'X\(//\)[^/]' \| \
4045 X"$as_dir" : 'X\(//\)$' \| \
4046 X"$as_dir" : 'X\(/\)' \| \
4047 . : '\(.\)' 2>/dev/null ||
4049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4051 /^X\(\/\/\)$/{ s//\1/; q; }
4052 /^X\(\/\).*/{ s//\1/; q; }
4055 test ! -n "$as_dirs" || mkdir
$as_dirs
4056 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4057 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4058 { (exit 1); exit 1; }; }; }
4062 if test "$ac_dir" != .
; then
4063 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4064 # A "../" for each directory in $ac_dir_suffix.
4065 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4067 ac_dir_suffix
= ac_top_builddir
=
4071 .
) # No --srcdir option. We are building in place.
4073 if test -z "$ac_top_builddir"; then
4076 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4078 [\\/]* | ?
:[\\/]* ) # Absolute path.
4079 ac_srcdir
=$srcdir$ac_dir_suffix;
4080 ac_top_srcdir
=$srcdir ;;
4082 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4083 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4086 # Do not use `cd foo && pwd` to compute absolute paths, because
4087 # the directories may not exist.
4089 .
) ac_abs_builddir
="$ac_dir";;
4092 .
) ac_abs_builddir
=`pwd`;;
4093 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
4094 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
4097 case $ac_abs_builddir in
4098 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4100 case ${ac_top_builddir}.
in
4101 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
4102 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
4103 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
4106 case $ac_abs_builddir in
4107 .
) ac_abs_srcdir
=$ac_srcdir;;
4110 .
) ac_abs_srcdir
=$ac_abs_builddir;;
4111 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
4112 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
4115 case $ac_abs_builddir in
4116 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
4118 case $ac_top_srcdir in
4119 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
4120 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
4121 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
4127 # Let's still pretend it is `configure' which instantiates (i.e., don't
4128 # use $as_me), people would be surprised to read:
4129 # /* config.h. Generated by config.status. */
4130 if test x
"$ac_file" = x-
; then
4133 configure_input
="$ac_file. "
4135 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4136 sed 's,.*/,,'` by configure."
4138 # First look for the input files in the build tree, otherwise in the
4140 ac_file_inputs
=`IFS=:
4141 for f in $ac_file_in; do
4143 -) echo $tmp/stdin ;;
4145 # Absolute (can't be DOS-style, as IFS=:)
4146 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4147 echo "$as_me: error: cannot find input file: $f" >&2;}
4148 { (exit 1); exit 1; }; }
4151 if test -f "$f"; then
4154 elif test -f "$srcdir/$f"; then
4159 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4160 echo "$as_me: error: cannot find input file: $f" >&2;}
4161 { (exit 1); exit 1; }; }
4164 done` ||
{ (exit 1); exit 1; }
4166 if test x
"$ac_file" != x-
; then
4167 { echo "$as_me:$LINENO: creating $ac_file" >&5
4168 echo "$as_me: creating $ac_file" >&6;}
4172 cat >>$CONFIG_STATUS <<_ACEOF
4176 cat >>$CONFIG_STATUS <<\_ACEOF
4178 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4179 s
,@configure_input@
,$configure_input,;t t
4180 s
,@srcdir@
,$ac_srcdir,;t t
4181 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4182 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4183 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4184 s
,@builddir@
,$ac_builddir,;t t
4185 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4186 s
,@top_builddir@
,$ac_top_builddir,;t t
4187 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4188 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4190 if test x"$ac_file" != x-; then
4191 mv $tmp/out $ac_file
4199 cat >>$CONFIG_STATUS <<\_ACEOF
4202 # CONFIG_HEADER section.
4205 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
4206 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4208 # ac_d sets the value in "#define NAME VALUE" lines.
4209 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4210 ac_dB
='[ ].*$,\1#\2'
4213 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4214 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4215 ac_uB
='$,\1#\2define\3'
4219 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
4220 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4222 - |
*:- |
*:-:* ) # input from stdin
4224 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4225 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4226 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4227 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4228 * ) ac_file_in
=$ac_file.
in ;;
4231 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
4232 echo "$as_me: creating $ac_file" >&6;}
4234 # First look for the input files in the build tree, otherwise in the
4236 ac_file_inputs
=`IFS=:
4237 for f in $ac_file_in; do
4239 -) echo $tmp/stdin ;;
4241 # Absolute (can't be DOS-style, as IFS=:)
4242 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4243 echo "$as_me: error: cannot find input file: $f" >&2;}
4244 { (exit 1); exit 1; }; }
4245 # Do quote $f, to prevent DOS paths from being IFS'd.
4248 if test -f "$f"; then
4251 elif test -f "$srcdir/$f"; then
4256 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4257 echo "$as_me: error: cannot find input file: $f" >&2;}
4258 { (exit 1); exit 1; }; }
4261 done` ||
{ (exit 1); exit 1; }
4262 # Remove the trailing spaces.
4263 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4267 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4268 # `conftest.undefs', that substitutes the proper values into
4269 # config.h.in to produce config.h. The first handles `#define'
4270 # templates, and the second `#undef' templates.
4271 # And first: Protect against being on the right side of a sed subst in
4272 # config.status. Protect against being in an unquoted here document
4274 rm -f conftest.defines conftest.undefs
4275 # Using a here document instead of a string reduces the quoting nightmare.
4276 # Putting comments in sed scripts is not portable.
4278 # `end' is used to avoid that the second main sed command (meant for
4279 # 0-ary CPP macros) applies to n-ary macro definitions.
4280 # See the Autoconf documentation for `clear'.
4281 cat >confdef2sed.
sed <<\_ACEOF
4286 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4288 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4291 # If some macros were called several times there might be several times
4292 # the same #defines, which is useless. Nevertheless, we may not want to
4293 # sort them, since we want the *last* AC-DEFINE to be honored.
4294 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4295 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4296 rm -f confdef2sed.sed
4298 # This sed command replaces #undef with comments. This is necessary, for
4299 # example, in the case of _POSIX_SOURCE, which is predefined and required
4300 # on some systems where configure will not decide to define it.
4301 cat >>conftest.undefs <<\_ACEOF
4302 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4305 # Break up conftest.defines because some shells have a limit on the size
4306 # of here documents, and old seds have small limits too (100 cmds).
4307 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4308 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4309 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4310 echo ' :' >>$CONFIG_STATUS
4312 while grep . conftest.defines >/dev/null
4314 # Write a limited-size here document to $tmp/defines.sed.
4315 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4316 # Speed up: don't consider the non `#define' lines.
4317 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4318 # Work around the forget-to-reset-the-flag bug.
4319 echo 't clr' >>$CONFIG_STATUS
4320 echo ': clr' >>$CONFIG_STATUS
4321 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
4323 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4327 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
4328 rm -f conftest.defines
4329 mv conftest.
tail conftest.defines
4331 rm -f conftest.defines
4332 echo ' fi # grep' >>$CONFIG_STATUS
4333 echo >>$CONFIG_STATUS
4335 # Break up conftest.undefs because some shells have a limit on the size
4336 # of here documents, and old seds have small limits too (100 cmds).
4337 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4339 while grep . conftest.undefs
>/dev
/null
4341 # Write a limited-size here document to $tmp/undefs.sed.
4342 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4343 # Speed up: don't consider the non
`#undef'
4344 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4345 # Work around the forget-to-reset-the-flag bug.
4346 echo 't clr' >>$CONFIG_STATUS
4347 echo ': clr' >>$CONFIG_STATUS
4348 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4350 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4354 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4355 rm -f conftest.undefs
4356 mv conftest.tail conftest.undefs
4358 rm -f conftest.undefs
4360 cat >>$CONFIG_STATUS <<\_ACEOF
4361 # Let's still pretend it is `configure
' which instantiates (i.e., don't
4362 # use $as_me), people would be surprised to read:
4363 # /* config.h. Generated by config.status. */
4364 if test x
"$ac_file" = x-
; then
4365 echo "/* Generated by configure. */" >$tmp/config.h
4367 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4369 cat $tmp/in >>$tmp/config.h
4371 if test x
"$ac_file" != x-
; then
4372 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
4373 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4374 echo "$as_me: $ac_file is unchanged" >&6;}
4376 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4377 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4378 X"$ac_file" : 'X\(//\)[^/]' \| \
4379 X"$ac_file" : 'X\(//\)$' \| \
4380 X"$ac_file" : 'X\(/\)' \| \
4381 . : '\(.\)' 2>/dev/null ||
4383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4384 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4385 /^X\(\/\/\)$/{ s//\1/; q; }
4386 /^X\(\/\).*/{ s//\1/; q; }
4388 { if $as_mkdir_p; then
4393 while test ! -d "$as_dir"; do
4394 as_dirs
="$as_dir $as_dirs"
4395 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4396 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4397 X"$as_dir" : 'X\(//\)[^/]' \| \
4398 X"$as_dir" : 'X\(//\)$' \| \
4399 X"$as_dir" : 'X\(/\)' \| \
4400 . : '\(.\)' 2>/dev/null ||
4402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4404 /^X\(\/\/\)$/{ s//\1/; q; }
4405 /^X\(\/\).*/{ s//\1/; q; }
4408 test ! -n "$as_dirs" || mkdir
$as_dirs
4409 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4410 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4411 { (exit 1); exit 1; }; }; }
4414 mv $tmp/config.h
$ac_file
4423 cat >>$CONFIG_STATUS <<\_ACEOF
4425 { (exit 0); exit 0; }
4427 chmod +x
$CONFIG_STATUS
4428 ac_clean_files
=$ac_clean_files_save
4431 # configure is writing to config.log, and then calls config.status.
4432 # config.status does its own redirection, appending to config.log.
4433 # Unfortunately, on DOS this fails, as config.log is still kept open
4434 # by configure, so config.status won't be able to write to it; its
4435 # output is simply discarded. So we exec the FD to /dev/null,
4436 # effectively closing config.log, so it can be properly (re)opened and
4437 # appended to by config.status. When coming back to configure, we
4438 # need to make the FD available again.
4439 if test "$no_create" != yes; then
4441 ac_config_status_args
=
4442 test "$silent" = yes &&
4443 ac_config_status_args
="$ac_config_status_args --quiet"
4445 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4447 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4448 # would make configure fail if this is the last instruction.
4449 $ac_cs_success ||
{ (exit 1); exit 1; }