2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for mod_domaintree 1.5.
5 # Report bugs to <mike@iworks.at>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
26 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
27 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits
='0123456789'
36 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51 # Support unset when possible.
52 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself
=$0 ;;
71 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir
=.
76 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x
; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var
in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C
; export $as_var
109 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me
=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x
; then
153 if (eval ":") 2>/dev
/null
; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev
/null
; then
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
226 for as_base
in sh bash ksh sh5
; do
227 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
234 for as_shell
in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
249 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
250 DUALCASE
=1; export DUALCASE
# for MKS sh
255 CONFIG_SHELL
=$as_shell
257 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
269 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
270 DUALCASE
=1; export DUALCASE
# for MKS sh
282 as_func_ret_success
() {
285 as_func_ret_failure
() {
290 if as_func_success
; then
294 echo as_func_success failed.
297 if as_func_failure
; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success
; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure
; then
311 echo as_func_ret_failure succeeded.
314 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) ||
{ (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x
; then
339 for as_var
in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no
; then
348 echo This
script requires a shell
more modern than all the
349 echo shells that I found on your system. Please
install a
350 echo modern shell
, or manually run the
script under such a
351 echo shell
if you
do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") ||
{
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system
,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
468 ECHO_C
= ECHO_N
= ECHO_T
=
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
486 rm -f conf$$ conf$$.exe conf$$.
file
487 if test -d conf$$.dir
; then
488 rm -f conf$$.dir
/conf$$.
file
494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
513 test -d .
/-p && rmdir .
/-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.
file <<_ASEOF
524 if test -x conf$$.
file >/dev
/null
2>&1; then
525 as_executable_p
="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
560 PACKAGE_NAME
='mod_domaintree'
561 PACKAGE_TARNAME
='mod_domaintree'
562 PACKAGE_VERSION
='1.5'
563 PACKAGE_STRING
='mod_domaintree 1.5'
564 PACKAGE_BUGREPORT
='mike@iworks.at'
566 ac_unique_file
="mod_domaintree.c"
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
571 # include <sys/types.h>
574 # include <sys/stat.h>
585 # if !STDC_HEADERS && HAVE_MEMORY_H
591 # include <strings.h>
594 # include <inttypes.h>
612 program_transform_name
654 ac_precious_vars
='build_alias
664 # Initialize some variables set by options.
666 ac_init_version
=false
667 # The variables have the same names as the options, with
668 # dashes changed to underlines.
676 program_transform_name
=s
,x
,x
,
684 # Installation directory options.
685 # These are left unexpanded so users can "make install exec_prefix=/foo"
686 # and all the variables that are supposed to be based on exec_prefix
687 # by default will actually change.
688 # Use braces instead of parens because sh, perl, etc. also accept them.
689 # (The list follows the same order as the GNU Coding Standards.)
690 bindir
='${exec_prefix}/bin'
691 sbindir
='${exec_prefix}/sbin'
692 libexecdir
='${exec_prefix}/libexec'
693 datarootdir
='${prefix}/share'
694 datadir
='${datarootdir}'
695 sysconfdir
='${prefix}/etc'
696 sharedstatedir
='${prefix}/com'
697 localstatedir
='${prefix}/var'
698 includedir
='${prefix}/include'
699 oldincludedir
='/usr/include'
700 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
701 infodir
='${datarootdir}/info'
706 libdir
='${exec_prefix}/lib'
707 localedir
='${datarootdir}/locale'
708 mandir
='${datarootdir}/man'
714 # If the previous option needs an argument, assign it.
715 if test -n "$ac_prev"; then
716 eval $ac_prev=\
$ac_option
722 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
726 # Accept the important Cygnus configure options, so we can diagnose typos.
728 case $ac_dashdash$ac_option in
732 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
734 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
737 -build |
--build |
--buil |
--bui |
--bu)
738 ac_prev
=build_alias
;;
739 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
740 build_alias
=$ac_optarg ;;
742 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
743 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
744 ac_prev
=cache_file
;;
745 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
746 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
747 cache_file
=$ac_optarg ;;
750 cache_file
=config.cache
;;
752 -datadir |
--datadir |
--datadi |
--datad)
754 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
755 datadir
=$ac_optarg ;;
757 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
758 |
--dataroo |
--dataro |
--datar)
759 ac_prev
=datarootdir
;;
760 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
761 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
762 datarootdir
=$ac_optarg ;;
764 -disable-* |
--disable-*)
765 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
766 # Reject names that are not valid shell variable names.
767 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
768 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
769 { (exit 1); exit 1; }; }
770 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
771 eval enable_
$ac_feature=no
;;
773 -docdir |
--docdir |
--docdi |
--doc |
--do)
775 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
778 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
780 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
783 -enable-* |
--enable-*)
784 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
787 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
788 { (exit 1); exit 1; }; }
789 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
790 eval enable_
$ac_feature=\
$ac_optarg ;;
792 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
793 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
794 |
--exec |
--exe |
--ex)
795 ac_prev
=exec_prefix
;;
796 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
797 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
798 |
--exec=* |
--exe=* |
--ex=*)
799 exec_prefix
=$ac_optarg ;;
801 -gas |
--gas |
--ga |
--g)
802 # Obsolete; use --with-gas.
805 -help |
--help |
--hel |
--he |
-h)
807 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
808 ac_init_help
=recursive
;;
809 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
810 ac_init_help
=short
;;
812 -host |
--host |
--hos |
--ho)
813 ac_prev
=host_alias
;;
814 -host=* |
--host=* |
--hos=* |
--ho=*)
815 host_alias
=$ac_optarg ;;
817 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
819 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
821 htmldir
=$ac_optarg ;;
823 -includedir |
--includedir |
--includedi |
--included |
--include \
824 |
--includ |
--inclu |
--incl |
--inc)
825 ac_prev
=includedir
;;
826 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
827 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
828 includedir
=$ac_optarg ;;
830 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
832 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
833 infodir
=$ac_optarg ;;
835 -libdir |
--libdir |
--libdi |
--libd)
837 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
840 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
841 |
--libexe |
--libex |
--libe)
842 ac_prev
=libexecdir
;;
843 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
844 |
--libexe=* |
--libex=* |
--libe=*)
845 libexecdir
=$ac_optarg ;;
847 -localedir |
--localedir |
--localedi |
--localed |
--locale)
849 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
850 localedir
=$ac_optarg ;;
852 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
853 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
854 ac_prev
=localstatedir
;;
855 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
856 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
857 localstatedir
=$ac_optarg ;;
859 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
861 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
865 # Obsolete; use --without-fp.
868 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
869 |
--no-cr |
--no-c |
-n)
872 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
873 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
876 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
877 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
878 |
--oldin |
--oldi |
--old |
--ol |
--o)
879 ac_prev
=oldincludedir
;;
880 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
881 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
882 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
883 oldincludedir
=$ac_optarg ;;
885 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
887 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
890 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
891 |
--program-pre |
--program-pr |
--program-p)
892 ac_prev
=program_prefix
;;
893 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
894 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
895 program_prefix
=$ac_optarg ;;
897 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
898 |
--program-suf |
--program-su |
--program-s)
899 ac_prev
=program_suffix
;;
900 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
901 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
902 program_suffix
=$ac_optarg ;;
904 -program-transform-name |
--program-transform-name \
905 |
--program-transform-nam |
--program-transform-na \
906 |
--program-transform-n |
--program-transform- \
907 |
--program-transform |
--program-transfor \
908 |
--program-transfo |
--program-transf \
909 |
--program-trans |
--program-tran \
910 |
--progr-tra |
--program-tr |
--program-t)
911 ac_prev
=program_transform_name
;;
912 -program-transform-name=* |
--program-transform-name=* \
913 |
--program-transform-nam=* |
--program-transform-na=* \
914 |
--program-transform-n=* |
--program-transform-=* \
915 |
--program-transform=* |
--program-transfor=* \
916 |
--program-transfo=* |
--program-transf=* \
917 |
--program-trans=* |
--program-tran=* \
918 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
919 program_transform_name
=$ac_optarg ;;
921 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
923 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
926 -psdir |
--psdir |
--psdi |
--psd |
--ps)
928 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
931 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
932 |
-silent |
--silent |
--silen |
--sile |
--sil)
935 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
937 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
939 sbindir
=$ac_optarg ;;
941 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
942 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
943 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
945 ac_prev
=sharedstatedir
;;
946 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
947 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
948 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
950 sharedstatedir
=$ac_optarg ;;
952 -site |
--site |
--sit)
954 -site=* |
--site=* |
--sit=*)
957 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
959 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
962 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
963 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
964 ac_prev
=sysconfdir
;;
965 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
966 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
967 sysconfdir
=$ac_optarg ;;
969 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
970 ac_prev
=target_alias
;;
971 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
972 target_alias
=$ac_optarg ;;
974 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
977 -version |
--version |
--versio |
--versi |
--vers |
-V)
981 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
984 { echo "$as_me: error: invalid package name: $ac_package" >&2
985 { (exit 1); exit 1; }; }
986 ac_package
=`echo $ac_package| sed 's/-/_/g'`
987 eval with_
$ac_package=\
$ac_optarg ;;
989 -without-* |
--without-*)
990 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
991 # Reject names that are not valid shell variable names.
992 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
993 { echo "$as_me: error: invalid package name: $ac_package" >&2
994 { (exit 1); exit 1; }; }
995 ac_package
=`echo $ac_package | sed 's/-/_/g'`
996 eval with_
$ac_package=no
;;
999 # Obsolete; use --with-x.
1002 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1003 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1004 ac_prev
=x_includes
;;
1005 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1006 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1007 x_includes
=$ac_optarg ;;
1009 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1010 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1011 ac_prev
=x_libraries
;;
1012 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1013 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1014 x_libraries
=$ac_optarg ;;
1016 -*) { echo "$as_me: error: unrecognized option: $ac_option
1017 Try \`$0 --help' for more information." >&2
1018 { (exit 1); exit 1; }; }
1022 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1025 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1026 { (exit 1); exit 1; }; }
1027 eval $ac_envvar=\
$ac_optarg
1028 export $ac_envvar ;;
1031 # FIXME: should be removed in autoconf 3.0.
1032 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1033 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1034 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1035 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1041 if test -n "$ac_prev"; then
1042 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1043 { echo "$as_me: error: missing argument to $ac_option" >&2
1044 { (exit 1); exit 1; }; }
1047 # Be sure to have absolute directory names.
1048 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1049 datadir sysconfdir sharedstatedir localstatedir includedir \
1050 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1051 libdir localedir mandir
1053 eval ac_val
=\$
$ac_var
1055 [\\/$
]* | ?
:[\\/]* ) continue;;
1056 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1058 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1059 { (exit 1); exit 1; }; }
1062 # There might be people who depend on the old broken behavior: `$host'
1063 # used to hold the argument of --host etc.
1064 # FIXME: To remove some day.
1067 target
=$target_alias
1069 # FIXME: To remove some day.
1070 if test "x$host_alias" != x
; then
1071 if test "x$build_alias" = x
; then
1072 cross_compiling
=maybe
1073 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1074 If a cross compiler is detected then cross compile mode will be used." >&2
1075 elif test "x$build_alias" != "x$host_alias"; then
1081 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1083 test "$silent" = yes && exec 6>/dev
/null
1086 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1087 ac_ls_di
=`ls -di .` &&
1088 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1089 { echo "$as_me: error: Working directory cannot be determined" >&2
1090 { (exit 1); exit 1; }; }
1091 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1092 { echo "$as_me: error: pwd does not report name of working directory" >&2
1093 { (exit 1); exit 1; }; }
1096 # Find the source files, if location was not specified.
1097 if test -z "$srcdir"; then
1098 ac_srcdir_defaulted
=yes
1099 # Try the directory containing this script, then the parent directory.
1100 ac_confdir
=`$as_dirname -- "$0" ||
1101 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1102 X"$0" : 'X\(//\)[^/]' \| \
1103 X"$0" : 'X\(//\)$' \| \
1104 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1124 if test ! -r "$srcdir/$ac_unique_file"; then
1128 ac_srcdir_defaulted
=no
1130 if test ! -r "$srcdir/$ac_unique_file"; then
1131 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1132 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1133 { (exit 1); exit 1; }; }
1135 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1137 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1138 { (exit 1); exit 1; }; }
1140 # When building in place, set srcdir=.
1141 if test "$ac_abs_confdir" = "$ac_pwd"; then
1144 # Remove unnecessary trailing slashes from srcdir.
1145 # Double slashes in file names in object file debugging info
1146 # mess up M-x gdb in Emacs.
1148 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1150 for ac_var
in $ac_precious_vars; do
1151 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1152 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1153 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1154 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1158 # Report the --help message.
1160 if test "$ac_init_help" = "long"; then
1161 # Omit some internal or obsolete options to make the list less imposing.
1162 # This message is too long to be a string in the A/UX 3.1 sh.
1164 \`configure' configures mod_domaintree 1.5 to adapt to many kinds of systems.
1166 Usage: $0 [OPTION]... [VAR=VALUE]...
1168 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1169 VAR=VALUE. See below for descriptions of some of the useful variables.
1171 Defaults for the options are specified in brackets.
1174 -h, --help display this help and exit
1175 --help=short display options specific to this package
1176 --help=recursive display the short help of all the included packages
1177 -V, --version display version information and exit
1178 -q, --quiet, --silent do not print \`checking...' messages
1179 --cache-file=FILE cache test results in FILE [disabled]
1180 -C, --config-cache alias for \`--cache-file=config.cache'
1181 -n, --no-create do not create output files
1182 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1184 Installation directories:
1185 --prefix=PREFIX install architecture-independent files in PREFIX
1186 [$ac_default_prefix]
1187 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1190 By default, \`make install' will install all the files in
1191 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1192 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1193 for instance \`--prefix=\$HOME'.
1195 For better control, use the options below.
1197 Fine tuning of the installation directories:
1198 --bindir=DIR user executables [EPREFIX/bin]
1199 --sbindir=DIR system admin executables [EPREFIX/sbin]
1200 --libexecdir=DIR program executables [EPREFIX/libexec]
1201 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1202 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1203 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1204 --libdir=DIR object code libraries [EPREFIX/lib]
1205 --includedir=DIR C header files [PREFIX/include]
1206 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1207 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1208 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1209 --infodir=DIR info documentation [DATAROOTDIR/info]
1210 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1211 --mandir=DIR man documentation [DATAROOTDIR/man]
1212 --docdir=DIR documentation root [DATAROOTDIR/doc/mod_domaintree]
1213 --htmldir=DIR html documentation [DOCDIR]
1214 --dvidir=DIR dvi documentation [DOCDIR]
1215 --pdfdir=DIR pdf documentation [DOCDIR]
1216 --psdir=DIR ps documentation [DOCDIR]
1223 if test -n "$ac_init_help"; then
1224 case $ac_init_help in
1225 short | recursive
) echo "Configuration of mod_domaintree 1.5:";;
1230 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1231 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1232 --with-apxs2 where the apxs2 tool is located
1234 Some influential environment variables
:
1235 CC C compiler
command
1236 CFLAGS C compiler flags
1237 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1238 nonstandard directory
<lib dir
>
1239 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1240 you have headers
in a nonstandard directory
<include dir
>
1243 Use these variables to override the choices made by
`configure' or to help
1244 it to find libraries and programs with nonstandard names/locations.
1246 Report bugs to <mike@iworks.at>.
1251 if test "$ac_init_help" = "recursive"; then
1252 # If there are subdirs, report their specific --help.
1253 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1254 test -d "$ac_dir" || continue
1258 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1260 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1261 # A ".." for each directory in $ac_dir_suffix.
1262 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1263 case $ac_top_builddir_sub in
1264 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1265 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1268 ac_abs_top_builddir=$ac_pwd
1269 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1270 # for backward compatibility:
1271 ac_top_builddir=$ac_top_build_prefix
1274 .) # We are building in place.
1276 ac_top_srcdir=$ac_top_builddir_sub
1277 ac_abs_top_srcdir=$ac_pwd ;;
1278 [\\/]* | ?:[\\/]* ) # Absolute name.
1279 ac_srcdir=$srcdir$ac_dir_suffix;
1280 ac_top_srcdir=$srcdir
1281 ac_abs_top_srcdir=$srcdir ;;
1283 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1284 ac_top_srcdir=$ac_top_build_prefix$srcdir
1285 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1287 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1289 cd "$ac_dir" || { ac_status=$?; continue; }
1290 # Check for guested configure.
1291 if test -f "$ac_srcdir/configure.gnu"; then
1293 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1294 elif test -f "$ac_srcdir/configure"; then
1296 $SHELL "$ac_srcdir/configure" --help=recursive
1298 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1300 cd "$ac_pwd" || { ac_status=$?; break; }
1304 test -n "$ac_init_help" && exit $ac_status
1305 if $ac_init_version; then
1307 mod_domaintree configure 1.5
1308 generated by GNU Autoconf 2.60
1310 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1311 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1312 This configure script is free software; the Free Software Foundation
1313 gives unlimited permission to copy, distribute and modify it.
1317 cat >config.log <<_ACEOF
1318 This file contains any messages produced by compilers while
1319 running configure, to aid debugging if configure makes a mistake.
1321 It was created by mod_domaintree $as_me 1.5, which was
1322 generated by GNU Autoconf 2.60. Invocation command line was
1334 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1335 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1336 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1337 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1338 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1340 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1341 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1343 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1344 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1345 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1346 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1347 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1348 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1349 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1357 test -z "$as_dir" && as_dir=.
1358 echo "PATH: $as_dir"
1374 # Keep a trace of the command line.
1375 # Strip out --no-create and --no-recursion so they do not pile up.
1376 # Strip out --silent because we don't want to record it for future runs.
1377 # Also quote any args containing shell meta-characters.
1378 # Make two passes to allow for proper duplicate-argument suppression.
1382 ac_must_keep_next=false
1388 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1390 | -silent | --silent | --silen | --sile | --sil)
1393 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1396 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1398 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1399 if test $ac_must_keep_next = true; then
1400 ac_must_keep_next=false # Got value, back to normal.
1403 *=* | --config-cache | -C | -disable-* | --disable-* \
1404 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1405 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1406 | -with-* | --with-* | -without-* | --without-* | --x)
1407 case "$ac_configure_args0 " in
1408 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1411 -* ) ac_must_keep_next=true ;;
1414 ac_configure_args="$ac_configure_args '$ac_arg'"
1419 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1420 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1422 # When interrupted or exit'd, cleanup temporary files, and complete
1423 # config.log. We remove comments because anyway the quotes in there
1424 # would cause problems or look ugly.
1425 # WARNING: Use '\'' to represent an apostrophe within the trap.
1426 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1427 trap 'exit_status=$?
1428 # Save into config.log some information that might help in debugging.
1433 ## ---------------- ##
1434 ## Cache variables. ##
1435 ## ---------------- ##
1438 # The following way of writing the cache mishandles newlines in values,
1440 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1441 eval ac_val=\$$ac_var
1445 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1446 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1449 _ | IFS | as_nl) ;; #(
1450 *) $as_unset $ac_var ;;
1455 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1456 *${as_nl}ac_space=\ *)
1458 "s/'\''/'\''\\\\'\'''\''/g;
1459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1470 ## ----------------- ##
1471 ## Output variables. ##
1472 ## ----------------- ##
1475 for ac_var in $ac_subst_vars
1477 eval ac_val=\$$ac_var
1479 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1481 echo "$ac_var='\''$ac_val'\''"
1485 if test -n "$ac_subst_files"; then
1487 ## ------------------- ##
1488 ## File substitutions. ##
1489 ## ------------------- ##
1492 for ac_var in $ac_subst_files
1494 eval ac_val=\$$ac_var
1496 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1498 echo "$ac_var='\''$ac_val'\''"
1503 if test -s confdefs.h; then
1513 test "$ac_signal" != 0 &&
1514 echo "$as_me: caught signal $ac_signal"
1515 echo "$as_me: exit $exit_status"
1517 rm -f core *.core core.conftest.* &&
1518 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1521 for ac_signal in 1 2 13 15; do
1522 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1526 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1527 rm -f -r conftest* confdefs.h
1529 # Predefined preprocessor variables.
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_NAME "$PACKAGE_NAME"
1536 cat >>confdefs.h <<_ACEOF
1537 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_STRING "$PACKAGE_STRING"
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1556 # Let the site file select an alternate cache file if it wants to.
1557 # Prefer explicitly selected file to automatically selected ones.
1558 if test -n "$CONFIG_SITE"; then
1559 set x "$CONFIG_SITE"
1560 elif test "x$prefix" != xNONE; then
1561 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1563 set x "$ac_default_prefix/share/config.site" \
1564 "$ac_default_prefix/etc/config.site"
1569 if test -r "$ac_site_file"; then
1570 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1571 echo "$as_me: loading site script $ac_site_file" >&6;}
1572 sed 's/^/| /' "$ac_site_file" >&5
1577 if test -r "$cache_file"; then
1578 # Some versions of bash will fail to source /dev/null (special
1579 # files actually), so we avoid doing that.
1580 if test -f "$cache_file"; then
1581 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1582 echo "$as_me: loading cache $cache_file" >&6;}
1584 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1585 *) . "./$cache_file";;
1589 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1590 echo "$as_me: creating cache $cache_file" >&6;}
1594 # Check that the precious variables saved in the cache have kept the same
1596 ac_cache_corrupted=false
1597 for ac_var in $ac_precious_vars; do
1598 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1599 eval ac_new_set=\$ac_env_${ac_var}_set
1600 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1601 eval ac_new_val=\$ac_env_${ac_var}_value
1602 case $ac_old_set,$ac_new_set in
1604 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1605 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1606 ac_cache_corrupted=: ;;
1608 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1609 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1610 ac_cache_corrupted=: ;;
1613 if test "x$ac_old_val" != "x$ac_new_val"; then
1614 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1615 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1616 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1617 echo "$as_me: former value
: $ac_old_val" >&2;}
1618 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1619 echo "$as_me: current value
: $ac_new_val" >&2;}
1620 ac_cache_corrupted=:
1623 # Pass precious variables to config.status.
1624 if test "$ac_new_set" = set; then
1626 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1627 *) ac_arg=$ac_var=$ac_new_val ;;
1629 case " $ac_configure_args " in
1630 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1631 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1635 if $ac_cache_corrupted; then
1636 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1637 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1638 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1639 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1640 { (exit 1); exit 1; }; }
1668 ac_cpp='$CPP $CPPFLAGS'
1669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1676 ac_config_headers="$ac_config_headers config.h"
1680 ac_cpp='$CPP $CPPFLAGS'
1681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1684 if test -n "$ac_tool_prefix"; then
1685 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1686 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1689 if test "${ac_cv_prog_CC+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1692 if test -n "$CC"; then
1693 ac_cv_prog_CC="$CC" # Let the user override the test.
1695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1699 test -z "$as_dir" && as_dir=.
1700 for ac_exec_ext in '' $ac_executable_extensions; do
1701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1702 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1713 if test -n "$CC"; then
1714 { echo "$as_me:$LINENO: result: $CC" >&5
1715 echo "${ECHO_T}$CC" >&6; }
1717 { echo "$as_me:$LINENO: result: no" >&5
1718 echo "${ECHO_T}no" >&6; }
1723 if test -z "$ac_cv_prog_CC"; then
1725 # Extract the first word of "gcc", so it can be a program name with args.
1726 set dummy gcc; ac_word=$2
1727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1729 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1730 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 if test -n "$ac_ct_CC"; then
1733 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1739 test -z "$as_dir" && as_dir=.
1740 for ac_exec_ext in '' $ac_executable_extensions; do
1741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1742 ac_cv_prog_ac_ct_CC="gcc"
1743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1752 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1753 if test -n "$ac_ct_CC"; then
1754 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1755 echo "${ECHO_T}$ac_ct_CC" >&6; }
1757 { echo "$as_me:$LINENO: result: no" >&5
1758 echo "${ECHO_T}no" >&6; }
1761 if test "x$ac_ct_CC" = x; then
1764 case $cross_compiling:$ac_tool_warned in
1766 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1767 whose name does not start with the host triplet. If you think this
1768 configuration is useful to you, please write to autoconf@gnu.org." >&5
1769 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1770 whose name does not start with the host triplet. If you think this
1771 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1772 ac_tool_warned=yes ;;
1780 if test -z "$CC"; then
1781 if test -n "$ac_tool_prefix"; then
1782 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1783 set dummy ${ac_tool_prefix}cc; ac_word=$2
1784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1786 if test "${ac_cv_prog_CC+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 if test -n "$CC"; then
1790 ac_cv_prog_CC="$CC" # Let the user override the test.
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1796 test -z "$as_dir" && as_dir=.
1797 for ac_exec_ext in '' $ac_executable_extensions; do
1798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1799 ac_cv_prog_CC="${ac_tool_prefix}cc"
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1810 if test -n "$CC"; then
1811 { echo "$as_me:$LINENO: result: $CC" >&5
1812 echo "${ECHO_T}$CC" >&6; }
1814 { echo "$as_me:$LINENO: result: no" >&5
1815 echo "${ECHO_T}no" >&6; }
1821 if test -z "$CC"; then
1822 # Extract the first word of "cc", so it can be a program name with args.
1823 set dummy cc; ac_word=$2
1824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1826 if test "${ac_cv_prog_CC+set}" = set; then
1827 echo $ECHO_N "(cached) $ECHO_C" >&6
1829 if test -n "$CC"; then
1830 ac_cv_prog_CC="$CC" # Let the user override the test.
1833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837 test -z "$as_dir" && as_dir=.
1838 for ac_exec_ext in '' $ac_executable_extensions; do
1839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1840 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1841 ac_prog_rejected=yes
1845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 if test $ac_prog_rejected = yes; then
1853 # We found a bogon in the path, so make sure we never use it.
1854 set dummy $ac_cv_prog_CC
1856 if test $# != 0; then
1857 # We chose a different compiler from the bogus one.
1858 # However, it has the same basename, so the bogon will be chosen
1859 # first if we set CC to just the basename; use the full file name.
1861 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1867 if test -n "$CC"; then
1868 { echo "$as_me:$LINENO: result: $CC" >&5
1869 echo "${ECHO_T}$CC" >&6; }
1871 { echo "$as_me:$LINENO: result: no" >&5
1872 echo "${ECHO_T}no" >&6; }
1877 if test -z "$CC"; then
1878 if test -n "$ac_tool_prefix"; then
1879 for ac_prog in cl.exe
1881 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1882 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1885 if test "${ac_cv_prog_CC+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 if test -n "$CC"; then
1889 ac_cv_prog_CC="$CC" # Let the user override the test.
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1898 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1909 if test -n "$CC"; then
1910 { echo "$as_me:$LINENO: result: $CC" >&5
1911 echo "${ECHO_T}$CC" >&6; }
1913 { echo "$as_me:$LINENO: result: no" >&5
1914 echo "${ECHO_T}no" >&6; }
1918 test -n "$CC" && break
1921 if test -z "$CC"; then
1923 for ac_prog in cl.exe
1925 # Extract the first word of "$ac_prog", so it can be a program name with args.
1926 set dummy $ac_prog; ac_word=$2
1927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$ac_ct_CC"; then
1933 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1942 ac_cv_prog_ac_ct_CC="$ac_prog"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1952 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1953 if test -n "$ac_ct_CC"; then
1954 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1955 echo "${ECHO_T}$ac_ct_CC" >&6; }
1957 { echo "$as_me:$LINENO: result: no" >&5
1958 echo "${ECHO_T}no" >&6; }
1962 test -n "$ac_ct_CC" && break
1965 if test "x$ac_ct_CC" = x; then
1968 case $cross_compiling:$ac_tool_warned in
1970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1971 whose name does not start with the host triplet. If you think this
1972 configuration is useful to you, please write to autoconf@gnu.org." >&5
1973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1974 whose name does not start with the host triplet. If you think this
1975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1976 ac_tool_warned=yes ;;
1985 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1986 See \`config.log
' for more details." >&5
1987 echo "$as_me: error: no acceptable C compiler found in \$PATH
1988 See \`config.log' for more details.
" >&2;}
1989 { (exit 1); exit 1; }; }
1991 # Provide some information about the compiler.
1992 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
1993 ac_compiler=`set X $ac_compile; echo $2`
1994 { (ac_try="$ac_compiler --version >&5"
1996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1997 *) ac_try_echo=$ac_try;;
1999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2000 (eval "$ac_compiler --version >&5") 2>&5
2002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2003 (exit $ac_status); }
2004 { (ac_try="$ac_compiler -v >&5"
2006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2007 *) ac_try_echo=$ac_try;;
2009 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2010 (eval "$ac_compiler -v >&5") 2>&5
2012 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2013 (exit $ac_status); }
2014 { (ac_try="$ac_compiler -V >&5"
2016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2017 *) ac_try_echo=$ac_try;;
2019 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2020 (eval "$ac_compiler -V >&5") 2>&5
2022 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2023 (exit $ac_status); }
2025 cat >conftest.$ac_ext <<_ACEOF
2028 cat confdefs.h >>conftest.$ac_ext
2029 cat >>conftest.$ac_ext <<_ACEOF
2030 /* end confdefs.h. */
2040 ac_clean_files_save=$ac_clean_files
2041 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2042 # Try to create an executable without -o first, disregard a.out.
2043 # It will help us diagnose broken compilers, and finding out an intuition
2045 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2046 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2047 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2049 # List of possible output files, starting from the most likely.
2050 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2051 # only as a last resort. b.out is created by i960 compilers.
2052 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2054 # The IRIX 6 linker writes into existing files which may not be
2055 # executable, retaining their permissions. Remove them first so a
2056 # subsequent execution test works.
2058 for ac_file in $ac_files
2061 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2062 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2067 if { (ac_try="$ac_link_default"
2069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2070 *) ac_try_echo=$ac_try;;
2072 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2073 (eval "$ac_link_default") 2>&5
2075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2076 (exit $ac_status); }; then
2077 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2078 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2079 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2080 # so that the user can short-circuit this test for compilers unknown to
2082 for ac_file in $ac_files
2084 test -f "$ac_file" || continue
2086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2089 # We found the default executable, but exeext='' is most
2093 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2095 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2097 # We set ac_cv_exeext here because the later test for it is not
2098 # safe: cross compilers may not add the suffix if given an `-o'
2099 # argument, so we may need to know it at that point already.
2100 # Even if this section looks crufty: it has the advantage of
2107 test "$ac_cv_exeext" = no && ac_cv_exeext=
2110 echo "$as_me: failed program was
:" >&5
2111 sed 's/^/| /' conftest.$ac_ext >&5
2113 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2114 See \
`config.log' for more details." >&5
2115 echo "$as_me: error: C compiler cannot create executables
2116 See \`config.log
' for more details." >&2;}
2117 { (exit 77); exit 77; }; }
2120 ac_exeext=$ac_cv_exeext
2121 { echo "$as_me:$LINENO: result: $ac_file" >&5
2122 echo "${ECHO_T}$ac_file" >&6; }
2124 # Check that the compiler produces executables we can run. If not, either
2125 # the compiler is broken, or we cross compile.
2126 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2127 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2128 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2129 # If not cross compiling, check that we can run a simple program.
2130 if test "$cross_compiling" != yes; then
2131 if { ac_try='.
/$ac_file'
2132 { (case "(($ac_try" in
2133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134 *) ac_try_echo=$ac_try;;
2136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2137 (eval "$ac_try") 2>&5
2139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140 (exit $ac_status); }; }; then
2143 if test "$cross_compiling" = maybe; then
2146 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2147 If you meant to cross compile, use \`--host'.
2148 See \
`config.log' for more details." >&5
2149 echo "$as_me: error: cannot run C compiled programs.
2150 If you meant to cross compile, use \`--host'.
2151 See \`config.log' for more details.
" >&2;}
2152 { (exit 1); exit 1; }; }
2156 { echo "$as_me:$LINENO: result
: yes" >&5
2157 echo "${ECHO_T}yes" >&6; }
2159 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2160 ac_clean_files=$ac_clean_files_save
2161 # Check that the compiler produces executables we can run. If not, either
2162 # the compiler is broken, or we cross compile.
2163 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2164 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2165 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2166 echo "${ECHO_T}$cross_compiling" >&6; }
2168 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2169 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2170 if { (ac_try="$ac_link"
2172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2173 *) ac_try_echo=$ac_try;;
2175 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2176 (eval "$ac_link") 2>&5
2178 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2179 (exit $ac_status); }; then
2180 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2182 # work properly (i.e., refer to `conftest.exe'), while it won't with
2184 for ac_file in conftest.exe conftest conftest.*; do
2185 test -f "$ac_file" || continue
2187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2188 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2194 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2195 See \
`config.log' for more details." >&5
2196 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2197 See \`config.log
' for more details." >&2;}
2198 { (exit 1); exit 1; }; }
2201 rm -f conftest$ac_cv_exeext
2202 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2203 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2205 rm -f conftest.$ac_ext
2206 EXEEXT=$ac_cv_exeext
2208 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2209 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2210 if test "${ac_cv_objext+set}" = set; then
2211 echo $ECHO_N "(cached) $ECHO_C" >&6
2213 cat >conftest.$ac_ext <<_ACEOF
2216 cat confdefs.h >>conftest.$ac_ext
2217 cat >>conftest.$ac_ext <<_ACEOF
2218 /* end confdefs.h. */
2228 rm -f conftest.o conftest.obj
2229 if { (ac_try="$ac_compile"
2231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2232 *) ac_try_echo=$ac_try;;
2234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2235 (eval "$ac_compile") 2>&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); }; then
2239 for ac_file in conftest.o conftest.obj conftest.*; do
2240 test -f "$ac_file" || continue;
2242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2243 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2248 echo "$as_me: failed program was:" >&5
2249 sed 's
/^
/|
/' conftest.$ac_ext >&5
2251 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2252 See \`config.log' for more details.
" >&5
2253 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2254 See \
`config.log' for more details." >&2;}
2255 { (exit 1); exit 1; }; }
2258 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2260 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2261 echo "${ECHO_T}$ac_cv_objext" >&6; }
2262 OBJEXT=$ac_cv_objext
2264 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2265 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2266 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 cat >conftest.$ac_ext <<_ACEOF
2272 cat confdefs.h >>conftest.$ac_ext
2273 cat >>conftest.$ac_ext <<_ACEOF
2274 /* end confdefs.h. */
2287 rm -f conftest.$ac_objext
2288 if { (ac_try="$ac_compile"
2290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2291 *) ac_try_echo
=$ac_try;;
2293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2294 (eval "$ac_compile") 2>conftest.er1
2296 grep -v '^ *+' conftest.er1
>conftest.err
2298 cat conftest.err
>&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); } &&
2301 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2302 { (case "(($ac_try" in
2303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2304 *) ac_try_echo=$ac_try;;
2306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2307 (eval "$ac_try") 2>&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); }; } &&
2311 { ac_try='test -s conftest.$ac_objext'
2312 { (case "(($ac_try" in
2313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2314 *) ac_try_echo
=$ac_try;;
2316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2317 (eval "$ac_try") 2>&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }; }; then
2323 echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.
$ac_ext >&5
2329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2330 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2333 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2334 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2335 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2336 ac_test_CFLAGS
=${CFLAGS+set}
2337 ac_save_CFLAGS
=$CFLAGS
2338 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2339 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2340 if test "${ac_cv_prog_cc_g+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2343 ac_save_c_werror_flag
=$ac_c_werror_flag
2344 ac_c_werror_flag
=yes
2347 cat >conftest.
$ac_ext <<_ACEOF
2350 cat confdefs.h
>>conftest.
$ac_ext
2351 cat >>conftest.
$ac_ext <<_ACEOF
2352 /* end confdefs.h. */
2362 rm -f conftest.
$ac_objext
2363 if { (ac_try
="$ac_compile"
2365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2369 (eval "$ac_compile") 2>conftest.er1
2371 grep -v '^ *+' conftest.er1 >conftest.err
2373 cat conftest.err >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); } &&
2376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2377 { (case "(($ac_try" in
2378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2379 *) ac_try_echo
=$ac_try;;
2381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2382 (eval "$ac_try") 2>&5
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }; } &&
2386 { ac_try
='test -s conftest.$ac_objext'
2387 { (case "(($ac_try" in
2388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2389 *) ac_try_echo=$ac_try;;
2391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2392 (eval "$ac_try") 2>&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; }; then
2398 echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.$ac_ext >&5
2402 cat >conftest.$ac_ext <<_ACEOF
2405 cat confdefs.h >>conftest.$ac_ext
2406 cat >>conftest.$ac_ext <<_ACEOF
2407 /* end confdefs.h. */
2417 rm -f conftest.$ac_objext
2418 if { (ac_try="$ac_compile"
2420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2421 *) ac_try_echo
=$ac_try;;
2423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2424 (eval "$ac_compile") 2>conftest.er1
2426 grep -v '^ *+' conftest.er1
>conftest.err
2428 cat conftest.err
>&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); } &&
2431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2432 { (case "(($ac_try" in
2433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2434 *) ac_try_echo=$ac_try;;
2436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2437 (eval "$ac_try") 2>&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }; } &&
2441 { ac_try='test -s conftest.$ac_objext'
2442 { (case "(($ac_try" in
2443 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2444 *) ac_try_echo
=$ac_try;;
2446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2447 (eval "$ac_try") 2>&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; }; then
2453 echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.
$ac_ext >&5
2456 ac_c_werror_flag
=$ac_save_c_werror_flag
2458 cat >conftest.
$ac_ext <<_ACEOF
2461 cat confdefs.h
>>conftest.
$ac_ext
2462 cat >>conftest.
$ac_ext <<_ACEOF
2463 /* end confdefs.h. */
2473 rm -f conftest.
$ac_objext
2474 if { (ac_try
="$ac_compile"
2476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2480 (eval "$ac_compile") 2>conftest.er1
2482 grep -v '^ *+' conftest.er1 >conftest.err
2484 cat conftest.err >&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); } &&
2487 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2488 { (case "(($ac_try" in
2489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2490 *) ac_try_echo
=$ac_try;;
2492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2493 (eval "$ac_try") 2>&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; } &&
2497 { ac_try
='test -s conftest.$ac_objext'
2498 { (case "(($ac_try" in
2499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2503 (eval "$ac_try") 2>&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2509 echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.$ac_ext >&5
2515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2522 ac_c_werror_flag=$ac_save_c_werror_flag
2524 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2525 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2526 if test "$ac_test_CFLAGS" = set; then
2527 CFLAGS=$ac_save_CFLAGS
2528 elif test $ac_cv_prog_cc_g = yes; then
2529 if test "$GCC" = yes; then
2535 if test "$GCC" = yes; then
2541 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2542 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2543 if test "${ac_cv_prog_cc_c89+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 ac_cv_prog_cc_c89=no
2548 cat >conftest.$ac_ext <<_ACEOF
2551 cat confdefs.h >>conftest.$ac_ext
2552 cat >>conftest.$ac_ext <<_ACEOF
2553 /* end confdefs.h. */
2556 #include <sys/types.h>
2557 #include <sys/stat.h>
2558 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2559 struct buf { int x; };
2560 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2561 static char *e (p, i)
2567 static char *f (char * (*g) (char **, int), char **p, ...)
2572 s = g (p, va_arg (v,int));
2577 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2578 function prototypes and stuff, but not '\xHH' hex character constants.
2579 These don't provoke an error unfortunately, instead are silently treated
2580 as 'x'. The following induces an error, until -std is added to get
2581 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2582 array size at least. It's necessary to write '\x00'==0 to get something
2583 that's true only with -std. */
2584 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2586 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2587 inside strings and character constants. */
2589 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2591 int test (int i, double x);
2592 struct s1 {int (*f) (int a);};
2593 struct s2 {int (*f) (double a);};
2594 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2600 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2605 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2606 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2608 CC="$ac_save_CC $ac_arg"
2609 rm -f conftest.$ac_objext
2610 if { (ac_try="$ac_compile"
2612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2613 *) ac_try_echo
=$ac_try;;
2615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2616 (eval "$ac_compile") 2>conftest.er1
2618 grep -v '^ *+' conftest.er1
>conftest.err
2620 cat conftest.err
>&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); } &&
2623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2624 { (case "(($ac_try" in
2625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2626 *) ac_try_echo=$ac_try;;
2628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2629 (eval "$ac_try") 2>&5
2631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2632 (exit $ac_status); }; } &&
2633 { ac_try='test -s conftest.$ac_objext'
2634 { (case "(($ac_try" in
2635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2636 *) ac_try_echo
=$ac_try;;
2638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2639 (eval "$ac_try") 2>&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2643 ac_cv_prog_cc_c89
=$ac_arg
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.
$ac_ext >&5
2651 rm -f core conftest.err conftest.
$ac_objext
2652 test "x$ac_cv_prog_cc_c89" != "xno" && break
2654 rm -f conftest.
$ac_ext
2659 case "x$ac_cv_prog_cc_c89" in
2661 { echo "$as_me:$LINENO: result: none needed" >&5
2662 echo "${ECHO_T}none needed" >&6; } ;;
2664 { echo "$as_me:$LINENO: result: unsupported" >&5
2665 echo "${ECHO_T}unsupported" >&6; } ;;
2667 CC
="$CC $ac_cv_prog_cc_c89"
2668 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2669 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2674 ac_cpp
='$CPP $CPPFLAGS'
2675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2681 ac_cpp
='$CPP $CPPFLAGS'
2682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2685 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2686 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2687 # On Suns, sometimes $CPP names a directory.
2688 if test -n "$CPP" && test -d "$CPP"; then
2691 if test -z "$CPP"; then
2692 if test "${ac_cv_prog_CPP+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 # Double quotes because CPP needs to be expanded
2696 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2699 for ac_c_preproc_warn_flag
in '' yes
2701 # Use a header file that comes with gcc, so configuring glibc
2702 # with a fresh cross-compiler works.
2703 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2704 # <limits.h> exists even on freestanding compilers.
2705 # On the NeXT, cc -E runs the code through the compiler's parser,
2706 # not just through cpp. "Syntax error" is here to catch this case.
2707 cat >conftest.
$ac_ext <<_ACEOF
2710 cat confdefs.h
>>conftest.
$ac_ext
2711 cat >>conftest.
$ac_ext <<_ACEOF
2712 /* end confdefs.h. */
2714 # include <limits.h>
2716 # include <assert.h>
2720 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2723 *) ac_try_echo=$ac_try;;
2725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2728 grep -v '^ *+' conftest.er1 >conftest.err
2730 cat conftest.err >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); } >/dev/null; then
2733 if test -s conftest.err; then
2734 ac_cpp_err=$ac_c_preproc_warn_flag
2735 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2742 if test -z "$ac_cpp_err"; then
2745 echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2748 # Broken: fails on valid input.
2752 rm -f conftest.err conftest.$ac_ext
2754 # OK, works on sane cases. Now check whether nonexistent headers
2755 # can be detected and how.
2756 cat >conftest.$ac_ext <<_ACEOF
2759 cat confdefs.h >>conftest.$ac_ext
2760 cat >>conftest.$ac_ext <<_ACEOF
2761 /* end confdefs.h. */
2762 #include <ac_nonexistent.h>
2764 if { (ac_try="$ac_cpp conftest.$ac_ext"
2766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2767 *) ac_try_echo
=$ac_try;;
2769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2770 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2772 grep -v '^ *+' conftest.er1
>conftest.err
2774 cat conftest.err
>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); } >/dev
/null
; then
2777 if test -s conftest.err
; then
2778 ac_cpp_err
=$ac_c_preproc_warn_flag
2779 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2786 if test -z "$ac_cpp_err"; then
2787 # Broken: success on invalid input.
2790 echo "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.
$ac_ext >&5
2793 # Passes both tests.
2798 rm -f conftest.err conftest.
$ac_ext
2801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2802 rm -f conftest.err conftest.
$ac_ext
2803 if $ac_preproc_ok; then
2815 { echo "$as_me:$LINENO: result: $CPP" >&5
2816 echo "${ECHO_T}$CPP" >&6; }
2818 for ac_c_preproc_warn_flag
in '' yes
2820 # Use a header file that comes with gcc, so configuring glibc
2821 # with a fresh cross-compiler works.
2822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2823 # <limits.h> exists even on freestanding compilers.
2824 # On the NeXT, cc -E runs the code through the compiler's parser,
2825 # not just through cpp. "Syntax error" is here to catch this case.
2826 cat >conftest.
$ac_ext <<_ACEOF
2829 cat confdefs.h
>>conftest.
$ac_ext
2830 cat >>conftest.
$ac_ext <<_ACEOF
2831 /* end confdefs.h. */
2833 # include <limits.h>
2835 # include <assert.h>
2839 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2842 *) ac_try_echo=$ac_try;;
2844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2847 grep -v '^ *+' conftest.er1 >conftest.err
2849 cat conftest.err >&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); } >/dev/null; then
2852 if test -s conftest.err; then
2853 ac_cpp_err=$ac_c_preproc_warn_flag
2854 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2861 if test -z "$ac_cpp_err"; then
2864 echo "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.$ac_ext >&5
2867 # Broken: fails on valid input.
2871 rm -f conftest.err conftest.$ac_ext
2873 # OK, works on sane cases. Now check whether nonexistent headers
2874 # can be detected and how.
2875 cat >conftest.$ac_ext <<_ACEOF
2878 cat confdefs.h >>conftest.$ac_ext
2879 cat >>conftest.$ac_ext <<_ACEOF
2880 /* end confdefs.h. */
2881 #include <ac_nonexistent.h>
2883 if { (ac_try="$ac_cpp conftest.$ac_ext"
2885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2886 *) ac_try_echo
=$ac_try;;
2888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2891 grep -v '^ *+' conftest.er1
>conftest.err
2893 cat conftest.err
>&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); } >/dev
/null
; then
2896 if test -s conftest.err
; then
2897 ac_cpp_err
=$ac_c_preproc_warn_flag
2898 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2905 if test -z "$ac_cpp_err"; then
2906 # Broken: success on invalid input.
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.
$ac_ext >&5
2912 # Passes both tests.
2917 rm -f conftest.err conftest.
$ac_ext
2920 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2921 rm -f conftest.err conftest.
$ac_ext
2922 if $ac_preproc_ok; then
2925 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2926 See \`config.log' for more details." >&5
2927 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2928 See \`config.log' for more details." >&2;}
2929 { (exit 1); exit 1; }; }
2933 ac_cpp
='$CPP $CPPFLAGS'
2934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2936 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2939 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2940 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2941 if test "${ac_cv_path_GREP+set}" = set; then
2942 echo $ECHO_N "(cached) $ECHO_C" >&6
2944 # Extract the first word of "grep ggrep" to use in msg output
2945 if test -z "$GREP"; then
2946 set dummy
grep ggrep
; ac_prog_name
=$2
2947 if test "${ac_cv_path_GREP+set}" = set; then
2948 echo $ECHO_N "(cached) $ECHO_C" >&6
2950 ac_path_GREP_found
=false
2951 # Loop through the user's path and test for each of PROGNAME-LIST
2952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2953 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
2956 test -z "$as_dir" && as_dir
=.
2957 for ac_prog
in grep ggrep
; do
2958 for ac_exec_ext
in '' $ac_executable_extensions; do
2959 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
2960 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
2961 # Check for GNU ac_path_GREP and select it if it is found.
2962 # Check for GNU $ac_path_GREP
2963 case `"$ac_path_GREP" --version 2>&1` in
2965 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
2968 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2971 cat "conftest.in" "conftest.in" >"conftest.tmp"
2972 mv "conftest.tmp" "conftest.in"
2973 cp "conftest.in" "conftest.nl"
2974 echo 'GREP' >> "conftest.nl"
2975 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2976 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2977 ac_count
=`expr $ac_count + 1`
2978 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2979 # Best one so far, save it but keep looking for a better one
2980 ac_cv_path_GREP
="$ac_path_GREP"
2981 ac_path_GREP_max
=$ac_count
2983 # 10*(2^10) chars as input seems more than enough
2984 test $ac_count -gt 10 && break
2986 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2990 $ac_path_GREP_found && break 3
3000 GREP
="$ac_cv_path_GREP"
3001 if test -z "$GREP"; then
3002 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3003 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3004 { (exit 1); exit 1; }; }
3008 ac_cv_path_GREP
=$GREP
3013 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3014 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3015 GREP
="$ac_cv_path_GREP"
3018 { echo "$as_me:$LINENO: checking for egrep" >&5
3019 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3020 if test "${ac_cv_path_EGREP+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3024 then ac_cv_path_EGREP
="$GREP -E"
3026 # Extract the first word of "egrep" to use in msg output
3027 if test -z "$EGREP"; then
3028 set dummy
egrep; ac_prog_name
=$2
3029 if test "${ac_cv_path_EGREP+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 ac_path_EGREP_found
=false
3033 # Loop through the user's path and test for each of PROGNAME-LIST
3034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3035 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3038 test -z "$as_dir" && as_dir
=.
3039 for ac_prog
in egrep; do
3040 for ac_exec_ext
in '' $ac_executable_extensions; do
3041 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3042 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
3043 # Check for GNU ac_path_EGREP and select it if it is found.
3044 # Check for GNU $ac_path_EGREP
3045 case `"$ac_path_EGREP" --version 2>&1` in
3047 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3050 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3053 cat "conftest.in" "conftest.in" >"conftest.tmp"
3054 mv "conftest.tmp" "conftest.in"
3055 cp "conftest.in" "conftest.nl"
3056 echo 'EGREP' >> "conftest.nl"
3057 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3058 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3059 ac_count
=`expr $ac_count + 1`
3060 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3061 # Best one so far, save it but keep looking for a better one
3062 ac_cv_path_EGREP
="$ac_path_EGREP"
3063 ac_path_EGREP_max
=$ac_count
3065 # 10*(2^10) chars as input seems more than enough
3066 test $ac_count -gt 10 && break
3068 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3072 $ac_path_EGREP_found && break 3
3082 EGREP
="$ac_cv_path_EGREP"
3083 if test -z "$EGREP"; then
3084 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3085 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3086 { (exit 1); exit 1; }; }
3090 ac_cv_path_EGREP
=$EGREP
3096 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3097 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3098 EGREP
="$ac_cv_path_EGREP"
3101 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3102 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3103 if test "${ac_cv_header_stdc+set}" = set; then
3104 echo $ECHO_N "(cached) $ECHO_C" >&6
3106 cat >conftest.
$ac_ext <<_ACEOF
3109 cat confdefs.h
>>conftest.
$ac_ext
3110 cat >>conftest.
$ac_ext <<_ACEOF
3111 /* end confdefs.h. */
3125 rm -f conftest.
$ac_objext
3126 if { (ac_try
="$ac_compile"
3128 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3129 *) ac_try_echo=$ac_try;;
3131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3132 (eval "$ac_compile") 2>conftest.er1
3134 grep -v '^ *+' conftest.er1 >conftest.err
3136 cat conftest.err >&5
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); } &&
3139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3140 { (case "(($ac_try" in
3141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3142 *) ac_try_echo
=$ac_try;;
3144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3145 (eval "$ac_try") 2>&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }; } &&
3149 { ac_try
='test -s conftest.$ac_objext'
3150 { (case "(($ac_try" in
3151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3155 (eval "$ac_try") 2>&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; }; then
3159 ac_cv_header_stdc=yes
3161 echo "$as_me: failed program was:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3164 ac_cv_header_stdc=no
3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169 if test $ac_cv_header_stdc = yes; then
3170 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3171 cat >conftest.$ac_ext <<_ACEOF
3174 cat confdefs.h >>conftest.$ac_ext
3175 cat >>conftest.$ac_ext <<_ACEOF
3176 /* end confdefs.h. */
3180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3181 $EGREP "memchr" >/dev/null 2>&1; then
3184 ac_cv_header_stdc=no
3190 if test $ac_cv_header_stdc = yes; then
3191 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3192 cat >conftest.$ac_ext <<_ACEOF
3195 cat confdefs.h >>conftest.$ac_ext
3196 cat >>conftest.$ac_ext <<_ACEOF
3197 /* end confdefs.h. */
3201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3202 $EGREP "free" >/dev/null 2>&1; then
3205 ac_cv_header_stdc=no
3211 if test $ac_cv_header_stdc = yes; then
3212 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3213 if test "$cross_compiling" = yes; then
3216 cat >conftest.$ac_ext <<_ACEOF
3219 cat confdefs.h >>conftest.$ac_ext
3220 cat >>conftest.$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3224 #if ((' ' & 0x0FF) == 0x020)
3225 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3226 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3228 # define ISLOWER(c) \
3229 (('a' <= (c) && (c) <= 'i') \
3230 || ('j' <= (c) && (c) <= 'r') \
3231 || ('s' <= (c) && (c) <= 'z'))
3232 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3235 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3240 for (i = 0; i < 256; i++)
3241 if (XOR (islower (i), ISLOWER (i))
3242 || toupper (i) != TOUPPER (i))
3247 rm -f conftest$ac_exeext
3248 if { (ac_try="$ac_link"
3250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3251 *) ac_try_echo
=$ac_try;;
3253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_link") 2>&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3258 { (case "(($ac_try" in
3259 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3263 (eval "$ac_try") 2>&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); }; }; then
3269 echo "$as_me: program exited with status $ac_status" >&5
3270 echo "$as_me: failed program was:" >&5
3271 sed 's/^/| /' conftest.$ac_ext >&5
3274 ac_cv_header_stdc=no
3276 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3282 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3283 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3284 if test $ac_cv_header_stdc = yes; then
3286 cat >>confdefs.h <<\_ACEOF
3287 #define STDC_HEADERS 1
3292 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3302 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3303 inttypes.h stdint.h unistd.h
3305 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3306 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3307 echo $ECHO_N "checking for