2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for mod_domaintree 1.6.
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 more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME
='mod_domaintree'
576 PACKAGE_TARNAME
='mod_domaintree'
577 PACKAGE_VERSION
='1.6'
578 PACKAGE_STRING
='mod_domaintree 1.6'
579 PACKAGE_BUGREPORT
='mike@iworks.at'
581 ac_unique_file
="mod_domaintree.c"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
669 ac_precious_vars
='build_alias
680 # Initialize some variables set by options.
682 ac_init_version
=false
683 # The variables have the same names as the options, with
684 # dashes changed to underlines.
692 program_transform_name
=s
,x
,x
,
700 # Installation directory options.
701 # These are left unexpanded so users can "make install exec_prefix=/foo"
702 # and all the variables that are supposed to be based on exec_prefix
703 # by default will actually change.
704 # Use braces instead of parens because sh, perl, etc. also accept them.
705 # (The list follows the same order as the GNU Coding Standards.)
706 bindir
='${exec_prefix}/bin'
707 sbindir
='${exec_prefix}/sbin'
708 libexecdir
='${exec_prefix}/libexec'
709 datarootdir
='${prefix}/share'
710 datadir
='${datarootdir}'
711 sysconfdir
='${prefix}/etc'
712 sharedstatedir
='${prefix}/com'
713 localstatedir
='${prefix}/var'
714 includedir
='${prefix}/include'
715 oldincludedir
='/usr/include'
716 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
717 infodir
='${datarootdir}/info'
722 libdir
='${exec_prefix}/lib'
723 localedir
='${datarootdir}/locale'
724 mandir
='${datarootdir}/man'
730 # If the previous option needs an argument, assign it.
731 if test -n "$ac_prev"; then
732 eval $ac_prev=\
$ac_option
738 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
742 # Accept the important Cygnus configure options, so we can diagnose typos.
744 case $ac_dashdash$ac_option in
748 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
750 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
753 -build |
--build |
--buil |
--bui |
--bu)
754 ac_prev
=build_alias
;;
755 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
756 build_alias
=$ac_optarg ;;
758 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
759 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
760 ac_prev
=cache_file
;;
761 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
762 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
763 cache_file
=$ac_optarg ;;
766 cache_file
=config.cache
;;
768 -datadir |
--datadir |
--datadi |
--datad)
770 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
771 datadir
=$ac_optarg ;;
773 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
774 |
--dataroo |
--dataro |
--datar)
775 ac_prev
=datarootdir
;;
776 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
777 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
778 datarootdir
=$ac_optarg ;;
780 -disable-* |
--disable-*)
781 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
784 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
785 { (exit 1); exit 1; }; }
786 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
787 eval enable_
$ac_feature=no
;;
789 -docdir |
--docdir |
--docdi |
--doc |
--do)
791 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
794 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
796 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
799 -enable-* |
--enable-*)
800 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
801 # Reject names that are not valid shell variable names.
802 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
803 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
804 { (exit 1); exit 1; }; }
805 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
806 eval enable_
$ac_feature=\
$ac_optarg ;;
808 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
809 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
810 |
--exec |
--exe |
--ex)
811 ac_prev
=exec_prefix
;;
812 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
813 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
814 |
--exec=* |
--exe=* |
--ex=*)
815 exec_prefix
=$ac_optarg ;;
817 -gas |
--gas |
--ga |
--g)
818 # Obsolete; use --with-gas.
821 -help |
--help |
--hel |
--he |
-h)
823 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
824 ac_init_help
=recursive
;;
825 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
826 ac_init_help
=short
;;
828 -host |
--host |
--hos |
--ho)
829 ac_prev
=host_alias
;;
830 -host=* |
--host=* |
--hos=* |
--ho=*)
831 host_alias
=$ac_optarg ;;
833 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
835 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
837 htmldir
=$ac_optarg ;;
839 -includedir |
--includedir |
--includedi |
--included |
--include \
840 |
--includ |
--inclu |
--incl |
--inc)
841 ac_prev
=includedir
;;
842 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
843 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
844 includedir
=$ac_optarg ;;
846 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
848 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
849 infodir
=$ac_optarg ;;
851 -libdir |
--libdir |
--libdi |
--libd)
853 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
856 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
857 |
--libexe |
--libex |
--libe)
858 ac_prev
=libexecdir
;;
859 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
860 |
--libexe=* |
--libex=* |
--libe=*)
861 libexecdir
=$ac_optarg ;;
863 -localedir |
--localedir |
--localedi |
--localed |
--locale)
865 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
866 localedir
=$ac_optarg ;;
868 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
869 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
870 ac_prev
=localstatedir
;;
871 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
872 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
873 localstatedir
=$ac_optarg ;;
875 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
877 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
881 # Obsolete; use --without-fp.
884 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
885 |
--no-cr |
--no-c |
-n)
888 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
889 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
892 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
893 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
894 |
--oldin |
--oldi |
--old |
--ol |
--o)
895 ac_prev
=oldincludedir
;;
896 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
897 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
898 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
899 oldincludedir
=$ac_optarg ;;
901 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
903 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
906 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
907 |
--program-pre |
--program-pr |
--program-p)
908 ac_prev
=program_prefix
;;
909 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
910 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
911 program_prefix
=$ac_optarg ;;
913 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
914 |
--program-suf |
--program-su |
--program-s)
915 ac_prev
=program_suffix
;;
916 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
917 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
918 program_suffix
=$ac_optarg ;;
920 -program-transform-name |
--program-transform-name \
921 |
--program-transform-nam |
--program-transform-na \
922 |
--program-transform-n |
--program-transform- \
923 |
--program-transform |
--program-transfor \
924 |
--program-transfo |
--program-transf \
925 |
--program-trans |
--program-tran \
926 |
--progr-tra |
--program-tr |
--program-t)
927 ac_prev
=program_transform_name
;;
928 -program-transform-name=* |
--program-transform-name=* \
929 |
--program-transform-nam=* |
--program-transform-na=* \
930 |
--program-transform-n=* |
--program-transform-=* \
931 |
--program-transform=* |
--program-transfor=* \
932 |
--program-transfo=* |
--program-transf=* \
933 |
--program-trans=* |
--program-tran=* \
934 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
935 program_transform_name
=$ac_optarg ;;
937 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
939 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
942 -psdir |
--psdir |
--psdi |
--psd |
--ps)
944 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
947 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
948 |
-silent |
--silent |
--silen |
--sile |
--sil)
951 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
953 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
955 sbindir
=$ac_optarg ;;
957 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
958 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
959 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
961 ac_prev
=sharedstatedir
;;
962 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
963 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
964 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
966 sharedstatedir
=$ac_optarg ;;
968 -site |
--site |
--sit)
970 -site=* |
--site=* |
--sit=*)
973 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
975 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
978 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
979 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
980 ac_prev
=sysconfdir
;;
981 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
982 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
983 sysconfdir
=$ac_optarg ;;
985 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
986 ac_prev
=target_alias
;;
987 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
988 target_alias
=$ac_optarg ;;
990 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
993 -version |
--version |
--versio |
--versi |
--vers |
-V)
997 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1000 { echo "$as_me: error: invalid package name: $ac_package" >&2
1001 { (exit 1); exit 1; }; }
1002 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1003 eval with_
$ac_package=\
$ac_optarg ;;
1005 -without-* |
--without-*)
1006 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1009 { echo "$as_me: error: invalid package name: $ac_package" >&2
1010 { (exit 1); exit 1; }; }
1011 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1012 eval with_
$ac_package=no
;;
1015 # Obsolete; use --with-x.
1018 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1019 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1020 ac_prev
=x_includes
;;
1021 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1022 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1023 x_includes
=$ac_optarg ;;
1025 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1026 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1027 ac_prev
=x_libraries
;;
1028 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1029 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1030 x_libraries
=$ac_optarg ;;
1032 -*) { echo "$as_me: error: unrecognized option: $ac_option
1033 Try \`$0 --help' for more information." >&2
1034 { (exit 1); exit 1; }; }
1038 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1041 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1042 { (exit 1); exit 1; }; }
1043 eval $ac_envvar=\
$ac_optarg
1044 export $ac_envvar ;;
1047 # FIXME: should be removed in autoconf 3.0.
1048 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1049 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1050 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1051 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1057 if test -n "$ac_prev"; then
1058 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1059 { echo "$as_me: error: missing argument to $ac_option" >&2
1060 { (exit 1); exit 1; }; }
1063 # Be sure to have absolute directory names.
1064 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1065 datadir sysconfdir sharedstatedir localstatedir includedir \
1066 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1067 libdir localedir mandir
1069 eval ac_val
=\$
$ac_var
1071 [\\/$
]* | ?
:[\\/]* ) continue;;
1072 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1074 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1075 { (exit 1); exit 1; }; }
1078 # There might be people who depend on the old broken behavior: `$host'
1079 # used to hold the argument of --host etc.
1080 # FIXME: To remove some day.
1083 target
=$target_alias
1085 # FIXME: To remove some day.
1086 if test "x$host_alias" != x
; then
1087 if test "x$build_alias" = x
; then
1088 cross_compiling
=maybe
1089 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1090 If a cross compiler is detected then cross compile mode will be used." >&2
1091 elif test "x$build_alias" != "x$host_alias"; then
1097 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1099 test "$silent" = yes && exec 6>/dev
/null
1102 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1103 ac_ls_di
=`ls -di .` &&
1104 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1105 { echo "$as_me: error: Working directory cannot be determined" >&2
1106 { (exit 1); exit 1; }; }
1107 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1108 { echo "$as_me: error: pwd does not report name of working directory" >&2
1109 { (exit 1); exit 1; }; }
1112 # Find the source files, if location was not specified.
1113 if test -z "$srcdir"; then
1114 ac_srcdir_defaulted
=yes
1115 # Try the directory containing this script, then the parent directory.
1116 ac_confdir
=`$as_dirname -- "$0" ||
1117 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1118 X"$0" : 'X\(//\)[^/]' \| \
1119 X"$0" : 'X\(//\)$' \| \
1120 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1140 if test ! -r "$srcdir/$ac_unique_file"; then
1144 ac_srcdir_defaulted
=no
1146 if test ! -r "$srcdir/$ac_unique_file"; then
1147 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1148 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1149 { (exit 1); exit 1; }; }
1151 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1153 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1154 { (exit 1); exit 1; }; }
1156 # When building in place, set srcdir=.
1157 if test "$ac_abs_confdir" = "$ac_pwd"; then
1160 # Remove unnecessary trailing slashes from srcdir.
1161 # Double slashes in file names in object file debugging info
1162 # mess up M-x gdb in Emacs.
1164 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1166 for ac_var
in $ac_precious_vars; do
1167 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1168 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1169 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1170 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1174 # Report the --help message.
1176 if test "$ac_init_help" = "long"; then
1177 # Omit some internal or obsolete options to make the list less imposing.
1178 # This message is too long to be a string in the A/UX 3.1 sh.
1180 \`configure' configures mod_domaintree 1.6 to adapt to many kinds of systems.
1182 Usage: $0 [OPTION]... [VAR=VALUE]...
1184 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1185 VAR=VALUE. See below for descriptions of some of the useful variables.
1187 Defaults for the options are specified in brackets.
1190 -h, --help display this help and exit
1191 --help=short display options specific to this package
1192 --help=recursive display the short help of all the included packages
1193 -V, --version display version information and exit
1194 -q, --quiet, --silent do not print \`checking...' messages
1195 --cache-file=FILE cache test results in FILE [disabled]
1196 -C, --config-cache alias for \`--cache-file=config.cache'
1197 -n, --no-create do not create output files
1198 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1200 Installation directories:
1201 --prefix=PREFIX install architecture-independent files in PREFIX
1202 [$ac_default_prefix]
1203 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1206 By default, \`make install' will install all the files in
1207 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1208 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1209 for instance \`--prefix=\$HOME'.
1211 For better control, use the options below.
1213 Fine tuning of the installation directories:
1214 --bindir=DIR user executables [EPREFIX/bin]
1215 --sbindir=DIR system admin executables [EPREFIX/sbin]
1216 --libexecdir=DIR program executables [EPREFIX/libexec]
1217 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1218 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1219 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1220 --libdir=DIR object code libraries [EPREFIX/lib]
1221 --includedir=DIR C header files [PREFIX/include]
1222 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1223 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1224 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1225 --infodir=DIR info documentation [DATAROOTDIR/info]
1226 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1227 --mandir=DIR man documentation [DATAROOTDIR/man]
1228 --docdir=DIR documentation root [DATAROOTDIR/doc/mod_domaintree]
1229 --htmldir=DIR html documentation [DOCDIR]
1230 --dvidir=DIR dvi documentation [DOCDIR]
1231 --pdfdir=DIR pdf documentation [DOCDIR]
1232 --psdir=DIR ps documentation [DOCDIR]
1239 if test -n "$ac_init_help"; then
1240 case $ac_init_help in
1241 short | recursive
) echo "Configuration of mod_domaintree 1.6:";;
1246 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1247 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1248 --with-apxs2 where the apxs2 tool is located
1250 Some influential environment variables
:
1251 CC C compiler
command
1252 CFLAGS C compiler flags
1253 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1254 nonstandard directory
<lib dir
>
1255 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1256 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1257 you have headers
in a nonstandard directory
<include dir
>
1260 Use these variables to override the choices made by
`configure' or to help
1261 it to find libraries and programs with nonstandard names/locations.
1263 Report bugs to <mike@iworks.at>.
1268 if test "$ac_init_help" = "recursive"; then
1269 # If there are subdirs, report their specific --help.
1270 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1271 test -d "$ac_dir" || continue
1275 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1277 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1278 # A ".." for each directory in $ac_dir_suffix.
1279 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1280 case $ac_top_builddir_sub in
1281 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1282 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1285 ac_abs_top_builddir=$ac_pwd
1286 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1287 # for backward compatibility:
1288 ac_top_builddir=$ac_top_build_prefix
1291 .) # We are building in place.
1293 ac_top_srcdir=$ac_top_builddir_sub
1294 ac_abs_top_srcdir=$ac_pwd ;;
1295 [\\/]* | ?:[\\/]* ) # Absolute name.
1296 ac_srcdir=$srcdir$ac_dir_suffix;
1297 ac_top_srcdir=$srcdir
1298 ac_abs_top_srcdir=$srcdir ;;
1300 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1301 ac_top_srcdir=$ac_top_build_prefix$srcdir
1302 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1304 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1306 cd "$ac_dir" || { ac_status=$?; continue; }
1307 # Check for guested configure.
1308 if test -f "$ac_srcdir/configure.gnu"; then
1310 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1311 elif test -f "$ac_srcdir/configure"; then
1313 $SHELL "$ac_srcdir/configure" --help=recursive
1315 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1317 cd "$ac_pwd" || { ac_status=$?; break; }
1321 test -n "$ac_init_help" && exit $ac_status
1322 if $ac_init_version; then
1324 mod_domaintree configure 1.6
1325 generated by GNU Autoconf 2.61
1327 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1328 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1329 This configure script is free software; the Free Software Foundation
1330 gives unlimited permission to copy, distribute and modify it.
1334 cat >config.log <<_ACEOF
1335 This file contains any messages produced by compilers while
1336 running configure, to aid debugging if configure makes a mistake.
1338 It was created by mod_domaintree $as_me 1.6, which was
1339 generated by GNU Autoconf 2.61. Invocation command line was
1351 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1352 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1353 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1354 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1355 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1357 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1358 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1360 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1361 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1362 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1363 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1364 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1365 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1366 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1374 test -z "$as_dir" && as_dir=.
1375 echo "PATH: $as_dir"
1391 # Keep a trace of the command line.
1392 # Strip out --no-create and --no-recursion so they do not pile up.
1393 # Strip out --silent because we don't want to record it for future runs.
1394 # Also quote any args containing shell meta-characters.
1395 # Make two passes to allow for proper duplicate-argument suppression.
1399 ac_must_keep_next=false
1405 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1406 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1407 | -silent | --silent | --silen | --sile | --sil)
1410 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1413 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1415 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1416 if test $ac_must_keep_next = true; then
1417 ac_must_keep_next=false # Got value, back to normal.
1420 *=* | --config-cache | -C | -disable-* | --disable-* \
1421 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1422 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1423 | -with-* | --with-* | -without-* | --without-* | --x)
1424 case "$ac_configure_args0 " in
1425 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1428 -* ) ac_must_keep_next=true ;;
1431 ac_configure_args="$ac_configure_args '$ac_arg'"
1436 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1437 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1439 # When interrupted or exit'd, cleanup temporary files, and complete
1440 # config.log. We remove comments because anyway the quotes in there
1441 # would cause problems or look ugly.
1442 # WARNING: Use '\'' to represent an apostrophe within the trap.
1443 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1444 trap 'exit_status=$?
1445 # Save into config.log some information that might help in debugging.
1450 ## ---------------- ##
1451 ## Cache variables. ##
1452 ## ---------------- ##
1455 # The following way of writing the cache mishandles newlines in values,
1457 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1458 eval ac_val=\$$ac_var
1462 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1463 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1466 _ | IFS | as_nl) ;; #(
1467 *) $as_unset $ac_var ;;
1472 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1473 *${as_nl}ac_space=\ *)
1475 "s/'\''/'\''\\\\'\'''\''/g;
1476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1479 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1487 ## ----------------- ##
1488 ## Output variables. ##
1489 ## ----------------- ##
1492 for ac_var in $ac_subst_vars
1494 eval ac_val=\$$ac_var
1496 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1498 echo "$ac_var='\''$ac_val'\''"
1502 if test -n "$ac_subst_files"; then
1504 ## ------------------- ##
1505 ## File substitutions. ##
1506 ## ------------------- ##
1509 for ac_var in $ac_subst_files
1511 eval ac_val=\$$ac_var
1513 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1515 echo "$ac_var='\''$ac_val'\''"
1520 if test -s confdefs.h; then
1530 test "$ac_signal" != 0 &&
1531 echo "$as_me: caught signal $ac_signal"
1532 echo "$as_me: exit $exit_status"
1534 rm -f core *.core core.conftest.* &&
1535 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1538 for ac_signal in 1 2 13 15; do
1539 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1543 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1544 rm -f -r conftest* confdefs.h
1546 # Predefined preprocessor variables.
1548 cat >>confdefs.h <<_ACEOF
1549 #define PACKAGE_NAME "$PACKAGE_NAME"
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_STRING "$PACKAGE_STRING"
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1573 # Let the site file select an alternate cache file if it wants to.
1574 # Prefer explicitly selected file to automatically selected ones.
1575 if test -n "$CONFIG_SITE"; then
1576 set x "$CONFIG_SITE"
1577 elif test "x$prefix" != xNONE; then
1578 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1580 set x "$ac_default_prefix/share/config.site" \
1581 "$ac_default_prefix/etc/config.site"
1586 if test -r "$ac_site_file"; then
1587 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1588 echo "$as_me: loading site script $ac_site_file" >&6;}
1589 sed 's/^/| /' "$ac_site_file" >&5
1594 if test -r "$cache_file"; then
1595 # Some versions of bash will fail to source /dev/null (special
1596 # files actually), so we avoid doing that.
1597 if test -f "$cache_file"; then
1598 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1599 echo "$as_me: loading cache $cache_file" >&6;}
1601 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1602 *) . "./$cache_file";;
1606 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1607 echo "$as_me: creating cache $cache_file" >&6;}
1611 # Check that the precious variables saved in the cache have kept the same
1613 ac_cache_corrupted=false
1614 for ac_var in $ac_precious_vars; do
1615 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1616 eval ac_new_set=\$ac_env_${ac_var}_set
1617 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1618 eval ac_new_val=\$ac_env_${ac_var}_value
1619 case $ac_old_set,$ac_new_set in
1621 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1622 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1623 ac_cache_corrupted=: ;;
1625 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1626 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1627 ac_cache_corrupted=: ;;
1630 if test "x$ac_old_val" != "x$ac_new_val"; then
1631 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1632 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1633 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1634 echo "$as_me: former value
: $ac_old_val" >&2;}
1635 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1636 echo "$as_me: current value
: $ac_new_val" >&2;}
1637 ac_cache_corrupted=:
1640 # Pass precious variables to config.status.
1641 if test "$ac_new_set" = set; then
1643 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1644 *) ac_arg=$ac_var=$ac_new_val ;;
1646 case " $ac_configure_args " in
1647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1648 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1652 if $ac_cache_corrupted; then
1653 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1654 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1655 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1656 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1657 { (exit 1); exit 1; }; }
1685 ac_cpp='$CPP $CPPFLAGS'
1686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1693 ac_config_headers="$ac_config_headers config.h"
1697 ac_cpp='$CPP $CPPFLAGS'
1698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1701 if test -n "$ac_tool_prefix"; then
1702 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1703 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1706 if test "${ac_cv_prog_CC+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 if test -n "$CC"; then
1710 ac_cv_prog_CC="$CC" # Let the user override the test.
1712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1716 test -z "$as_dir" && as_dir=.
1717 for ac_exec_ext in '' $ac_executable_extensions; do
1718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1719 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 if test -n "$CC"; then
1731 { echo "$as_me:$LINENO: result: $CC" >&5
1732 echo "${ECHO_T}$CC" >&6; }
1734 { echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6; }
1740 if test -z "$ac_cv_prog_CC"; then
1742 # Extract the first word of "gcc", so it can be a program name with args.
1743 set dummy gcc; ac_word=$2
1744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1746 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1747 echo $ECHO_N "(cached) $ECHO_C" >&6
1749 if test -n "$ac_ct_CC"; then
1750 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1756 test -z "$as_dir" && as_dir=.
1757 for ac_exec_ext in '' $ac_executable_extensions; do
1758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1759 ac_cv_prog_ac_ct_CC="gcc"
1760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1769 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1770 if test -n "$ac_ct_CC"; then
1771 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1772 echo "${ECHO_T}$ac_ct_CC" >&6; }
1774 { echo "$as_me:$LINENO: result: no" >&5
1775 echo "${ECHO_T}no" >&6; }
1778 if test "x$ac_ct_CC" = x; then
1781 case $cross_compiling:$ac_tool_warned in
1783 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1784 whose name does not start with the host triplet. If you think this
1785 configuration is useful to you, please write to autoconf@gnu.org." >&5
1786 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1787 whose name does not start with the host triplet. If you think this
1788 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1789 ac_tool_warned=yes ;;
1797 if test -z "$CC"; then
1798 if test -n "$ac_tool_prefix"; then
1799 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1800 set dummy ${ac_tool_prefix}cc; ac_word=$2
1801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1803 if test "${ac_cv_prog_CC+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 if test -n "$CC"; then
1807 ac_cv_prog_CC="$CC" # Let the user override the test.
1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813 test -z "$as_dir" && as_dir=.
1814 for ac_exec_ext in '' $ac_executable_extensions; do
1815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1816 ac_cv_prog_CC="${ac_tool_prefix}cc"
1817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1827 if test -n "$CC"; then
1828 { echo "$as_me:$LINENO: result: $CC" >&5
1829 echo "${ECHO_T}$CC" >&6; }
1831 { echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6; }
1838 if test -z "$CC"; then
1839 # Extract the first word of "cc", so it can be a program name with args.
1840 set dummy cc; ac_word=$2
1841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1843 if test "${ac_cv_prog_CC+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1846 if test -n "$CC"; then
1847 ac_cv_prog_CC="$CC" # Let the user override the test.
1850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1854 test -z "$as_dir" && as_dir=.
1855 for ac_exec_ext in '' $ac_executable_extensions; do
1856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1857 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1858 ac_prog_rejected=yes
1862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 if test $ac_prog_rejected = yes; then
1870 # We found a bogon in the path, so make sure we never use it.
1871 set dummy $ac_cv_prog_CC
1873 if test $# != 0; then
1874 # We chose a different compiler from the bogus one.
1875 # However, it has the same basename, so the bogon will be chosen
1876 # first if we set CC to just the basename; use the full file name.
1878 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1884 if test -n "$CC"; then
1885 { echo "$as_me:$LINENO: result: $CC" >&5
1886 echo "${ECHO_T}$CC" >&6; }
1888 { echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6; }
1894 if test -z "$CC"; then
1895 if test -n "$ac_tool_prefix"; then
1896 for ac_prog in cl.exe
1898 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1899 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1902 if test "${ac_cv_prog_CC+set}" = set; then
1903 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 if test -n "$CC"; then
1906 ac_cv_prog_CC="$CC" # Let the user override the test.
1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 test -z "$as_dir" && as_dir=.
1913 for ac_exec_ext in '' $ac_executable_extensions; do
1914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1915 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1926 if test -n "$CC"; then
1927 { echo "$as_me:$LINENO: result: $CC" >&5
1928 echo "${ECHO_T}$CC" >&6; }
1930 { echo "$as_me:$LINENO: result: no" >&5
1931 echo "${ECHO_T}no" >&6; }
1935 test -n "$CC" && break
1938 if test -z "$CC"; then
1940 for ac_prog in cl.exe
1942 # Extract the first word of "$ac_prog", so it can be a program name with args.
1943 set dummy $ac_prog; ac_word=$2
1944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1946 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 if test -n "$ac_ct_CC"; then
1950 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1956 test -z "$as_dir" && as_dir=.
1957 for ac_exec_ext in '' $ac_executable_extensions; do
1958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1959 ac_cv_prog_ac_ct_CC="$ac_prog"
1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1970 if test -n "$ac_ct_CC"; then
1971 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1972 echo "${ECHO_T}$ac_ct_CC" >&6; }
1974 { echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6; }
1979 test -n "$ac_ct_CC" && break
1982 if test "x$ac_ct_CC" = x; then
1985 case $cross_compiling:$ac_tool_warned in
1987 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1988 whose name does not start with the host triplet. If you think this
1989 configuration is useful to you, please write to autoconf@gnu.org." >&5
1990 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1991 whose name does not start with the host triplet. If you think this
1992 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1993 ac_tool_warned=yes ;;
2002 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2003 See \`config.log
' for more details." >&5
2004 echo "$as_me: error: no acceptable C compiler found in \$PATH
2005 See \`config.log' for more details.
" >&2;}
2006 { (exit 1); exit 1; }; }
2008 # Provide some information about the compiler.
2009 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2010 ac_compiler=`set X $ac_compile; echo $2`
2011 { (ac_try="$ac_compiler --version >&5"
2013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2014 *) ac_try_echo=$ac_try;;
2016 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2017 (eval "$ac_compiler --version >&5") 2>&5
2019 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2020 (exit $ac_status); }
2021 { (ac_try="$ac_compiler -v >&5"
2023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2024 *) ac_try_echo=$ac_try;;
2026 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2027 (eval "$ac_compiler -v >&5") 2>&5
2029 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2030 (exit $ac_status); }
2031 { (ac_try="$ac_compiler -V >&5"
2033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2034 *) ac_try_echo=$ac_try;;
2036 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2037 (eval "$ac_compiler -V >&5") 2>&5
2039 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2040 (exit $ac_status); }
2042 cat >conftest.$ac_ext <<_ACEOF
2045 cat confdefs.h >>conftest.$ac_ext
2046 cat >>conftest.$ac_ext <<_ACEOF
2047 /* end confdefs.h. */
2057 ac_clean_files_save=$ac_clean_files
2058 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2059 # Try to create an executable without -o first, disregard a.out.
2060 # It will help us diagnose broken compilers, and finding out an intuition
2062 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2063 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2064 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2066 # List of possible output files, starting from the most likely.
2067 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2068 # only as a last resort. b.out is created by i960 compilers.
2069 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2071 # The IRIX 6 linker writes into existing files which may not be
2072 # executable, retaining their permissions. Remove them first so a
2073 # subsequent execution test works.
2075 for ac_file in $ac_files
2078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2079 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2084 if { (ac_try="$ac_link_default"
2086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2087 *) ac_try_echo=$ac_try;;
2089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2090 (eval "$ac_link_default") 2>&5
2092 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2093 (exit $ac_status); }; then
2094 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2095 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2096 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2097 # so that the user can short-circuit this test for compilers unknown to
2099 for ac_file in $ac_files ''
2101 test -f "$ac_file" || continue
2103 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2106 # We found the default executable, but exeext='' is most
2110 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2112 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2114 # We set ac_cv_exeext here because the later test for it is not
2115 # safe: cross compilers may not add the suffix if given an `-o'
2116 # argument, so we may need to know it at that point already.
2117 # Even if this section looks crufty: it has the advantage of
2124 test "$ac_cv_exeext" = no && ac_cv_exeext=
2130 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2131 echo "${ECHO_T}$ac_file" >&6; }
2132 if test -z "$ac_file"; then
2133 echo "$as_me: failed program was
:" >&5
2134 sed 's/^/| /' conftest.$ac_ext >&5
2136 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2137 See \
`config.log' for more details." >&5
2138 echo "$as_me: error: C compiler cannot create executables
2139 See \`config.log
' for more details." >&2;}
2140 { (exit 77); exit 77; }; }
2143 ac_exeext=$ac_cv_exeext
2145 # Check that the compiler produces executables we can run. If not, either
2146 # the compiler is broken, or we cross compile.
2147 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2148 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2149 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2150 # If not cross compiling, check that we can run a simple program.
2151 if test "$cross_compiling" != yes; then
2152 if { ac_try='.
/$ac_file'
2153 { (case "(($ac_try" in
2154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2155 *) ac_try_echo=$ac_try;;
2157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2158 (eval "$ac_try") 2>&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; }; then
2164 if test "$cross_compiling" = maybe; then
2167 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2168 If you meant to cross compile, use \`--host'.
2169 See \
`config.log' for more details." >&5
2170 echo "$as_me: error: cannot run C compiled programs.
2171 If you meant to cross compile, use \`--host'.
2172 See \`config.log' for more details.
" >&2;}
2173 { (exit 1); exit 1; }; }
2177 { echo "$as_me:$LINENO: result
: yes" >&5
2178 echo "${ECHO_T}yes" >&6; }
2180 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2181 ac_clean_files=$ac_clean_files_save
2182 # Check that the compiler produces executables we can run. If not, either
2183 # the compiler is broken, or we cross compile.
2184 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2185 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2186 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2187 echo "${ECHO_T}$cross_compiling" >&6; }
2189 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2190 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2191 if { (ac_try="$ac_link"
2193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2194 *) ac_try_echo=$ac_try;;
2196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2197 (eval "$ac_link") 2>&5
2199 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2200 (exit $ac_status); }; then
2201 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2202 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2203 # work properly (i.e., refer to `conftest.exe'), while it won't with
2205 for ac_file in conftest.exe conftest conftest.*; do
2206 test -f "$ac_file" || continue
2208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2209 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2215 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2216 See \
`config.log' for more details." >&5
2217 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2218 See \`config.log
' for more details." >&2;}
2219 { (exit 1); exit 1; }; }
2222 rm -f conftest$ac_cv_exeext
2223 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2224 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2226 rm -f conftest.$ac_ext
2227 EXEEXT=$ac_cv_exeext
2229 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2230 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2231 if test "${ac_cv_objext+set}" = set; then
2232 echo $ECHO_N "(cached) $ECHO_C" >&6
2234 cat >conftest.$ac_ext <<_ACEOF
2237 cat confdefs.h >>conftest.$ac_ext
2238 cat >>conftest.$ac_ext <<_ACEOF
2239 /* end confdefs.h. */
2249 rm -f conftest.o conftest.obj
2250 if { (ac_try="$ac_compile"
2252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2253 *) ac_try_echo=$ac_try;;
2255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2256 (eval "$ac_compile") 2>&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; then
2260 for ac_file in conftest.o conftest.obj conftest.*; do
2261 test -f "$ac_file" || continue;
2263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2264 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2269 echo "$as_me: failed program was:" >&5
2270 sed 's
/^
/|
/' conftest.$ac_ext >&5
2272 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2273 See \`config.log' for more details.
" >&5
2274 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2275 See \
`config.log' for more details." >&2;}
2276 { (exit 1); exit 1; }; }
2279 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2281 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2282 echo "${ECHO_T}$ac_cv_objext" >&6; }
2283 OBJEXT=$ac_cv_objext
2285 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2286 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2287 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 cat >conftest.$ac_ext <<_ACEOF
2293 cat confdefs.h >>conftest.$ac_ext
2294 cat >>conftest.$ac_ext <<_ACEOF
2295 /* end confdefs.h. */
2308 rm -f conftest.$ac_objext
2309 if { (ac_try="$ac_compile"
2311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2312 *) ac_try_echo
=$ac_try;;
2314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2315 (eval "$ac_compile") 2>conftest.er1
2317 grep -v '^ *+' conftest.er1
>conftest.err
2319 cat conftest.err
>&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } && {
2322 test -z "$ac_c_werror_flag" ||
2323 test ! -s conftest.err
2324 } && test -s conftest.
$ac_objext; then
2327 echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.
$ac_ext >&5
2333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2334 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2337 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2338 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2339 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2340 ac_test_CFLAGS
=${CFLAGS+set}
2341 ac_save_CFLAGS
=$CFLAGS
2342 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2343 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2344 if test "${ac_cv_prog_cc_g+set}" = set; then
2345 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 ac_save_c_werror_flag
=$ac_c_werror_flag
2348 ac_c_werror_flag
=yes
2351 cat >conftest.
$ac_ext <<_ACEOF
2354 cat confdefs.h
>>conftest.
$ac_ext
2355 cat >>conftest.
$ac_ext <<_ACEOF
2356 /* end confdefs.h. */
2366 rm -f conftest.
$ac_objext
2367 if { (ac_try
="$ac_compile"
2369 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2370 *) ac_try_echo=$ac_try;;
2372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2373 (eval "$ac_compile") 2>conftest.er1
2375 grep -v '^ *+' conftest.er1 >conftest.err
2377 cat conftest.err >&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); } && {
2380 test -z "$ac_c_werror_flag" ||
2381 test ! -s conftest.err
2382 } && test -s conftest.$ac_objext; then
2385 echo "$as_me: failed program was:" >&5
2386 sed 's/^/| /' conftest.$ac_ext >&5
2389 cat >conftest.$ac_ext <<_ACEOF
2392 cat confdefs.h >>conftest.$ac_ext
2393 cat >>conftest.$ac_ext <<_ACEOF
2394 /* end confdefs.h. */
2404 rm -f conftest.$ac_objext
2405 if { (ac_try="$ac_compile"
2407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2408 *) ac_try_echo
=$ac_try;;
2410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2411 (eval "$ac_compile") 2>conftest.er1
2413 grep -v '^ *+' conftest.er1
>conftest.err
2415 cat conftest.err
>&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } && {
2418 test -z "$ac_c_werror_flag" ||
2419 test ! -s conftest.err
2420 } && test -s conftest.
$ac_objext; then
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.
$ac_ext >&5
2426 ac_c_werror_flag
=$ac_save_c_werror_flag
2428 cat >conftest.
$ac_ext <<_ACEOF
2431 cat confdefs.h
>>conftest.
$ac_ext
2432 cat >>conftest.
$ac_ext <<_ACEOF
2433 /* end confdefs.h. */
2443 rm -f conftest.
$ac_objext
2444 if { (ac_try
="$ac_compile"
2446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2447 *) ac_try_echo=$ac_try;;
2449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2450 (eval "$ac_compile") 2>conftest.er1
2452 grep -v '^ *+' conftest.er1 >conftest.err
2454 cat conftest.err >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); } && {
2457 test -z "$ac_c_werror_flag" ||
2458 test ! -s conftest.err
2459 } && test -s conftest.$ac_objext; then
2462 echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.$ac_ext >&5
2468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 ac_c_werror_flag=$ac_save_c_werror_flag
2477 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2478 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2479 if test "$ac_test_CFLAGS" = set; then
2480 CFLAGS=$ac_save_CFLAGS
2481 elif test $ac_cv_prog_cc_g = yes; then
2482 if test "$GCC" = yes; then
2488 if test "$GCC" = yes; then
2494 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2495 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2496 if test "${ac_cv_prog_cc_c89+set}" = set; then
2497 echo $ECHO_N "(cached) $ECHO_C" >&6
2499 ac_cv_prog_cc_c89=no
2501 cat >conftest.$ac_ext <<_ACEOF
2504 cat confdefs.h >>conftest.$ac_ext
2505 cat >>conftest.$ac_ext <<_ACEOF
2506 /* end confdefs.h. */
2509 #include <sys/types.h>
2510 #include <sys/stat.h>
2511 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2512 struct buf { int x; };
2513 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2514 static char *e (p, i)
2520 static char *f (char * (*g) (char **, int), char **p, ...)
2525 s = g (p, va_arg (v,int));
2530 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2531 function prototypes and stuff, but not '\xHH' hex character constants.
2532 These don't provoke an error unfortunately, instead are silently treated
2533 as 'x'. The following induces an error, until -std is added to get
2534 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2535 array size at least. It's necessary to write '\x00'==0 to get something
2536 that's true only with -std. */
2537 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2539 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2540 inside strings and character constants. */
2542 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2544 int test (int i, double x);
2545 struct s1 {int (*f) (int a);};
2546 struct s2 {int (*f) (double a);};
2547 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2553 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2558 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2559 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2561 CC="$ac_save_CC $ac_arg"
2562 rm -f conftest.$ac_objext
2563 if { (ac_try="$ac_compile"
2565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2566 *) ac_try_echo
=$ac_try;;
2568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2569 (eval "$ac_compile") 2>conftest.er1
2571 grep -v '^ *+' conftest.er1
>conftest.err
2573 cat conftest.err
>&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); } && {
2576 test -z "$ac_c_werror_flag" ||
2577 test ! -s conftest.err
2578 } && test -s conftest.
$ac_objext; then
2579 ac_cv_prog_cc_c89
=$ac_arg
2581 echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.
$ac_ext >&5
2587 rm -f core conftest.err conftest.
$ac_objext
2588 test "x$ac_cv_prog_cc_c89" != "xno" && break
2590 rm -f conftest.
$ac_ext
2595 case "x$ac_cv_prog_cc_c89" in
2597 { echo "$as_me:$LINENO: result: none needed" >&5
2598 echo "${ECHO_T}none needed" >&6; } ;;
2600 { echo "$as_me:$LINENO: result: unsupported" >&5
2601 echo "${ECHO_T}unsupported" >&6; } ;;
2603 CC
="$CC $ac_cv_prog_cc_c89"
2604 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2605 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2610 ac_cpp
='$CPP $CPPFLAGS'
2611 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2612 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2613 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2617 ac_cpp
='$CPP $CPPFLAGS'
2618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2621 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2622 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2623 # On Suns, sometimes $CPP names a directory.
2624 if test -n "$CPP" && test -d "$CPP"; then
2627 if test -z "$CPP"; then
2628 if test "${ac_cv_prog_CPP+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 # Double quotes because CPP needs to be expanded
2632 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2635 for ac_c_preproc_warn_flag
in '' yes
2637 # Use a header file that comes with gcc, so configuring glibc
2638 # with a fresh cross-compiler works.
2639 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2640 # <limits.h> exists even on freestanding compilers.
2641 # On the NeXT, cc -E runs the code through the compiler's parser,
2642 # not just through cpp. "Syntax error" is here to catch this case.
2643 cat >conftest.
$ac_ext <<_ACEOF
2646 cat confdefs.h
>>conftest.
$ac_ext
2647 cat >>conftest.
$ac_ext <<_ACEOF
2648 /* end confdefs.h. */
2650 # include <limits.h>
2652 # include <assert.h>
2656 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2659 *) ac_try_echo=$ac_try;;
2661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2664 grep -v '^ *+' conftest.er1 >conftest.err
2666 cat conftest.err >&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); } >/dev/null && {
2669 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2670 test ! -s conftest.err
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.$ac_ext >&5
2677 # Broken: fails on valid input.
2681 rm -f conftest.err conftest.$ac_ext
2683 # OK, works on sane cases. Now check whether nonexistent headers
2684 # can be detected and how.
2685 cat >conftest.$ac_ext <<_ACEOF
2688 cat confdefs.h >>conftest.$ac_ext
2689 cat >>conftest.$ac_ext <<_ACEOF
2690 /* end confdefs.h. */
2691 #include <ac_nonexistent.h>
2693 if { (ac_try="$ac_cpp conftest.$ac_ext"
2695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2696 *) ac_try_echo
=$ac_try;;
2698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2701 grep -v '^ *+' conftest.er1
>conftest.err
2703 cat conftest.err
>&5
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); } >/dev
/null
&& {
2706 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2707 test ! -s conftest.err
2709 # Broken: success on invalid input.
2712 echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.
$ac_ext >&5
2715 # Passes both tests.
2720 rm -f conftest.err conftest.
$ac_ext
2723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2724 rm -f conftest.err conftest.
$ac_ext
2725 if $ac_preproc_ok; then
2737 { echo "$as_me:$LINENO: result: $CPP" >&5
2738 echo "${ECHO_T}$CPP" >&6; }
2740 for ac_c_preproc_warn_flag
in '' yes
2742 # Use a header file that comes with gcc, so configuring glibc
2743 # with a fresh cross-compiler works.
2744 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2745 # <limits.h> exists even on freestanding compilers.
2746 # On the NeXT, cc -E runs the code through the compiler's parser,
2747 # not just through cpp. "Syntax error" is here to catch this case.
2748 cat >conftest.
$ac_ext <<_ACEOF
2751 cat confdefs.h
>>conftest.
$ac_ext
2752 cat >>conftest.
$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2755 # include <limits.h>
2757 # include <assert.h>
2761 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2767 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2769 grep -v '^ *+' conftest.er1 >conftest.err
2771 cat conftest.err >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); } >/dev/null && {
2774 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2775 test ! -s conftest.err
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2782 # Broken: fails on valid input.
2786 rm -f conftest.err conftest.$ac_ext
2788 # OK, works on sane cases. Now check whether nonexistent headers
2789 # can be detected and how.
2790 cat >conftest.$ac_ext <<_ACEOF
2793 cat confdefs.h >>conftest.$ac_ext
2794 cat >>conftest.$ac_ext <<_ACEOF
2795 /* end confdefs.h. */
2796 #include <ac_nonexistent.h>
2798 if { (ac_try="$ac_cpp conftest.$ac_ext"
2800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2801 *) ac_try_echo
=$ac_try;;
2803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2806 grep -v '^ *+' conftest.er1
>conftest.err
2808 cat conftest.err
>&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } >/dev
/null
&& {
2811 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2812 test ! -s conftest.err
2814 # Broken: success on invalid input.
2817 echo "$as_me: failed program was:" >&5
2818 sed 's/^/| /' conftest.
$ac_ext >&5
2820 # Passes both tests.
2825 rm -f conftest.err conftest.
$ac_ext
2828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2829 rm -f conftest.err conftest.
$ac_ext
2830 if $ac_preproc_ok; then
2833 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2834 See \`config.log' for more details." >&5
2835 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2836 See \`config.log' for more details." >&2;}
2837 { (exit 1); exit 1; }; }
2841 ac_cpp
='$CPP $CPPFLAGS'
2842 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2843 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2844 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2847 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2848 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2849 if test "${ac_cv_path_GREP+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2852 # Extract the first word of "grep ggrep" to use in msg output
2853 if test -z "$GREP"; then
2854 set dummy
grep ggrep
; ac_prog_name
=$2
2855 if test "${ac_cv_path_GREP+set}" = set; then
2856 echo $ECHO_N "(cached) $ECHO_C" >&6
2858 ac_path_GREP_found
=false
2859 # Loop through the user's path and test for each of PROGNAME-LIST
2860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2861 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
2864 test -z "$as_dir" && as_dir
=.
2865 for ac_prog
in grep ggrep
; do
2866 for ac_exec_ext
in '' $ac_executable_extensions; do
2867 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
2868 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
2869 # Check for GNU ac_path_GREP and select it if it is found.
2870 # Check for GNU $ac_path_GREP
2871 case `"$ac_path_GREP" --version 2>&1` in
2873 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
2876 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2879 cat "conftest.in" "conftest.in" >"conftest.tmp"
2880 mv "conftest.tmp" "conftest.in"
2881 cp "conftest.in" "conftest.nl"
2882 echo 'GREP' >> "conftest.nl"
2883 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2884 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2885 ac_count
=`expr $ac_count + 1`
2886 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2887 # Best one so far, save it but keep looking for a better one
2888 ac_cv_path_GREP
="$ac_path_GREP"
2889 ac_path_GREP_max
=$ac_count
2891 # 10*(2^10) chars as input seems more than enough
2892 test $ac_count -gt 10 && break
2894 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2898 $ac_path_GREP_found && break 3
2908 GREP
="$ac_cv_path_GREP"
2909 if test -z "$GREP"; then
2910 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2911 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2912 { (exit 1); exit 1; }; }
2916 ac_cv_path_GREP
=$GREP
2921 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2922 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2923 GREP
="$ac_cv_path_GREP"
2926 { echo "$as_me:$LINENO: checking for egrep" >&5
2927 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2928 if test "${ac_cv_path_EGREP+set}" = set; then
2929 echo $ECHO_N "(cached) $ECHO_C" >&6
2931 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
2932 then ac_cv_path_EGREP
="$GREP -E"
2934 # Extract the first word of "egrep" to use in msg output
2935 if test -z "$EGREP"; then
2936 set dummy
egrep; ac_prog_name
=$2
2937 if test "${ac_cv_path_EGREP+set}" = set; then
2938 echo $ECHO_N "(cached) $ECHO_C" >&6
2940 ac_path_EGREP_found
=false
2941 # Loop through the user's path and test for each of PROGNAME-LIST
2942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2943 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
2946 test -z "$as_dir" && as_dir
=.
2947 for ac_prog
in egrep; do
2948 for ac_exec_ext
in '' $ac_executable_extensions; do
2949 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
2950 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
2951 # Check for GNU ac_path_EGREP and select it if it is found.
2952 # Check for GNU $ac_path_EGREP
2953 case `"$ac_path_EGREP" --version 2>&1` in
2955 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
2958 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2961 cat "conftest.in" "conftest.in" >"conftest.tmp"
2962 mv "conftest.tmp" "conftest.in"
2963 cp "conftest.in" "conftest.nl"
2964 echo 'EGREP' >> "conftest.nl"
2965 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2966 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2967 ac_count
=`expr $ac_count + 1`
2968 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2969 # Best one so far, save it but keep looking for a better one
2970 ac_cv_path_EGREP
="$ac_path_EGREP"
2971 ac_path_EGREP_max
=$ac_count
2973 # 10*(2^10) chars as input seems more than enough
2974 test $ac_count -gt 10 && break
2976 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2980 $ac_path_EGREP_found && break 3
2990 EGREP
="$ac_cv_path_EGREP"
2991 if test -z "$EGREP"; then
2992 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2993 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2994 { (exit 1); exit 1; }; }
2998 ac_cv_path_EGREP
=$EGREP
3004 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3005 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3006 EGREP
="$ac_cv_path_EGREP"
3009 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3010 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3011 if test "${ac_cv_header_stdc+set}" = set; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3014 cat >conftest.
$ac_ext <<_ACEOF
3017 cat confdefs.h
>>conftest.
$ac_ext
3018 cat >>conftest.
$ac_ext <<_ACEOF
3019 /* end confdefs.h. */
3033 rm -f conftest.
$ac_objext
3034 if { (ac_try
="$ac_compile"
3036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3040 (eval "$ac_compile") 2>conftest.er1
3042 grep -v '^ *+' conftest.er1 >conftest.err
3044 cat conftest.err >&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } && {
3047 test -z "$ac_c_werror_flag" ||
3048 test ! -s conftest.err
3049 } && test -s conftest.$ac_objext; then
3050 ac_cv_header_stdc=yes
3052 echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3055 ac_cv_header_stdc=no
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060 if test $ac_cv_header_stdc = yes; then
3061 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3062 cat >conftest.$ac_ext <<_ACEOF
3065 cat confdefs.h >>conftest.$ac_ext
3066 cat >>conftest.$ac_ext <<_ACEOF
3067 /* end confdefs.h. */
3071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3072 $EGREP "memchr" >/dev/null 2>&1; then
3075 ac_cv_header_stdc=no
3081 if test $ac_cv_header_stdc = yes; then
3082 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3083 cat >conftest.$ac_ext <<_ACEOF
3086 cat confdefs.h >>conftest.$ac_ext
3087 cat >>conftest.$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3093 $EGREP "free" >/dev/null 2>&1; then
3096 ac_cv_header_stdc=no
3102 if test $ac_cv_header_stdc = yes; then
3103 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3104 if test "$cross_compiling" = yes; then
3107 cat >conftest.$ac_ext <<_ACEOF
3110 cat confdefs.h >>conftest.$ac_ext
3111 cat >>conftest.$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3115 #if ((' ' & 0x0FF) == 0x020)
3116 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3117 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3119 # define ISLOWER(c) \
3120 (('a' <= (c) && (c) <= 'i') \
3121 || ('j' <= (c) && (c) <= 'r') \
3122 || ('s' <= (c) && (c) <= 'z'))
3123 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3126 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3131 for (i = 0; i < 256; i++)
3132 if (XOR (islower (i), ISLOWER (i))
3133 || toupper (i) != TOUPPER (i))
3138 rm -f conftest$ac_exeext
3139 if { (ac_try="$ac_link"
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_link") 2>&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3149 { (case "(($ac_try" in
3150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3151 *) ac_try_echo=$ac_try;;
3153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3154 (eval "$ac_try") 2>&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; }; then
3160 echo "$as_me: program exited with status $ac_status" >&5
3161 echo "$as_me: failed program was:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3165 ac_cv_header_stdc=no
3167 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3173 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3174 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3175 if test $ac_cv_header_stdc = yes; then
3177 cat >>confdefs.h <<\_ACEOF
3178 #define STDC_HEADERS 1
3183 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3193 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3194 inttypes.h stdint.h unistd.h
3196 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3197 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3199 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3200 echo $ECHO_N "(cached) $ECHO_C" >&6
3202 cat >conftest.$ac_ext <<_ACEOF
3205 cat confdefs.h >>conftest.$ac_ext
3206 cat >>conftest.$ac_ext <<_ACEOF
3207 /* end confdefs.h. */
3208 $ac_includes_default
3210 #include <$ac_header>
3212 rm -f conftest.$ac_objext
3213 if { (ac_try="$ac_compile"
3215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3216 *) ac_try_echo
=$ac_try;;
3218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3219 (eval "$ac_compile") 2>conftest.er1
3221 grep -v '^ *+' conftest.er1
>conftest.err
3223 cat conftest.err
>&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); } && {
3226 test -z "$ac_c_werror_flag" ||
3227 test ! -s conftest.err
3228 } && test -s conftest.
$ac_objext; then
3229 eval "$as_ac_Header=yes"
3231 echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.
$ac_ext >&5
3234 eval "$as_ac_Header=no"
3237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3239 ac_res
=`eval echo '${'$as_ac_Header'}'`
3240 { echo "$as_me:$LINENO: result: $ac_res" >&5
3241 echo "${ECHO_T}$ac_res" >&6; }
3242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3243 cat >>confdefs.h
<<_ACEOF
3244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3253 for ac_header
in unistd.h
3255 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3256 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3257 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3259 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3262 ac_res
=`eval echo '${'$as_ac_Header'}'`
3263 { echo "$as_me:$LINENO: result: $ac_res" >&5
3264 echo "${ECHO_T}$ac_res" >&6; }
3266 # Is the header compilable?
3267 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
3268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3269 cat >conftest.
$ac_ext <<_ACEOF
3272 cat confdefs.h
>>conftest.
$ac_ext
3273 cat >>conftest.
$ac_ext <<_ACEOF
3274 /* end confdefs.h. */
3275 $ac_includes_default
3276 #include <$ac_header>
3278 rm -f conftest.
$ac_objext
3279 if { (ac_try
="$ac_compile"
3281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3282 *) ac_try_echo=$ac_try;;
3284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3285 (eval "$ac_compile") 2>conftest.er1
3287 grep -v '^ *+' conftest.er1 >conftest.err
3289 cat conftest.err >&5
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); } && {
3292 test -z "$ac_c_werror_flag" ||
3293 test ! -s conftest.err
3294 } && test -s conftest.$ac_objext; then
3295 ac_header_compiler=yes
3297 echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.$ac_ext >&5
3300 ac_header_compiler=no
3303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3304 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3305 echo "${ECHO_T}$ac_header_compiler" >&6; }
3307 # Is the header present?
3308 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
3309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3310 cat >conftest.$ac_ext <<_ACEOF
3313 cat confdefs.h >>conftest.$ac_ext
3314 cat >>conftest.$ac_ext <<_ACEOF
3315 /* end confdefs.h. */
3316 #include <$ac_header>
3318 if { (ac_try="$ac_cpp conftest.$ac_ext"
3320 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3321 *) ac_try_echo
=$ac_try;;
3323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3324 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3326 grep -v '^ *+' conftest.er1
>conftest.err
3328 cat conftest.err
>&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); } >/dev
/null
&& {
3331 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3332 test ! -s conftest.err
3334 ac_header_preproc
=yes
3336 echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.
$ac_ext >&5
3339 ac_header_preproc
=no
3342 rm -f conftest.err conftest.
$ac_ext
3343 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3344 echo "${ECHO_T}$ac_header_preproc" >&6; }
3346 # So? What about this header?
3347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3349 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3350 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3352 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3353 ac_header_preproc
=yes
3356 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3357 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3358 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3359 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3360 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3361 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3362 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3363 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3365 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3366 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3367 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3369 ## ----------------------------- ##
3370 ## Report this to mike@iworks.at ##
3371 ## ----------------------------- ##
3373 ) |
sed "s/^/$as_me: WARNING: /" >&2
3376 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3378 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3379 echo $ECHO_N "(cached) $ECHO_C" >&6
3381 eval "$as_ac_Header=\$ac_header_preproc"
3383 ac_res
=`eval echo '${'$as_ac_Header'}'`
3384 { echo "$as_me:$LINENO: result: $ac_res" >&5
3385 echo "${ECHO_T}$ac_res" >&6; }
3388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3389 cat >>confdefs.h
<<_ACEOF
3390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3397 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3398 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3399 if test "${ac_cv_c_const+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3402 cat >conftest.
$ac_ext <<_ACEOF
3405 cat confdefs.h
>>conftest.
$ac_ext
3406 cat >>conftest.
$ac_ext <<_ACEOF
3407 /* end confdefs.h. */
3412 /* FIXME: Include the comments suggested by Paul. */
3414 /* Ultrix mips cc rejects this. */
3415 typedef int charset[2];
3417 /* SunOS 4.1.1 cc rejects this. */
3418 char const *const *pcpcc;
3420 /* NEC SVR4.0.2 mips cc rejects this. */
3421 struct point {int x, y;};
3422 static struct point const zero = {0,0};
3423 /* AIX XL C 1.02.0.0 rejects this.
3424 It does not let you subtract one const X* pointer from another in
3425 an arm of an if-expression whose if-part is not a constant
3427 const char *g = "string";
3428 pcpcc = &g + (g ? g-g : 0);
3429 /* HPUX 7.0 cc rejects these. */
3431 ppc = (char**) pcpcc;
3432 pcpcc = (char const *const *) ppc;
3433 { /* SCO 3.2v4 cc rejects this. */
3435 char const *s = 0 ? (char *) 0 : (char const *) 0;
3440 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3442 const int *foo = &x[0];
3445 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3446 typedef const int *iptr;
3450 { /* AIX XL C 1.02.0.0 rejects this saying
3451 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3452 struct s { int j; const int *ap[3]; };
3453 struct s *b; b->j = 5;
3455 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3459 return !cs[0] && !zero.x;
3466 rm -f conftest.
$ac_objext
3467 if { (ac_try
="$ac_compile"
3469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3473 (eval "$ac_compile") 2>conftest.er1
3475 grep -v '^ *+' conftest.er1 >conftest.err
3477 cat conftest.err >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } && {
3480 test -z "$ac_c_werror_flag" ||
3481 test ! -s conftest.err
3482 } && test -s conftest.$ac_objext; then
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3493 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3494 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3495 if test $ac_cv_c_const = no; then
3497 cat >>confdefs.h <<\_ACEOF
3503 { echo "$as_me:$LINENO: checking for size_t" >&5
3504 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
3505 if test "${ac_cv_type_size_t+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 cat >conftest.$ac_ext <<_ACEOF
3511 cat confdefs.h >>conftest.$ac_ext
3512 cat >>conftest.$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3514 $ac_includes_default
3515 typedef size_t ac__type_new_;
3519 if ((ac__type_new_ *) 0)
3521 if (sizeof (ac__type_new_))
3527 rm -f conftest.$ac_objext
3528 if { (ac_try="$ac_compile"
3530 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3531 *) ac_try_echo
=$ac_try;;
3533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3534 (eval "$ac_compile") 2>conftest.er1
3536 grep -v '^ *+' conftest.er1
>conftest.err
3538 cat conftest.err
>&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); } && {
3541 test -z "$ac_c_werror_flag" ||
3542 test ! -s conftest.err
3543 } && test -s conftest.
$ac_objext; then
3544 ac_cv_type_size_t
=yes
3546 echo "$as_me: failed program was:" >&5
3547 sed 's/^/| /' conftest.
$ac_ext >&5
3549 ac_cv_type_size_t
=no
3552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3554 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3555 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
3556 if test $ac_cv_type_size_t = yes; then
3560 cat >>confdefs.h
<<_ACEOF
3561 #define size_t unsigned int
3566 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3567 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3568 if test "${ac_cv_header_stdc+set}" = set; then
3569 echo $ECHO_N "(cached) $ECHO_C" >&6
3571 cat >conftest.
$ac_ext <<_ACEOF
3574 cat confdefs.h
>>conftest.
$ac_ext
3575 cat >>conftest.
$ac_ext <<_ACEOF
3576 /* end confdefs.h. */
3590 rm -f conftest.
$ac_objext
3591 if { (ac_try
="$ac_compile"
3593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3594 *) ac_try_echo=$ac_try;;
3596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3597 (eval "$ac_compile") 2>conftest.er1
3599 grep -v '^ *+' conftest.er1 >conftest.err
3601 cat conftest.err >&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); } && {
3604 test -z "$ac_c_werror_flag" ||
3605 test ! -s conftest.err
3606 } && test -s conftest.$ac_objext; then
3607 ac_cv_header_stdc=yes
3609 echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.$ac_ext >&5
3612 ac_cv_header_stdc=no
3615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617 if test $ac_cv_header_stdc = yes; then
3618 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3619 cat >conftest.$ac_ext <<_ACEOF
3622 cat confdefs.h >>conftest.$ac_ext
3623 cat >>conftest.$ac_ext <<_ACEOF
3624 /* end confdefs.h. */
3628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3629 $EGREP "memchr" >/dev/null 2>&1; then
3632 ac_cv_header_stdc=no
3638 if test $ac_cv_header_stdc = yes; then
3639 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3640 cat >conftest.$ac_ext <<_ACEOF
3643 cat confdefs.h >>conftest.$ac_ext
3644 cat >>conftest.$ac_ext <<_ACEOF
3645 /* end confdefs.h. */
3649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3650 $EGREP "free" >/dev/null 2>&1; then
3653 ac_cv_header_stdc=no
3659 if test $ac_cv_header_stdc = yes; then
3660 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3661 if test "$cross_compiling" = yes; then
3664 cat >conftest.$ac_ext <<_ACEOF
3667 cat confdefs.h >>conftest.$ac_ext
3668 cat >>conftest.$ac_ext <<_ACEOF
3669 /* end confdefs.h. */
3672 #if ((' ' & 0x0FF) == 0x020)
3673 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3674 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3676 # define ISLOWER(c) \
3677 (('a' <= (c) && (c) <= 'i') \
3678 || ('j' <= (c) && (c) <= 'r') \
3679 || ('s' <= (c) && (c) <= 'z'))
3680 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3683 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3688 for (i = 0; i < 256; i++)
3689 if (XOR (islower (i), ISLOWER (i))
3690 || toupper (i) != TOUPPER (i))
3695 rm -f conftest$ac_exeext
3696 if { (ac_try="$ac_link"
3698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3699 *) ac_try_echo
=$ac_try;;
3701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3702 (eval "$ac_link") 2>&5
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3706 { (case "(($ac_try" in
3707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3708 *) ac_try_echo=$ac_try;;
3710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3711 (eval "$ac_try") 2>&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); }; }; then
3717 echo "$as_me: program exited with status $ac_status" >&5
3718 echo "$as_me: failed program was:" >&5
3719 sed 's/^/| /' conftest.$ac_ext >&5
3722 ac_cv_header_stdc=no
3724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3730 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3731 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3732 if test $ac_cv_header_stdc = yes; then
3734 cat >>confdefs.h <<\_ACEOF
3735 #define STDC_HEADERS 1
3742 for ac_func in memmove strchr
3744 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
3745 { echo "$as_me:$LINENO: checking for $ac_func" >&5
3746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3747 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3748 echo $ECHO_N "(cached) $ECHO_C" >&6
3750 cat >conftest.$ac_ext <<_ACEOF
3753 cat confdefs.h >>conftest.$ac_ext