2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for webalizer V2.23.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME
='webalizer'
574 PACKAGE_TARNAME
='webalizer'
575 PACKAGE_VERSION
='V2.23'
576 PACKAGE_STRING
='webalizer V2.23'
579 # Factoring default headers for most tests.
580 ac_includes_default
="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
624 program_transform_name
673 ac_precious_vars
='build_alias
684 # Initialize some variables set by options.
686 ac_init_version
=false
687 # The variables have the same names as the options, with
688 # dashes changed to underlines.
696 program_transform_name
=s
,x
,x
,
704 # Installation directory options.
705 # These are left unexpanded so users can "make install exec_prefix=/foo"
706 # and all the variables that are supposed to be based on exec_prefix
707 # by default will actually change.
708 # Use braces instead of parens because sh, perl, etc. also accept them.
709 # (The list follows the same order as the GNU Coding Standards.)
710 bindir
='${exec_prefix}/bin'
711 sbindir
='${exec_prefix}/sbin'
712 libexecdir
='${exec_prefix}/libexec'
713 datarootdir
='${prefix}/share'
714 datadir
='${datarootdir}'
715 sysconfdir
='${prefix}/etc'
716 sharedstatedir
='${prefix}/com'
717 localstatedir
='${prefix}/var'
718 includedir
='${prefix}/include'
719 oldincludedir
='/usr/include'
720 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
721 infodir
='${datarootdir}/info'
726 libdir
='${exec_prefix}/lib'
727 localedir
='${datarootdir}/locale'
728 mandir
='${datarootdir}/man'
734 # If the previous option needs an argument, assign it.
735 if test -n "$ac_prev"; then
736 eval $ac_prev=\
$ac_option
742 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746 # Accept the important Cygnus configure options, so we can diagnose typos.
748 case $ac_dashdash$ac_option in
752 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
754 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
757 -build |
--build |
--buil |
--bui |
--bu)
758 ac_prev
=build_alias
;;
759 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
760 build_alias
=$ac_optarg ;;
762 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
763 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
764 ac_prev
=cache_file
;;
765 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
766 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
767 cache_file
=$ac_optarg ;;
770 cache_file
=config.cache
;;
772 -datadir |
--datadir |
--datadi |
--datad)
774 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
775 datadir
=$ac_optarg ;;
777 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
778 |
--dataroo |
--dataro |
--datar)
779 ac_prev
=datarootdir
;;
780 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
781 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
782 datarootdir
=$ac_optarg ;;
784 -disable-* |
--disable-*)
785 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
788 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
789 { (exit 1); exit 1; }; }
790 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
791 eval enable_
$ac_feature=no
;;
793 -docdir |
--docdir |
--docdi |
--doc |
--do)
795 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
798 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
800 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
803 -enable-* |
--enable-*)
804 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
805 # Reject names that are not valid shell variable names.
806 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
807 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
808 { (exit 1); exit 1; }; }
809 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
810 eval enable_
$ac_feature=\
$ac_optarg ;;
812 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
813 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
814 |
--exec |
--exe |
--ex)
815 ac_prev
=exec_prefix
;;
816 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
817 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
818 |
--exec=* |
--exe=* |
--ex=*)
819 exec_prefix
=$ac_optarg ;;
821 -gas |
--gas |
--ga |
--g)
822 # Obsolete; use --with-gas.
825 -help |
--help |
--hel |
--he |
-h)
827 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
828 ac_init_help
=recursive
;;
829 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
830 ac_init_help
=short
;;
832 -host |
--host |
--hos |
--ho)
833 ac_prev
=host_alias
;;
834 -host=* |
--host=* |
--hos=* |
--ho=*)
835 host_alias
=$ac_optarg ;;
837 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
839 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
841 htmldir
=$ac_optarg ;;
843 -includedir |
--includedir |
--includedi |
--included |
--include \
844 |
--includ |
--inclu |
--incl |
--inc)
845 ac_prev
=includedir
;;
846 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
847 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
848 includedir
=$ac_optarg ;;
850 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
852 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
853 infodir
=$ac_optarg ;;
855 -libdir |
--libdir |
--libdi |
--libd)
857 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
860 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
861 |
--libexe |
--libex |
--libe)
862 ac_prev
=libexecdir
;;
863 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
864 |
--libexe=* |
--libex=* |
--libe=*)
865 libexecdir
=$ac_optarg ;;
867 -localedir |
--localedir |
--localedi |
--localed |
--locale)
869 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
870 localedir
=$ac_optarg ;;
872 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
873 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
874 ac_prev
=localstatedir
;;
875 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
876 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
877 localstatedir
=$ac_optarg ;;
879 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
881 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
885 # Obsolete; use --without-fp.
888 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
889 |
--no-cr |
--no-c |
-n)
892 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
893 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
896 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
897 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
898 |
--oldin |
--oldi |
--old |
--ol |
--o)
899 ac_prev
=oldincludedir
;;
900 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
901 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
902 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
903 oldincludedir
=$ac_optarg ;;
905 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
907 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
910 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
911 |
--program-pre |
--program-pr |
--program-p)
912 ac_prev
=program_prefix
;;
913 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
914 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
915 program_prefix
=$ac_optarg ;;
917 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
918 |
--program-suf |
--program-su |
--program-s)
919 ac_prev
=program_suffix
;;
920 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
921 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
922 program_suffix
=$ac_optarg ;;
924 -program-transform-name |
--program-transform-name \
925 |
--program-transform-nam |
--program-transform-na \
926 |
--program-transform-n |
--program-transform- \
927 |
--program-transform |
--program-transfor \
928 |
--program-transfo |
--program-transf \
929 |
--program-trans |
--program-tran \
930 |
--progr-tra |
--program-tr |
--program-t)
931 ac_prev
=program_transform_name
;;
932 -program-transform-name=* |
--program-transform-name=* \
933 |
--program-transform-nam=* |
--program-transform-na=* \
934 |
--program-transform-n=* |
--program-transform-=* \
935 |
--program-transform=* |
--program-transfor=* \
936 |
--program-transfo=* |
--program-transf=* \
937 |
--program-trans=* |
--program-tran=* \
938 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
939 program_transform_name
=$ac_optarg ;;
941 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
943 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
946 -psdir |
--psdir |
--psdi |
--psd |
--ps)
948 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
951 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
952 |
-silent |
--silent |
--silen |
--sile |
--sil)
955 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
957 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
959 sbindir
=$ac_optarg ;;
961 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
962 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
963 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
965 ac_prev
=sharedstatedir
;;
966 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
967 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
968 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
970 sharedstatedir
=$ac_optarg ;;
972 -site |
--site |
--sit)
974 -site=* |
--site=* |
--sit=*)
977 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
979 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
982 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
983 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
984 ac_prev
=sysconfdir
;;
985 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
986 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
987 sysconfdir
=$ac_optarg ;;
989 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
990 ac_prev
=target_alias
;;
991 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
992 target_alias
=$ac_optarg ;;
994 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
997 -version |
--version |
--versio |
--versi |
--vers |
-V)
1001 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1004 { echo "$as_me: error: invalid package name: $ac_package" >&2
1005 { (exit 1); exit 1; }; }
1006 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1007 eval with_
$ac_package=\
$ac_optarg ;;
1009 -without-* |
--without-*)
1010 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1013 { echo "$as_me: error: invalid package name: $ac_package" >&2
1014 { (exit 1); exit 1; }; }
1015 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1016 eval with_
$ac_package=no
;;
1019 # Obsolete; use --with-x.
1022 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1023 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1024 ac_prev
=x_includes
;;
1025 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1026 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1027 x_includes
=$ac_optarg ;;
1029 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1030 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1031 ac_prev
=x_libraries
;;
1032 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1033 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1034 x_libraries
=$ac_optarg ;;
1036 -*) { echo "$as_me: error: unrecognized option: $ac_option
1037 Try \`$0 --help' for more information." >&2
1038 { (exit 1); exit 1; }; }
1042 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1045 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1046 { (exit 1); exit 1; }; }
1047 eval $ac_envvar=\
$ac_optarg
1048 export $ac_envvar ;;
1051 # FIXME: should be removed in autoconf 3.0.
1052 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1053 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1054 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1055 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1061 if test -n "$ac_prev"; then
1062 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1063 { echo "$as_me: error: missing argument to $ac_option" >&2
1064 { (exit 1); exit 1; }; }
1067 # Be sure to have absolute directory names.
1068 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1069 datadir sysconfdir sharedstatedir localstatedir includedir \
1070 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1071 libdir localedir mandir
1073 eval ac_val
=\$
$ac_var
1075 [\\/$
]* | ?
:[\\/]* ) continue;;
1076 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1078 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1079 { (exit 1); exit 1; }; }
1082 # There might be people who depend on the old broken behavior: `$host'
1083 # used to hold the argument of --host etc.
1084 # FIXME: To remove some day.
1087 target
=$target_alias
1089 # FIXME: To remove some day.
1090 if test "x$host_alias" != x
; then
1091 if test "x$build_alias" = x
; then
1092 cross_compiling
=maybe
1093 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1094 If a cross compiler is detected then cross compile mode will be used." >&2
1095 elif test "x$build_alias" != "x$host_alias"; then
1101 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1103 test "$silent" = yes && exec 6>/dev
/null
1106 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1107 ac_ls_di
=`ls -di .` &&
1108 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1109 { echo "$as_me: error: Working directory cannot be determined" >&2
1110 { (exit 1); exit 1; }; }
1111 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1112 { echo "$as_me: error: pwd does not report name of working directory" >&2
1113 { (exit 1); exit 1; }; }
1116 # Find the source files, if location was not specified.
1117 if test -z "$srcdir"; then
1118 ac_srcdir_defaulted
=yes
1119 # Try the directory containing this script, then the parent directory.
1120 ac_confdir
=`$as_dirname -- "$0" ||
1121 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1122 X"$0" : 'X\(//\)[^/]' \| \
1123 X"$0" : 'X\(//\)$' \| \
1124 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1144 if test ! -r "$srcdir/$ac_unique_file"; then
1148 ac_srcdir_defaulted
=no
1150 if test ! -r "$srcdir/$ac_unique_file"; then
1151 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1152 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1153 { (exit 1); exit 1; }; }
1155 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1157 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1158 { (exit 1); exit 1; }; }
1160 # When building in place, set srcdir=.
1161 if test "$ac_abs_confdir" = "$ac_pwd"; then
1164 # Remove unnecessary trailing slashes from srcdir.
1165 # Double slashes in file names in object file debugging info
1166 # mess up M-x gdb in Emacs.
1168 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1170 for ac_var
in $ac_precious_vars; do
1171 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1172 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1173 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1174 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1178 # Report the --help message.
1180 if test "$ac_init_help" = "long"; then
1181 # Omit some internal or obsolete options to make the list less imposing.
1182 # This message is too long to be a string in the A/UX 3.1 sh.
1184 \`configure' configures webalizer V2.23 to adapt to many kinds of systems.
1186 Usage: $0 [OPTION]... [VAR=VALUE]...
1188 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1189 VAR=VALUE. See below for descriptions of some of the useful variables.
1191 Defaults for the options are specified in brackets.
1194 -h, --help display this help and exit
1195 --help=short display options specific to this package
1196 --help=recursive display the short help of all the included packages
1197 -V, --version display version information and exit
1198 -q, --quiet, --silent do not print \`checking...' messages
1199 --cache-file=FILE cache test results in FILE [disabled]
1200 -C, --config-cache alias for \`--cache-file=config.cache'
1201 -n, --no-create do not create output files
1202 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1204 Installation directories:
1205 --prefix=PREFIX install architecture-independent files in PREFIX
1206 [$ac_default_prefix]
1207 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1210 By default, \`make install' will install all the files in
1211 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1212 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1213 for instance \`--prefix=\$HOME'.
1215 For better control, use the options below.
1217 Fine tuning of the installation directories:
1218 --bindir=DIR user executables [EPREFIX/bin]
1219 --sbindir=DIR system admin executables [EPREFIX/sbin]
1220 --libexecdir=DIR program executables [EPREFIX/libexec]
1221 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1222 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1223 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1224 --libdir=DIR object code libraries [EPREFIX/lib]
1225 --includedir=DIR C header files [PREFIX/include]
1226 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1227 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1228 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1229 --infodir=DIR info documentation [DATAROOTDIR/info]
1230 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1231 --mandir=DIR man documentation [DATAROOTDIR/man]
1232 --docdir=DIR documentation root [DATAROOTDIR/doc/webalizer]
1233 --htmldir=DIR html documentation [DOCDIR]
1234 --dvidir=DIR dvi documentation [DOCDIR]
1235 --pdfdir=DIR pdf documentation [DOCDIR]
1236 --psdir=DIR ps documentation [DOCDIR]
1243 if test -n "$ac_init_help"; then
1244 case $ac_init_help in
1245 short | recursive
) echo "Configuration of webalizer V2.23:";;
1250 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1251 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1252 --disable-largefile omit support
for large files
1253 --enable-static Build as static executable
[default
=no
]
1254 --enable-debug Compile with debugging code
[default
=no
]
1255 --enable-dns Enable DNS
/GeoDB lookup code
[default
=yes]
1256 --enable-bz2 Enable BZip2 decompression code
[default
=no
]
1257 --enable-geoip Enable GeoIP geolocation code
[default
=no
]
1258 --enable-oldhash Use old
hash function (slower
) [default
=no
]
1261 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1262 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1263 --with-gd=DIR Alternate location
for gd header files
1264 --with-gdlib=DIR Alternate location
for gd library
1265 --with-png=DIR Alternate location
for png header files
1266 --with-pnglib=DIR Alternate location
for png library
1267 --with-z=DIR Alternate location
for libz header files
1268 --with-zlib=DIR Alternate location
for z library
1269 --with-db=DIR Alternate location
for libdb header files
1270 --with-dblib=DIR Alternate location
for db library
1271 --with-bz2=DIR Alternate location
for bz2 header files
1272 --with-bz2lib=DIR Alternate location
for bz2 library
1273 --with-geoip=DIR Alternate location
for libGeoIP header files
1274 --with-geoiplib=DIR Alternate location
for geoip library
1275 --with-geodb=DIR Default GeoDB data dir
[/usr
/share
/GeoDB
]
1276 --with-language=name Use language
'name' (default is english
)
1278 Some influential environment variables
:
1279 CC C compiler
command
1280 CFLAGS C compiler flags
1281 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1282 nonstandard directory
<lib dir
>
1283 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1284 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1285 you have headers
in a nonstandard directory
<include dir
>
1288 Use these variables to override the choices made by
`configure' or to help
1289 it to find libraries and programs with nonstandard names/locations.
1295 if test "$ac_init_help" = "recursive"; then
1296 # If there are subdirs, report their specific --help.
1297 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1298 test -d "$ac_dir" || continue
1302 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1304 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1305 # A ".." for each directory in $ac_dir_suffix.
1306 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1307 case $ac_top_builddir_sub in
1308 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1309 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1312 ac_abs_top_builddir=$ac_pwd
1313 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1314 # for backward compatibility:
1315 ac_top_builddir=$ac_top_build_prefix
1318 .) # We are building in place.
1320 ac_top_srcdir=$ac_top_builddir_sub
1321 ac_abs_top_srcdir=$ac_pwd ;;
1322 [\\/]* | ?:[\\/]* ) # Absolute name.
1323 ac_srcdir=$srcdir$ac_dir_suffix;
1324 ac_top_srcdir=$srcdir
1325 ac_abs_top_srcdir=$srcdir ;;
1327 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1328 ac_top_srcdir=$ac_top_build_prefix$srcdir
1329 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1331 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1333 cd "$ac_dir" || { ac_status=$?; continue; }
1334 # Check for guested configure.
1335 if test -f "$ac_srcdir/configure.gnu"; then
1337 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1338 elif test -f "$ac_srcdir/configure"; then
1340 $SHELL "$ac_srcdir/configure" --help=recursive
1342 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1344 cd "$ac_pwd" || { ac_status=$?; break; }
1348 test -n "$ac_init_help" && exit $ac_status
1349 if $ac_init_version; then
1351 webalizer configure V2.23
1352 generated by GNU Autoconf 2.61
1354 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1355 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1356 This configure script is free software; the Free Software Foundation
1357 gives unlimited permission to copy, distribute and modify it.
1361 cat >config.log <<_ACEOF
1362 This file contains any messages produced by compilers while
1363 running configure, to aid debugging if configure makes a mistake.
1365 It was created by webalizer $as_me V2.23, which was
1366 generated by GNU Autoconf 2.61. Invocation command line was
1378 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1379 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1380 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1381 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1382 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1384 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1385 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1387 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1388 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1389 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1390 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1391 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1392 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1393 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1401 test -z "$as_dir" && as_dir=.
1402 echo "PATH: $as_dir"
1418 # Keep a trace of the command line.
1419 # Strip out --no-create and --no-recursion so they do not pile up.
1420 # Strip out --silent because we don't want to record it for future runs.
1421 # Also quote any args containing shell meta-characters.
1422 # Make two passes to allow for proper duplicate-argument suppression.
1426 ac_must_keep_next=false
1432 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1433 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1434 | -silent | --silent | --silen | --sile | --sil)
1437 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1440 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1442 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1443 if test $ac_must_keep_next = true; then
1444 ac_must_keep_next=false # Got value, back to normal.
1447 *=* | --config-cache | -C | -disable-* | --disable-* \
1448 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1449 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1450 | -with-* | --with-* | -without-* | --without-* | --x)
1451 case "$ac_configure_args0 " in
1452 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1455 -* ) ac_must_keep_next=true ;;
1458 ac_configure_args="$ac_configure_args '$ac_arg'"
1463 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1464 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1466 # When interrupted or exit'd, cleanup temporary files, and complete
1467 # config.log. We remove comments because anyway the quotes in there
1468 # would cause problems or look ugly.
1469 # WARNING: Use '\'' to represent an apostrophe within the trap.
1470 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1471 trap 'exit_status=$?
1472 # Save into config.log some information that might help in debugging.
1477 ## ---------------- ##
1478 ## Cache variables. ##
1479 ## ---------------- ##
1482 # The following way of writing the cache mishandles newlines in values,
1484 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1485 eval ac_val=\$$ac_var
1489 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1490 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1493 _ | IFS | as_nl) ;; #(
1494 *) $as_unset $ac_var ;;
1499 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1500 *${as_nl}ac_space=\ *)
1502 "s/'\''/'\''\\\\'\'''\''/g;
1503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1506 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1514 ## ----------------- ##
1515 ## Output variables. ##
1516 ## ----------------- ##
1519 for ac_var in $ac_subst_vars
1521 eval ac_val=\$$ac_var
1523 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1525 echo "$ac_var='\''$ac_val'\''"
1529 if test -n "$ac_subst_files"; then
1531 ## ------------------- ##
1532 ## File substitutions. ##
1533 ## ------------------- ##
1536 for ac_var in $ac_subst_files
1538 eval ac_val=\$$ac_var
1540 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1542 echo "$ac_var='\''$ac_val'\''"
1547 if test -s confdefs.h; then
1557 test "$ac_signal" != 0 &&
1558 echo "$as_me: caught signal $ac_signal"
1559 echo "$as_me: exit $exit_status"
1561 rm -f core *.core core.conftest.* &&
1562 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1565 for ac_signal in 1 2 13 15; do
1566 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1570 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1571 rm -f -r conftest* confdefs.h
1573 # Predefined preprocessor variables.
1575 cat >>confdefs.h <<_ACEOF
1576 #define PACKAGE_NAME "$PACKAGE_NAME"
1580 cat >>confdefs.h <<_ACEOF
1581 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1585 cat >>confdefs.h <<_ACEOF
1586 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1590 cat >>confdefs.h <<_ACEOF
1591 #define PACKAGE_STRING "$PACKAGE_STRING"
1595 cat >>confdefs.h <<_ACEOF
1596 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1600 # Let the site file select an alternate cache file if it wants to.
1601 # Prefer explicitly selected file to automatically selected ones.
1602 if test -n "$CONFIG_SITE"; then
1603 set x "$CONFIG_SITE"
1604 elif test "x$prefix" != xNONE; then
1605 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1607 set x "$ac_default_prefix/share/config.site" \
1608 "$ac_default_prefix/etc/config.site"
1613 if test -r "$ac_site_file"; then
1614 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1615 echo "$as_me: loading site script $ac_site_file" >&6;}
1616 sed 's/^/| /' "$ac_site_file" >&5
1621 if test -r "$cache_file"; then
1622 # Some versions of bash will fail to source /dev/null (special
1623 # files actually), so we avoid doing that.
1624 if test -f "$cache_file"; then
1625 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1626 echo "$as_me: loading cache $cache_file" >&6;}
1628 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1629 *) . "./$cache_file";;
1633 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1634 echo "$as_me: creating cache $cache_file" >&6;}
1638 # Check that the precious variables saved in the cache have kept the same
1640 ac_cache_corrupted=false
1641 for ac_var in $ac_precious_vars; do
1642 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1643 eval ac_new_set=\$ac_env_${ac_var}_set
1644 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1645 eval ac_new_val=\$ac_env_${ac_var}_value
1646 case $ac_old_set,$ac_new_set in
1648 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1649 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1650 ac_cache_corrupted=: ;;
1652 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1653 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1654 ac_cache_corrupted=: ;;
1657 if test "x$ac_old_val" != "x$ac_new_val"; then
1658 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1659 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1660 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1661 echo "$as_me: former value
: $ac_old_val" >&2;}
1662 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1663 echo "$as_me: current value
: $ac_new_val" >&2;}
1664 ac_cache_corrupted=:
1667 # Pass precious variables to config.status.
1668 if test "$ac_new_set" = set; then
1670 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1671 *) ac_arg=$ac_var=$ac_new_val ;;
1673 case " $ac_configure_args " in
1674 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1675 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1679 if $ac_cache_corrupted; then
1680 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1681 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1682 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1683 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1684 { (exit 1); exit 1; }; }
1712 ac_cpp='$CPP $CPPFLAGS'
1713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1725 DEFAULT_LANG="english"
1731 ac_cpp='$CPP $CPPFLAGS'
1732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1735 if test -n "$ac_tool_prefix"; then
1736 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1737 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1740 if test "${ac_cv_prog_CC+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1743 if test -n "$CC"; then
1744 ac_cv_prog_CC="$CC" # Let the user override the test.
1746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1750 test -z "$as_dir" && as_dir=.
1751 for ac_exec_ext in '' $ac_executable_extensions; do
1752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1753 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1764 if test -n "$CC"; then
1765 { echo "$as_me:$LINENO: result: $CC" >&5
1766 echo "${ECHO_T}$CC" >&6; }
1768 { echo "$as_me:$LINENO: result: no" >&5
1769 echo "${ECHO_T}no" >&6; }
1774 if test -z "$ac_cv_prog_CC"; then
1776 # Extract the first word of "gcc", so it can be a program name with args.
1777 set dummy gcc; ac_word=$2
1778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1780 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1781 echo $ECHO_N "(cached) $ECHO_C" >&6
1783 if test -n "$ac_ct_CC"; then
1784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 test -z "$as_dir" && as_dir=.
1791 for ac_exec_ext in '' $ac_executable_extensions; do
1792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1793 ac_cv_prog_ac_ct_CC="gcc"
1794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1804 if test -n "$ac_ct_CC"; then
1805 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1806 echo "${ECHO_T}$ac_ct_CC" >&6; }
1808 { echo "$as_me:$LINENO: result: no" >&5
1809 echo "${ECHO_T}no" >&6; }
1812 if test "x$ac_ct_CC" = x; then
1815 case $cross_compiling:$ac_tool_warned in
1817 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1818 whose name does not start with the host triplet. If you think this
1819 configuration is useful to you, please write to autoconf@gnu.org." >&5
1820 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1821 whose name does not start with the host triplet. If you think this
1822 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1823 ac_tool_warned=yes ;;
1831 if test -z "$CC"; then
1832 if test -n "$ac_tool_prefix"; then
1833 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1834 set dummy ${ac_tool_prefix}cc; ac_word=$2
1835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1837 if test "${ac_cv_prog_CC+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 if test -n "$CC"; then
1841 ac_cv_prog_CC="$CC" # Let the user override the test.
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir=.
1848 for ac_exec_ext in '' $ac_executable_extensions; do
1849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1850 ac_cv_prog_CC="${ac_tool_prefix}cc"
1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1861 if test -n "$CC"; then
1862 { echo "$as_me:$LINENO: result: $CC" >&5
1863 echo "${ECHO_T}$CC" >&6; }
1865 { echo "$as_me:$LINENO: result: no" >&5
1866 echo "${ECHO_T}no" >&6; }
1872 if test -z "$CC"; then
1873 # Extract the first word of "cc", so it can be a program name with args.
1874 set dummy cc; ac_word=$2
1875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1877 if test "${ac_cv_prog_CC+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 if test -n "$CC"; then
1881 ac_cv_prog_CC="$CC" # Let the user override the test.
1884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1888 test -z "$as_dir" && as_dir=.
1889 for ac_exec_ext in '' $ac_executable_extensions; do
1890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1891 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1892 ac_prog_rejected=yes
1896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 if test $ac_prog_rejected = yes; then
1904 # We found a bogon in the path, so make sure we never use it.
1905 set dummy $ac_cv_prog_CC
1907 if test $# != 0; then
1908 # We chose a different compiler from the bogus one.
1909 # However, it has the same basename, so the bogon will be chosen
1910 # first if we set CC to just the basename; use the full file name.
1912 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1918 if test -n "$CC"; then
1919 { echo "$as_me:$LINENO: result: $CC" >&5
1920 echo "${ECHO_T}$CC" >&6; }
1922 { echo "$as_me:$LINENO: result: no" >&5
1923 echo "${ECHO_T}no" >&6; }
1928 if test -z "$CC"; then
1929 if test -n "$ac_tool_prefix"; then
1930 for ac_prog in cl.exe
1932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1933 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1936 if test "${ac_cv_prog_CC+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 if test -n "$CC"; then
1940 ac_cv_prog_CC="$CC" # Let the user override the test.
1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1946 test -z "$as_dir" && as_dir=.
1947 for ac_exec_ext in '' $ac_executable_extensions; do
1948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1949 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1960 if test -n "$CC"; then
1961 { echo "$as_me:$LINENO: result: $CC" >&5
1962 echo "${ECHO_T}$CC" >&6; }
1964 { echo "$as_me:$LINENO: result: no" >&5
1965 echo "${ECHO_T}no" >&6; }
1969 test -n "$CC" && break
1972 if test -z "$CC"; then
1974 for ac_prog in cl.exe
1976 # Extract the first word of "$ac_prog", so it can be a program name with args.
1977 set dummy $ac_prog; ac_word=$2
1978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1980 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 if test -n "$ac_ct_CC"; then
1984 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990 test -z "$as_dir" && as_dir=.
1991 for ac_exec_ext in '' $ac_executable_extensions; do
1992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1993 ac_cv_prog_ac_ct_CC="$ac_prog"
1994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2004 if test -n "$ac_ct_CC"; then
2005 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2006 echo "${ECHO_T}$ac_ct_CC" >&6; }
2008 { echo "$as_me:$LINENO: result: no" >&5
2009 echo "${ECHO_T}no" >&6; }
2013 test -n "$ac_ct_CC" && break
2016 if test "x$ac_ct_CC" = x; then
2019 case $cross_compiling:$ac_tool_warned in
2021 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2022 whose name does not start with the host triplet. If you think this
2023 configuration is useful to you, please write to autoconf@gnu.org." >&5
2024 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2025 whose name does not start with the host triplet. If you think this
2026 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2027 ac_tool_warned=yes ;;
2036 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2037 See \`config.log
' for more details." >&5
2038 echo "$as_me: error: no acceptable C compiler found in \$PATH
2039 See \`config.log' for more details.
" >&2;}
2040 { (exit 1); exit 1; }; }
2042 # Provide some information about the compiler.
2043 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2044 ac_compiler=`set X $ac_compile; echo $2`
2045 { (ac_try="$ac_compiler --version >&5"
2047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2048 *) ac_try_echo=$ac_try;;
2050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2051 (eval "$ac_compiler --version >&5") 2>&5
2053 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2054 (exit $ac_status); }
2055 { (ac_try="$ac_compiler -v >&5"
2057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2058 *) ac_try_echo=$ac_try;;
2060 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2061 (eval "$ac_compiler -v >&5") 2>&5
2063 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2064 (exit $ac_status); }
2065 { (ac_try="$ac_compiler -V >&5"
2067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2068 *) ac_try_echo=$ac_try;;
2070 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2071 (eval "$ac_compiler -V >&5") 2>&5
2073 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2074 (exit $ac_status); }
2076 cat >conftest.$ac_ext <<_ACEOF
2079 cat confdefs.h >>conftest.$ac_ext
2080 cat >>conftest.$ac_ext <<_ACEOF
2081 /* end confdefs.h. */
2091 ac_clean_files_save=$ac_clean_files
2092 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2093 # Try to create an executable without -o first, disregard a.out.
2094 # It will help us diagnose broken compilers, and finding out an intuition
2096 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2097 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2098 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2100 # List of possible output files, starting from the most likely.
2101 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2102 # only as a last resort. b.out is created by i960 compilers.
2103 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2105 # The IRIX 6 linker writes into existing files which may not be
2106 # executable, retaining their permissions. Remove them first so a
2107 # subsequent execution test works.
2109 for ac_file in $ac_files
2112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2113 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2118 if { (ac_try="$ac_link_default"
2120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2121 *) ac_try_echo=$ac_try;;
2123 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2124 (eval "$ac_link_default") 2>&5
2126 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2127 (exit $ac_status); }; then
2128 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2129 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2130 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2131 # so that the user can short-circuit this test for compilers unknown to
2133 for ac_file in $ac_files ''
2135 test -f "$ac_file" || continue
2137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2140 # We found the default executable, but exeext='' is most
2144 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2146 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2148 # We set ac_cv_exeext here because the later test for it is not
2149 # safe: cross compilers may not add the suffix if given an `-o'
2150 # argument, so we may need to know it at that point already.
2151 # Even if this section looks crufty: it has the advantage of
2158 test "$ac_cv_exeext" = no && ac_cv_exeext=
2164 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2165 echo "${ECHO_T}$ac_file" >&6; }
2166 if test -z "$ac_file"; then
2167 echo "$as_me: failed program was
:" >&5
2168 sed 's/^/| /' conftest.$ac_ext >&5
2170 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2171 See \
`config.log' for more details." >&5
2172 echo "$as_me: error: C compiler cannot create executables
2173 See \`config.log
' for more details." >&2;}
2174 { (exit 77); exit 77; }; }
2177 ac_exeext=$ac_cv_exeext
2179 # Check that the compiler produces executables we can run. If not, either
2180 # the compiler is broken, or we cross compile.
2181 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2182 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2183 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2184 # If not cross compiling, check that we can run a simple program.
2185 if test "$cross_compiling" != yes; then
2186 if { ac_try='.
/$ac_file'
2187 { (case "(($ac_try" in
2188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2189 *) ac_try_echo=$ac_try;;
2191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2192 (eval "$ac_try") 2>&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); }; }; then
2198 if test "$cross_compiling" = maybe; then
2201 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2202 If you meant to cross compile, use \`--host'.
2203 See \
`config.log' for more details." >&5
2204 echo "$as_me: error: cannot run C compiled programs.
2205 If you meant to cross compile, use \`--host'.
2206 See \`config.log' for more details.
" >&2;}
2207 { (exit 1); exit 1; }; }
2211 { echo "$as_me:$LINENO: result
: yes" >&5
2212 echo "${ECHO_T}yes" >&6; }
2214 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2215 ac_clean_files=$ac_clean_files_save
2216 # Check that the compiler produces executables we can run. If not, either
2217 # the compiler is broken, or we cross compile.
2218 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2219 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2220 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2221 echo "${ECHO_T}$cross_compiling" >&6; }
2223 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2224 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2225 if { (ac_try="$ac_link"
2227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2228 *) ac_try_echo=$ac_try;;
2230 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2231 (eval "$ac_link") 2>&5
2233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2234 (exit $ac_status); }; then
2235 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2236 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2237 # work properly (i.e., refer to `conftest.exe'), while it won't with
2239 for ac_file in conftest.exe conftest conftest.*; do
2240 test -f "$ac_file" || continue
2242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2243 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2249 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2250 See \
`config.log' for more details." >&5
2251 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2252 See \`config.log
' for more details." >&2;}
2253 { (exit 1); exit 1; }; }
2256 rm -f conftest$ac_cv_exeext
2257 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2258 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2260 rm -f conftest.$ac_ext
2261 EXEEXT=$ac_cv_exeext
2263 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2264 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2265 if test "${ac_cv_objext+set}" = set; then
2266 echo $ECHO_N "(cached) $ECHO_C" >&6
2268 cat >conftest.$ac_ext <<_ACEOF
2271 cat confdefs.h >>conftest.$ac_ext
2272 cat >>conftest.$ac_ext <<_ACEOF
2273 /* end confdefs.h. */
2283 rm -f conftest.o conftest.obj
2284 if { (ac_try="$ac_compile"
2286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2287 *) ac_try_echo=$ac_try;;
2289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2290 (eval "$ac_compile") 2>&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }; then
2294 for ac_file in conftest.o conftest.obj conftest.*; do
2295 test -f "$ac_file" || continue;
2297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2298 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2303 echo "$as_me: failed program was:" >&5
2304 sed 's
/^
/|
/' conftest.$ac_ext >&5
2306 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2307 See \`config.log' for more details.
" >&5
2308 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2309 See \
`config.log' for more details." >&2;}
2310 { (exit 1); exit 1; }; }
2313 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2315 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2316 echo "${ECHO_T}$ac_cv_objext" >&6; }
2317 OBJEXT=$ac_cv_objext
2319 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2320 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2321 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 cat >conftest.$ac_ext <<_ACEOF
2327 cat confdefs.h >>conftest.$ac_ext
2328 cat >>conftest.$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2342 rm -f conftest.$ac_objext
2343 if { (ac_try="$ac_compile"
2345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2346 *) ac_try_echo
=$ac_try;;
2348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2349 (eval "$ac_compile") 2>conftest.er1
2351 grep -v '^ *+' conftest.er1
>conftest.err
2353 cat conftest.err
>&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); } && {
2356 test -z "$ac_c_werror_flag" ||
2357 test ! -s conftest.err
2358 } && test -s conftest.
$ac_objext; then
2361 echo "$as_me: failed program was:" >&5
2362 sed 's/^/| /' conftest.
$ac_ext >&5
2367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2368 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2371 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2372 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2373 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2374 ac_test_CFLAGS
=${CFLAGS+set}
2375 ac_save_CFLAGS
=$CFLAGS
2376 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2377 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2378 if test "${ac_cv_prog_cc_g+set}" = set; then
2379 echo $ECHO_N "(cached) $ECHO_C" >&6
2381 ac_save_c_werror_flag
=$ac_c_werror_flag
2382 ac_c_werror_flag
=yes
2385 cat >conftest.
$ac_ext <<_ACEOF
2388 cat confdefs.h
>>conftest.
$ac_ext
2389 cat >>conftest.
$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2400 rm -f conftest.
$ac_objext
2401 if { (ac_try
="$ac_compile"
2403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2407 (eval "$ac_compile") 2>conftest.er1
2409 grep -v '^ *+' conftest.er1 >conftest.err
2411 cat conftest.err >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); } && {
2414 test -z "$ac_c_werror_flag" ||
2415 test ! -s conftest.err
2416 } && test -s conftest.$ac_objext; then
2419 echo "$as_me: failed program was:" >&5
2420 sed 's/^/| /' conftest.$ac_ext >&5
2423 cat >conftest.$ac_ext <<_ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2438 rm -f conftest.$ac_objext
2439 if { (ac_try="$ac_compile"
2441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2442 *) ac_try_echo
=$ac_try;;
2444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2445 (eval "$ac_compile") 2>conftest.er1
2447 grep -v '^ *+' conftest.er1
>conftest.err
2449 cat conftest.err
>&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); } && {
2452 test -z "$ac_c_werror_flag" ||
2453 test ! -s conftest.err
2454 } && test -s conftest.
$ac_objext; then
2457 echo "$as_me: failed program was:" >&5
2458 sed 's/^/| /' conftest.
$ac_ext >&5
2460 ac_c_werror_flag
=$ac_save_c_werror_flag
2462 cat >conftest.
$ac_ext <<_ACEOF
2465 cat confdefs.h
>>conftest.
$ac_ext
2466 cat >>conftest.
$ac_ext <<_ACEOF
2467 /* end confdefs.h. */
2477 rm -f conftest.
$ac_objext
2478 if { (ac_try
="$ac_compile"
2480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2481 *) ac_try_echo=$ac_try;;
2483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2484 (eval "$ac_compile") 2>conftest.er1
2486 grep -v '^ *+' conftest.er1 >conftest.err
2488 cat conftest.err >&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); } && {
2491 test -z "$ac_c_werror_flag" ||
2492 test ! -s conftest.err
2493 } && test -s conftest.$ac_objext; then
2496 echo "$as_me: failed program was:" >&5
2497 sed 's/^/| /' conftest.$ac_ext >&5
2502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2509 ac_c_werror_flag=$ac_save_c_werror_flag
2511 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2512 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2513 if test "$ac_test_CFLAGS" = set; then
2514 CFLAGS=$ac_save_CFLAGS
2515 elif test $ac_cv_prog_cc_g = yes; then
2516 if test "$GCC" = yes; then
2522 if test "$GCC" = yes; then
2528 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2529 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2530 if test "${ac_cv_prog_cc_c89+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2533 ac_cv_prog_cc_c89=no
2535 cat >conftest.$ac_ext <<_ACEOF
2538 cat confdefs.h >>conftest.$ac_ext
2539 cat >>conftest.$ac_ext <<_ACEOF
2540 /* end confdefs.h. */
2543 #include <sys/types.h>
2544 #include <sys/stat.h>
2545 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2546 struct buf { int x; };
2547 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2548 static char *e (p, i)
2554 static char *f (char * (*g) (char **, int), char **p, ...)
2559 s = g (p, va_arg (v,int));
2564 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2565 function prototypes and stuff, but not '\xHH' hex character constants.
2566 These don't provoke an error unfortunately, instead are silently treated
2567 as 'x'. The following induces an error, until -std is added to get
2568 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2569 array size at least. It's necessary to write '\x00'==0 to get something
2570 that's true only with -std. */
2571 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2573 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2574 inside strings and character constants. */
2576 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2578 int test (int i, double x);
2579 struct s1 {int (*f) (int a);};
2580 struct s2 {int (*f) (double a);};
2581 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2587 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2592 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2593 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2595 CC="$ac_save_CC $ac_arg"
2596 rm -f conftest.$ac_objext
2597 if { (ac_try="$ac_compile"
2599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2600 *) ac_try_echo
=$ac_try;;
2602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2603 (eval "$ac_compile") 2>conftest.er1
2605 grep -v '^ *+' conftest.er1
>conftest.err
2607 cat conftest.err
>&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); } && {
2610 test -z "$ac_c_werror_flag" ||
2611 test ! -s conftest.err
2612 } && test -s conftest.
$ac_objext; then
2613 ac_cv_prog_cc_c89
=$ac_arg
2615 echo "$as_me: failed program was:" >&5
2616 sed 's/^/| /' conftest.
$ac_ext >&5
2621 rm -f core conftest.err conftest.
$ac_objext
2622 test "x$ac_cv_prog_cc_c89" != "xno" && break
2624 rm -f conftest.
$ac_ext
2629 case "x$ac_cv_prog_cc_c89" in
2631 { echo "$as_me:$LINENO: result: none needed" >&5
2632 echo "${ECHO_T}none needed" >&6; } ;;
2634 { echo "$as_me:$LINENO: result: unsupported" >&5
2635 echo "${ECHO_T}unsupported" >&6; } ;;
2637 CC
="$CC $ac_cv_prog_cc_c89"
2638 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2639 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2644 ac_cpp
='$CPP $CPPFLAGS'
2645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2649 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2650 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2652 if test "$LN_S" = "ln -s"; then
2653 { echo "$as_me:$LINENO: result: yes" >&5
2654 echo "${ECHO_T}yes" >&6; }
2656 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2657 echo "${ECHO_T}no, using $LN_S" >&6; }
2661 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2662 if test -f "$ac_dir/install-sh"; then
2664 ac_install_sh
="$ac_aux_dir/install-sh -c"
2666 elif test -f "$ac_dir/install.sh"; then
2668 ac_install_sh
="$ac_aux_dir/install.sh -c"
2670 elif test -f "$ac_dir/shtool"; then
2672 ac_install_sh
="$ac_aux_dir/shtool install -c"
2676 if test -z "$ac_aux_dir"; then
2677 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2678 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2679 { (exit 1); exit 1; }; }
2682 # These three variables are undocumented and unsupported,
2683 # and are intended to be withdrawn in a future Autoconf release.
2684 # They can cause serious problems if a builder's source tree is in a directory
2685 # whose full name contains unusual characters.
2686 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2687 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2688 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2691 # Find a good install program. We prefer a C program (faster),
2692 # so one script is as good as another. But avoid the broken or
2693 # incompatible versions:
2694 # SysV /etc/install, /usr/sbin/install
2695 # SunOS /usr/etc/install
2696 # IRIX /sbin/install
2698 # AmigaOS /C/install, which installs bootblocks on floppy discs
2699 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2700 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2701 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2702 # OS/2's system install, which has a completely different semantic
2703 # ./install, which can be erroneously created by make from ./install.sh.
2704 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2705 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2706 if test -z "$INSTALL"; then
2707 if test "${ac_cv_path_install+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir
=.
2715 # Account for people who put trailing slashes in PATH elements.
2717 .
/ | .
// |
/cC
/* | \
2718 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2719 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2722 # OSF1 and SCO ODT 3.0 have their own names for install.
2723 # Don't use installbsd from OSF since it installs stuff as root
2725 for ac_prog
in ginstall scoinst
install; do
2726 for ac_exec_ext
in '' $ac_executable_extensions; do
2727 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2728 if test $ac_prog = install &&
2729 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2730 # AIX install. It has an incompatible calling convention.
2732 elif test $ac_prog = install &&
2733 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2734 # program-specific install script used by HP pwplus--don't use.
2737 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2750 if test "${ac_cv_path_install+set}" = set; then
2751 INSTALL
=$ac_cv_path_install
2753 # As a last resort, use the slow shell script. Don't cache a
2754 # value for INSTALL within a source directory, because that will
2755 # break other packages using the cache if that directory is
2756 # removed, or if the value is a relative name.
2757 INSTALL
=$ac_install_sh
2760 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2761 echo "${ECHO_T}$INSTALL" >&6; }
2763 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2764 # It thinks the first close brace ends the variable substitution.
2765 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2767 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2769 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2774 # Check whether --enable-largefile was given.
2775 if test "${enable_largefile+set}" = set; then
2776 enableval
=$enable_largefile;
2779 if test "$enable_largefile" != no
; then
2781 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2782 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
2783 if test "${ac_cv_sys_largefile_CC+set}" = set; then
2784 echo $ECHO_N "(cached) $ECHO_C" >&6
2786 ac_cv_sys_largefile_CC
=no
2787 if test "$GCC" != yes; then
2790 # IRIX 6.2 and later do not support large files by default,
2791 # so use the C compiler's -n32 option if that helps.
2792 cat >conftest.
$ac_ext <<_ACEOF
2795 cat confdefs.h
>>conftest.
$ac_ext
2796 cat >>conftest.
$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2798 #include <sys/types.h>
2799 /* Check that off_t can represent 2**63 - 1 correctly.
2800 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2801 since some C++ compilers masquerading as C compilers
2802 incorrectly reject 9223372036854775807. */
2803 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2804 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2805 && LARGE_OFF_T % 2147483647 == 1)
2815 rm -f conftest.
$ac_objext
2816 if { (ac_try
="$ac_compile"
2818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2819 *) ac_try_echo=$ac_try;;
2821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2822 (eval "$ac_compile") 2>conftest.er1
2824 grep -v '^ *+' conftest.er1 >conftest.err
2826 cat conftest.err >&5
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); } && {
2829 test -z "$ac_c_werror_flag" ||
2830 test ! -s conftest.err
2831 } && test -s conftest.$ac_objext; then
2834 echo "$as_me: failed program was:" >&5
2835 sed 's/^/| /' conftest.$ac_ext >&5
2840 rm -f core conftest.err conftest.$ac_objext
2842 rm -f conftest.$ac_objext
2843 if { (ac_try="$ac_compile"
2845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2846 *) ac_try_echo
=$ac_try;;
2848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2849 (eval "$ac_compile") 2>conftest.er1
2851 grep -v '^ *+' conftest.er1
>conftest.err
2853 cat conftest.err
>&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); } && {
2856 test -z "$ac_c_werror_flag" ||
2857 test ! -s conftest.err
2858 } && test -s conftest.
$ac_objext; then
2859 ac_cv_sys_largefile_CC
=' -n32'; break
2861 echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.
$ac_ext >&5
2867 rm -f core conftest.err conftest.
$ac_objext
2871 rm -f conftest.
$ac_ext
2874 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
2875 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
2876 if test "$ac_cv_sys_largefile_CC" != no
; then
2877 CC
=$CC$ac_cv_sys_largefile_CC
2880 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2881 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
2882 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 cat >conftest.
$ac_ext <<_ACEOF
2889 cat confdefs.h
>>conftest.
$ac_ext
2890 cat >>conftest.
$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2892 #include <sys/types.h>
2893 /* Check that off_t can represent 2**63 - 1 correctly.
2894 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2895 since some C++ compilers masquerading as C compilers
2896 incorrectly reject 9223372036854775807. */
2897 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2898 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2899 && LARGE_OFF_T % 2147483647 == 1)
2909 rm -f conftest.
$ac_objext
2910 if { (ac_try
="$ac_compile"
2912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2916 (eval "$ac_compile") 2>conftest.er1
2918 grep -v '^ *+' conftest.er1 >conftest.err
2920 cat conftest.err >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } && {
2923 test -z "$ac_c_werror_flag" ||
2924 test ! -s conftest.err
2925 } && test -s conftest.$ac_objext; then
2926 ac_cv_sys_file_offset_bits=no; break
2928 echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.$ac_ext >&5
2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2935 cat >conftest.$ac_ext <<_ACEOF
2938 cat confdefs.h >>conftest.$ac_ext
2939 cat >>conftest.$ac_ext <<_ACEOF
2940 /* end confdefs.h. */
2941 #define _FILE_OFFSET_BITS 64
2942 #include <sys/types.h>
2943 /* Check that off_t can represent 2**63 - 1 correctly.
2944 We can't simply define LARGE_OFF_T to be 9223372036854775807,
2945 since some C++ compilers masquerading as C compilers
2946 incorrectly reject 9223372036854775807. */
2947 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2948 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2949 && LARGE_OFF_T % 2147483647 == 1)
2959 rm -f conftest.$ac_objext
2960 if { (ac_try="$ac_compile"
2962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2963 *) ac_try_echo
=$ac_try;;
2965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2966 (eval "$ac_compile") 2>conftest.er1
2968 grep -v '^ *+' conftest.er1
>conftest.err
2970 cat conftest.err
>&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } && {
2973 test -z "$ac_c_werror_flag" ||
2974 test ! -s conftest.err
2975 } && test -s conftest.
$ac_objext; then
2976 ac_cv_sys_file_offset_bits
=64; break
2978 echo "$as_me: failed program was:" >&5
2979 sed 's/^/| /' conftest.
$ac_ext >&5
2984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2985 ac_cv_sys_file_offset_bits
=unknown
2989 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
2990 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
2991 case $ac_cv_sys_file_offset_bits in #(
2994 cat >>confdefs.h
<<_ACEOF
2995 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3000 if test $ac_cv_sys_file_offset_bits = unknown
; then
3001 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3002 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
3003 if test "${ac_cv_sys_large_files+set}" = set; then
3004 echo $ECHO_N "(cached) $ECHO_C" >&6
3007 cat >conftest.
$ac_ext <<_ACEOF
3010 cat confdefs.h
>>conftest.
$ac_ext
3011 cat >>conftest.
$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3013 #include <sys/types.h>
3014 /* Check that off_t can represent 2**63 - 1 correctly.
3015 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3016 since some C++ compilers masquerading as C compilers
3017 incorrectly reject 9223372036854775807. */
3018 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3019 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3020 && LARGE_OFF_T % 2147483647 == 1)
3030 rm -f conftest.
$ac_objext
3031 if { (ac_try
="$ac_compile"
3033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;;
3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3037 (eval "$ac_compile") 2>conftest.er1
3039 grep -v '^ *+' conftest.er1 >conftest.err
3041 cat conftest.err >&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); } && {
3044 test -z "$ac_c_werror_flag" ||
3045 test ! -s conftest.err
3046 } && test -s conftest.$ac_objext; then
3047 ac_cv_sys_large_files=no; break
3049 echo "$as_me: failed program was:" >&5
3050 sed 's/^/| /' conftest.$ac_ext >&5
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3056 cat >conftest.$ac_ext <<_ACEOF
3059 cat confdefs.h >>conftest.$ac_ext
3060 cat >>conftest.$ac_ext <<_ACEOF
3061 /* end confdefs.h. */
3062 #define _LARGE_FILES 1
3063 #include <sys/types.h>
3064 /* Check that off_t can represent 2**63 - 1 correctly.
3065 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3066 since some C++ compilers masquerading as C compilers
3067 incorrectly reject 9223372036854775807. */
3068 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3069 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3070 && LARGE_OFF_T % 2147483647 == 1)
3080 rm -f conftest.$ac_objext
3081 if { (ac_try="$ac_compile"
3083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3084 *) ac_try_echo
=$ac_try;;
3086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3087 (eval "$ac_compile") 2>conftest.er1
3089 grep -v '^ *+' conftest.er1
>conftest.err
3091 cat conftest.err
>&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } && {
3094 test -z "$ac_c_werror_flag" ||
3095 test ! -s conftest.err
3096 } && test -s conftest.
$ac_objext; then
3097 ac_cv_sys_large_files
=1; break
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.
$ac_ext >&5
3105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3106 ac_cv_sys_large_files
=unknown
3110 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3111 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
3112 case $ac_cv_sys_large_files in #(
3115 cat >>confdefs.h
<<_ACEOF
3116 #define _LARGE_FILES $ac_cv_sys_large_files
3125 ac_cpp
='$CPP $CPPFLAGS'
3126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3129 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3130 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3131 # On Suns, sometimes $CPP names a directory.
3132 if test -n "$CPP" && test -d "$CPP"; then
3135 if test -z "$CPP"; then
3136 if test "${ac_cv_prog_CPP+set}" = set; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 # Double quotes because CPP needs to be expanded
3140 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3143 for ac_c_preproc_warn_flag
in '' yes
3145 # Use a header file that comes with gcc, so configuring glibc
3146 # with a fresh cross-compiler works.
3147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3148 # <limits.h> exists even on freestanding compilers.
3149 # On the NeXT, cc -E runs the code through the compiler's parser,
3150 # not just through cpp. "Syntax error" is here to catch this case.
3151 cat >conftest.
$ac_ext <<_ACEOF
3154 cat confdefs.h
>>conftest.
$ac_ext
3155 cat >>conftest.
$ac_ext <<_ACEOF
3156 /* end confdefs.h. */
3158 # include <limits.h>
3160 # include <assert.h>
3164 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3172 grep -v '^ *+' conftest.er1 >conftest.err
3174 cat conftest.err >&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } >/dev/null && {
3177 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3178 test ! -s conftest.err
3182 echo "$as_me: failed program was:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3185 # Broken: fails on valid input.
3189 rm -f conftest.err conftest.$ac_ext
3191 # OK, works on sane cases. Now check whether nonexistent headers
3192 # can be detected and how.
3193 cat >conftest.$ac_ext <<_ACEOF
3196 cat confdefs.h >>conftest.$ac_ext
3197 cat >>conftest.$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3199 #include <ac_nonexistent.h>
3201 if { (ac_try="$ac_cpp conftest.$ac_ext"
3203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3204 *) ac_try_echo
=$ac_try;;
3206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3209 grep -v '^ *+' conftest.er1
>conftest.err
3211 cat conftest.err
>&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); } >/dev
/null
&& {
3214 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3215 test ! -s conftest.err
3217 # Broken: success on invalid input.
3220 echo "$as_me: failed program was:" >&5
3221 sed 's/^/| /' conftest.
$ac_ext >&5
3223 # Passes both tests.
3228 rm -f conftest.err conftest.
$ac_ext
3231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3232 rm -f conftest.err conftest.
$ac_ext
3233 if $ac_preproc_ok; then
3245 { echo "$as_me:$LINENO: result: $CPP" >&5
3246 echo "${ECHO_T}$CPP" >&6; }
3248 for ac_c_preproc_warn_flag
in '' yes
3250 # Use a header file that comes with gcc, so configuring glibc
3251 # with a fresh cross-compiler works.
3252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3253 # <limits.h> exists even on freestanding compilers.
3254 # On the NeXT, cc -E runs the code through the compiler's parser,
3255 # not just through cpp. "Syntax error" is here to catch this case.
3256 cat >conftest.
$ac_ext <<_ACEOF
3259 cat confdefs.h
>>conftest.
$ac_ext
3260 cat >>conftest.
$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3263 # include <limits.h>
3265 # include <assert.h>
3269 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3277 grep -v '^ *+' conftest.er1 >conftest.err
3279 cat conftest.err >&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); } >/dev/null && {
3282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3283 test ! -s conftest.err
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3290 # Broken: fails on valid input.
3294 rm -f conftest.err conftest.$ac_ext
3296 # OK, works on sane cases. Now check whether nonexistent headers
3297 # can be detected and how.
3298 cat >conftest.$ac_ext <<_ACEOF
3301 cat confdefs.h >>conftest.$ac_ext
3302 cat >>conftest.$ac_ext <<_ACEOF
3303 /* end confdefs.h. */
3304 #include <ac_nonexistent.h>
3306 if { (ac_try="$ac_cpp conftest.$ac_ext"
3308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3309 *) ac_try_echo
=$ac_try;;
3311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3314 grep -v '^ *+' conftest.er1
>conftest.err
3316 cat conftest.err
>&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); } >/dev
/null
&& {
3319 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3320 test ! -s conftest.err
3322 # Broken: success on invalid input.
3325 echo "$as_me: failed program was:" >&5
3326 sed 's/^/| /' conftest.
$ac_ext >&5
3328 # Passes both tests.
3333 rm -f conftest.err conftest.
$ac_ext
3336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3337 rm -f conftest.err conftest.
$ac_ext
3338 if $ac_preproc_ok; then
3341 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3342 See \`config.log' for more details." >&5
3343 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3344 See \`config.log' for more details." >&2;}
3345 { (exit 1); exit 1; }; }
3349 ac_cpp
='$CPP $CPPFLAGS'
3350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3355 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3356 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3357 if test "${ac_cv_path_GREP+set}" = set; then
3358 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 # Extract the first word of "grep ggrep" to use in msg output
3361 if test -z "$GREP"; then
3362 set dummy
grep ggrep
; ac_prog_name
=$2
3363 if test "${ac_cv_path_GREP+set}" = set; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 ac_path_GREP_found
=false
3367 # Loop through the user's path and test for each of PROGNAME-LIST
3368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3369 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3372 test -z "$as_dir" && as_dir
=.
3373 for ac_prog
in grep ggrep
; do
3374 for ac_exec_ext
in '' $ac_executable_extensions; do
3375 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3376 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3377 # Check for GNU ac_path_GREP and select it if it is found.
3378 # Check for GNU $ac_path_GREP
3379 case `"$ac_path_GREP" --version 2>&1` in
3381 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3384 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3387 cat "conftest.in" "conftest.in" >"conftest.tmp"
3388 mv "conftest.tmp" "conftest.in"
3389 cp "conftest.in" "conftest.nl"
3390 echo 'GREP' >> "conftest.nl"
3391 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3392 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3393 ac_count
=`expr $ac_count + 1`
3394 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3395 # Best one so far, save it but keep looking for a better one
3396 ac_cv_path_GREP
="$ac_path_GREP"
3397 ac_path_GREP_max
=$ac_count
3399 # 10*(2^10) chars as input seems more than enough
3400 test $ac_count -gt 10 && break
3402 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3406 $ac_path_GREP_found && break 3
3416 GREP
="$ac_cv_path_GREP"
3417 if test -z "$GREP"; then
3418 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3419 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3420 { (exit 1); exit 1; }; }
3424 ac_cv_path_GREP
=$GREP
3429 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3430 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3431 GREP
="$ac_cv_path_GREP"
3434 { echo "$as_me:$LINENO: checking for egrep" >&5
3435 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3436 if test "${ac_cv_path_EGREP+set}" = set; then
3437 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3440 then ac_cv_path_EGREP
="$GREP -E"
3442 # Extract the first word of "egrep" to use in msg output
3443 if test -z "$EGREP"; then
3444 set dummy
egrep; ac_prog_name
=$2
3445 if test "${ac_cv_path_EGREP+set}" = set; then
3446 echo $ECHO_N "(cached) $ECHO_C" >&6
3448 ac_path_EGREP_found
=false
3449 # Loop through the user's path and test for each of PROGNAME-LIST
3450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3451 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3454 test -z "$as_dir" && as_dir
=.
3455 for ac_prog
in egrep; do
3456 for ac_exec_ext
in '' $ac_executable_extensions; do
3457 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3458 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3459 # Check for GNU ac_path_EGREP and select it if it is found.
3460 # Check for GNU $ac_path_EGREP
3461 case `"$ac_path_EGREP" --version 2>&1` in
3463 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3466 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3469 cat "conftest.in" "conftest.in" >"conftest.tmp"
3470 mv "conftest.tmp" "conftest.in"
3471 cp "conftest.in" "conftest.nl"
3472 echo 'EGREP' >> "conftest.nl"
3473 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3474 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3475 ac_count
=`expr $ac_count + 1`
3476 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3477 # Best one so far, save it but keep looking for a better one
3478 ac_cv_path_EGREP
="$ac_path_EGREP"
3479 ac_path_EGREP_max
=$ac_count
3481 # 10*(2^10) chars as input seems more than enough
3482 test $ac_count -gt 10 && break
3484 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3488 $ac_path_EGREP_found && break 3
3498 EGREP
="$ac_cv_path_EGREP"
3499 if test -z "$EGREP"; then
3500 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3501 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3502 { (exit 1); exit 1; }; }
3506 ac_cv_path_EGREP
=$EGREP
3512 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3513 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3514 EGREP
="$ac_cv_path_EGREP"
3517 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3518 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3519 if test "${ac_cv_header_stdc+set}" = set; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 cat >conftest.
$ac_ext <<_ACEOF
3525 cat confdefs.h
>>conftest.
$ac_ext
3526 cat >>conftest.
$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3541 rm -f conftest.
$ac_objext
3542 if { (ac_try
="$ac_compile"
3544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3545 *) ac_try_echo=$ac_try;;
3547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3548 (eval "$ac_compile") 2>conftest.er1
3550 grep -v '^ *+' conftest.er1 >conftest.err
3552 cat conftest.err >&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); } && {
3555 test -z "$ac_c_werror_flag" ||
3556 test ! -s conftest.err
3557 } && test -s conftest.$ac_objext; then
3558 ac_cv_header_stdc=yes
3560 echo "$as_me: failed program was:" >&5
3561 sed 's/^/| /' conftest.$ac_ext >&5
3563 ac_cv_header_stdc=no
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 if test $ac_cv_header_stdc = yes; then
3569 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3570 cat >conftest.$ac_ext <<_ACEOF
3573 cat confdefs.h >>conftest.$ac_ext
3574 cat >>conftest.$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3580 $EGREP "memchr" >/dev/null 2>&1; then
3583 ac_cv_header_stdc=no
3589 if test $ac_cv_header_stdc = yes; then
3590 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3591 cat >conftest.$ac_ext <<_ACEOF
3594 cat confdefs.h >>conftest.$ac_ext
3595 cat >>conftest.$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3601 $EGREP "free" >/dev/null 2>&1; then
3604 ac_cv_header_stdc=no
3610 if test $ac_cv_header_stdc = yes; then
3611 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3612 if test "$cross_compiling" = yes; then
3615 cat >conftest.$ac_ext <<_ACEOF
3618 cat confdefs.h >>conftest.$ac_ext
3619 cat >>conftest.$ac_ext <<_ACEOF
3620 /* end confdefs.h. */
3623 #if ((' ' & 0x0FF) == 0x020)
3624 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3625 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3627 # define ISLOWER(c) \
3628 (('a' <= (c) && (c) <= 'i') \
3629 || ('j' <= (c) && (c) <= 'r') \
3630 || ('s' <= (c) && (c) <= 'z'))
3631 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3634 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3639 for (i = 0; i < 256; i++)
3640 if (XOR (islower (i), ISLOWER (i))
3641 || toupper (i) != TOUPPER (i))
3646 rm -f conftest$ac_exeext
3647 if { (ac_try="$ac_link"
3649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3650 *) ac_try_echo
=$ac_try;;
3652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3653 (eval "$ac_link") 2>&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3657 { (case "(($ac_try" in
3658 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3659 *) ac_try_echo=$ac_try;;
3661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3662 (eval "$ac_try") 2>&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); }; }; then
3668 echo "$as_me: program exited with status $ac_status" >&5
3669 echo "$as_me: failed program was:" >&5
3670 sed 's/^/| /' conftest.$ac_ext >&5
3673 ac_cv_header_stdc=no
3675 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3681 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3682 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3683 if test $ac_cv_header_stdc = yes; then
3685 cat >>confdefs.h <<\_ACEOF
3686 #define STDC_HEADERS 1
3691 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3701 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3702 inttypes.h stdint.h unistd.h
3704 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3705 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 cat >conftest.$ac_ext <<_ACEOF
3713 cat confdefs.h >>conftest.$ac_ext
3714 cat >>conftest.$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3716 $ac_includes_default
3718 #include <$ac_header>
3720 rm -f conftest.$ac_objext
3721 if { (ac_try="$ac_compile"
3723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3724 *) ac_try_echo
=$ac_try;;
3726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3727 (eval "$ac_compile") 2>conftest.er1
3729 grep -v '^ *+' conftest.er1
>conftest.err
3731 cat conftest.err
>&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); } && {
3734 test -z "$ac_c_werror_flag" ||
3735 test ! -s conftest.err
3736 } && test -s conftest.
$ac_objext; then
3737 eval "$as_ac_Header=yes"
3739 echo "$as_me: failed program was:" >&5
3740 sed 's/^/| /' conftest.
$ac_ext >&5
3742 eval "$as_ac_Header=no"
3745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3747 ac_res
=`eval echo '${'$as_ac_Header'}'`
3748 { echo "$as_me:$LINENO: result: $ac_res" >&5
3749 echo "${ECHO_T}$ac_res" >&6; }
3750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3751 cat >>confdefs.h
<<_ACEOF
3752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3761 { echo "$as_me:$LINENO: checking whether char is unsigned" >&5
3762 echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; }
3763 if test "${ac_cv_c_char_unsigned+set}" = set; then
3764 echo $ECHO_N "(cached) $ECHO_C" >&6
3766 cat >conftest.
$ac_ext <<_ACEOF
3769 cat confdefs.h
>>conftest.
$ac_ext
3770 cat >>conftest.
$ac_ext <<_ACEOF
3771 /* end confdefs.h. */
3772 $ac_includes_default
3776 static int test_array [1 - 2 * !(((char) -1) < 0)];
3783 rm -f conftest.
$ac_objext
3784 if { (ac_try
="$ac_compile"
3786 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3787 *) ac_try_echo=$ac_try;;
3789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3790 (eval "$ac_compile") 2>conftest.er1
3792 grep -v '^ *+' conftest.er1 >conftest.err
3794 cat conftest.err >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); } && {
3797 test -z "$ac_c_werror_flag" ||
3798 test ! -s conftest.err
3799 } && test -s conftest.$ac_objext; then
3800 ac_cv_c_char_unsigned=no
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.$ac_ext >&5
3805 ac_cv_c_char_unsigned=yes
3808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3810 { echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
3811 echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; }
3812 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3813 cat >>confdefs.h <<\_ACEOF
3814 #define __CHAR_UNSIGNED__ 1
3819 { echo "$as_me:$LINENO: checking for u_int64_t" >&5
3820 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
3821 if test "${ac_cv_type_u_int64_t+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 cat >conftest.$ac_ext <<_ACEOF
3827 cat confdefs.h >>conftest.$ac_ext
3828 cat >>conftest.$ac_ext <<_ACEOF
3829 /* end confdefs.h. */
3830 $ac_includes_default
3831 typedef u_int64_t ac__type_new_;
3835 if ((ac__type_new_ *) 0)
3837 if (sizeof (ac__type_new_))
3843 rm -f conftest.$ac_objext
3844 if { (ac_try="$ac_compile"
3846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3847 *) ac_try_echo
=$ac_try;;
3849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3850 (eval "$ac_compile") 2>conftest.er1
3852 grep -v '^ *+' conftest.er1
>conftest.err
3854 cat conftest.err
>&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && {
3857 test -z "$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 } && test -s conftest.
$ac_objext; then
3860 ac_cv_type_u_int64_t
=yes
3862 echo "$as_me: failed program was:" >&5
3863 sed 's/^/| /' conftest.
$ac_ext >&5
3865 ac_cv_type_u_int64_t
=no
3868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3870 { echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
3871 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
3872 if test $ac_cv_type_u_int64_t = yes; then
3876 cat >>confdefs.h
<<_ACEOF
3877 #define u_int64_t unsigned long long
3882 { echo "$as_me:$LINENO: checking whether altzone is declared" >&5
3883 echo $ECHO_N "checking whether altzone is declared... $ECHO_C" >&6; }
3884 if test "${ac_cv_have_decl_altzone+set}" = set; then
3885 echo $ECHO_N "(cached) $ECHO_C" >&6
3887 cat >conftest.
$ac_ext <<_ACEOF
3890 cat confdefs.h
>>conftest.
$ac_ext
3891 cat >>conftest.
$ac_ext <<_ACEOF
3892 /* end confdefs.h. */
3906 rm -f conftest.
$ac_objext
3907 if { (ac_try
="$ac_compile"
3909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3910 *) ac_try_echo=$ac_try;;
3912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3913 (eval "$ac_compile") 2>conftest.er1
3915 grep -v '^ *+' conftest.er1 >conftest.err
3917 cat conftest.err >&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); } && {
3920 test -z "$ac_c_werror_flag" ||
3921 test ! -s conftest.err
3922 } && test -s conftest.$ac_objext; then
3923 ac_cv_have_decl_altzone=yes
3925 echo "$as_me: failed program was:" >&5
3926 sed 's/^/| /' conftest.$ac_ext >&5
3928 ac_cv_have_decl_altzone=no
3931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3933 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_altzone" >&5
3934 echo "${ECHO_T}$ac_cv_have_decl_altzone" >&6; }
3935 if test $ac_cv_have_decl_altzone = yes; then
3936 OPTS="-DHAVE_ALTZONE ${OPTS}"
3941 if test "$GCC" = "yes"; then
3943 # Check whether --enable-static was given.
3944 if test "${enable_static+set}" = set; then
3945 enableval=$enable_static; LDFLAGS="--static ${LDFLAGS}"
3949 if test "$IN_CFLAGS" = ""; then
3952 if test "$ac_cv_c_char_unsigned" = "yes"; then
3953 CFLAGS="-fsigned-char ${CFLAGS}"
3956 # Check whether --enable-debug was given.
3957 if test "${enable_debug+set}" = set; then
3958 enableval=$enable_debug; CFLAGS="-g ${CFLAGS}"
3963 if test "$IN_CFLAGS" = ""; then
3970 # Check whether --with-gd was given.
3971 if test "${with_gd+set}" = set; then
3972 withval=$with_gd; S_GD="${withval}"; CPPFLAGS="${CPPFLAGS} -I${withval}"
3976 # Check whether --with-gdlib was given.
3977 if test "${with_gdlib+set}" = set; then
3978 withval=$with_gdlib; S_GDLIB="${withval}"; LDFLAGS="-L${withval} ${LDFLAGS}"
3982 # Check whether --with-png was given.
3983 if test "${with_png+set}" = set; then
3984 withval=$with_png; S_PNG="${withval}"; CPPFLAGS="${CPPFLAGS} -I${withval}"
3988 # Check whether --with-pnglib was given.
3989 if test "${with_pnglib+set}" = set; then
3990 withval=$with_pnglib; S_PNGLIB="${withval}"; LDFLAGS="-L${withval} ${LDFLAGS}"
3994 # Check whether --with-z was given.
3995 if test "${with_z+set}" = set; then
3996 withval=$with_z; S_Z="${withval}"; CPPFLAGS="${CPPFLAGS} -I${withval}"
4000 # Check whether --with-zlib was given.
4001 if test "${with_zlib+set}" = set; then
4002 withval=$with_zlib; S_ZLIB="${withval}"; LDFLAGS="-L${withval} ${LDFLAGS}"
4006 # Check whether --with-db was given.
4007 if test "${with_db+set}" = set; then
4008 withval=$with_db; S_DB="${withval}"; CPPFLAGS="${CPPFLAGS} -I${withval}"
4012 # Check whether --with-dblib was given.
4013 if test "${with_dblib+set}" = set; then
4014 withval=$with_dblib; S_DBLIB="${withval}"; LDFLAGS="-L${withval} ${LDFLAGS}"
4019 { echo "$as_me:$LINENO: checking for main in -l44bsd" >&5
4020 echo $ECHO_N "checking for main in -l44bsd... $ECHO_C" >&6; }
4021 if test "${ac_cv_lib_44bsd_main+set}" = set; then
4022 echo $ECHO_N "(cached) $ECHO_C" >&6
4024 ac_check_lib_save_LIBS=$LIBS
4025 LIBS="-l44bsd $LIBS"
4026 cat >conftest.$ac_ext <<_ACEOF
4029 cat confdefs.h >>conftest.$ac_ext
4030 cat >>conftest.$ac_ext <<_ACEOF
4031 /* end confdefs.h. */
4042 rm -f conftest.$ac_objext conftest$ac_exeext
4043 if { (ac_try="$ac_link"
4045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4046 *) ac_try_echo
=$ac_try;;
4048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4049 (eval "$ac_link") 2>conftest.er1
4051 grep -v '^ *+' conftest.er1
>conftest.err
4053 cat conftest.err
>&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); } && {
4056 test -z "$ac_c_werror_flag" ||
4057 test ! -s conftest.err
4058 } && test -s conftest
$ac_exeext &&
4059 $as_test_x conftest
$ac_exeext; then
4060 ac_cv_lib_44bsd_main
=yes
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.
$ac_ext >&5
4065 ac_cv_lib_44bsd_main
=no
4068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4069 conftest
$ac_exeext conftest.
$ac_ext
4070 LIBS
=$ac_check_lib_save_LIBS
4072 { echo "$as_me:$LINENO: result: $ac_cv_lib_44bsd_main" >&5
4073 echo "${ECHO_T}$ac_cv_lib_44bsd_main" >&6; }
4074 if test $ac_cv_lib_44bsd_main = yes; then
4075 LIBS
="-l44bsd ${LIBS}"
4079 for ac_header
in getopt.h
4081 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4082 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4083 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4085 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4086 echo $ECHO_N "(cached) $ECHO_C" >&6
4088 ac_res
=`eval echo '${'$as_ac_Header'}'`
4089 { echo "$as_me:$LINENO: result: $ac_res" >&5
4090 echo "${ECHO_T}$ac_res" >&6; }
4092 # Is the header compilable?
4093 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4095 cat >conftest.
$ac_ext <<_ACEOF
4098 cat confdefs.h
>>conftest.
$ac_ext
4099 cat >>conftest.
$ac_ext <<_ACEOF
4100 /* end confdefs.h. */
4101 $ac_includes_default
4102 #include <$ac_header>
4104 rm -f conftest.
$ac_objext
4105 if { (ac_try
="$ac_compile"
4107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4108 *) ac_try_echo=$ac_try;;
4110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4111 (eval "$ac_compile") 2>conftest.er1
4113 grep -v '^ *+' conftest.er1 >conftest.err
4115 cat conftest.err >&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } && {
4118 test -z "$ac_c_werror_flag" ||
4119 test ! -s conftest.err
4120 } && test -s conftest.$ac_objext; then
4121 ac_header_compiler=yes
4123 echo "$as_me: failed program was:" >&5
4124 sed 's/^/| /' conftest.$ac_ext >&5
4126 ac_header_compiler=no
4129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4130 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4131 echo "${ECHO_T}$ac_header_compiler" >&6; }
4133 # Is the header present?
4134 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4135 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4136 cat >conftest.$ac_ext <<_ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
4141 /* end confdefs.h. */
4142 #include <$ac_header>
4144 if { (ac_try="$ac_cpp conftest.$ac_ext"
4146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4147 *) ac_try_echo
=$ac_try;;
4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4152 grep -v '^ *+' conftest.er1
>conftest.err
4154 cat conftest.err
>&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } >/dev
/null
&& {
4157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4158 test ! -s conftest.err
4160 ac_header_preproc
=yes
4162 echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.
$ac_ext >&5
4165 ac_header_preproc
=no
4168 rm -f conftest.err conftest.
$ac_ext
4169 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4170 echo "${ECHO_T}$ac_header_preproc" >&6; }
4172 # So? What about this header?
4173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4178 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4179 ac_header_preproc
=yes
4182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4187 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4189 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4193 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4197 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4199 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4202 eval "$as_ac_Header=\$ac_header_preproc"
4204 ac_res
=`eval echo '${'$as_ac_Header'}'`
4205 { echo "$as_me:$LINENO: result: $ac_res" >&5
4206 echo "${ECHO_T}$ac_res" >&6; }
4209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4210 cat >>confdefs.h
<<_ACEOF
4211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4218 { echo "$as_me:$LINENO: checking for main in -lm" >&5
4219 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
4220 if test "${ac_cv_lib_m_main+set}" = set; then
4221 echo $ECHO_N "(cached) $ECHO_C" >&6
4223 ac_check_lib_save_LIBS
=$LIBS
4225 cat >conftest.
$ac_ext <<_ACEOF
4228 cat confdefs.h
>>conftest.
$ac_ext
4229 cat >>conftest.
$ac_ext <<_ACEOF
4230 /* end confdefs.h. */
4241 rm -f conftest.
$ac_objext conftest
$ac_exeext
4242 if { (ac_try
="$ac_link"
4244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4245 *) ac_try_echo=$ac_try;;
4247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4248 (eval "$ac_link") 2>conftest.er1
4250 grep -v '^ *+' conftest.er1 >conftest.err
4252 cat conftest.err >&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); } && {
4255 test -z "$ac_c_werror_flag" ||
4256 test ! -s conftest.err
4257 } && test -s conftest$ac_exeext &&
4258 $as_test_x conftest$ac_exeext; then
4259 ac_cv_lib_m_main=yes
4261 echo "$as_me: failed program was:" >&5
4262 sed 's/^/| /' conftest.$ac_ext >&5
4267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4268 conftest$ac_exeext conftest.$ac_ext
4269 LIBS=$ac_check_lib_save_LIBS
4271 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4272 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
4273 if test $ac_cv_lib_m_main = yes; then
4274 LIBS="-lm ${LIBS}"; HAVE_LIBM="1"
4277 if test "${HAVE_LIBM}" = "1"; then
4279 for ac_header in math.h
4281 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4282 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4283 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 ac_res=`eval echo '${'$as_ac_Header'}'`
4289 { echo "$as_me:$LINENO: result: $ac_res" >&5
4290 echo "${ECHO_T}$ac_res" >&6; }
4292 # Is the header compilable?
4293 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4294 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4295 cat >conftest.$ac_ext <<_ACEOF
4298 cat confdefs.h >>conftest.$ac_ext
4299 cat >>conftest.$ac_ext <<_ACEOF
4300 /* end confdefs.h. */
4301 $ac_includes_default
4302 #include <$ac_header>
4304 rm -f conftest.$ac_objext
4305 if { (ac_try="$ac_compile"
4307 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4308 *) ac_try_echo
=$ac_try;;
4310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4311 (eval "$ac_compile") 2>conftest.er1
4313 grep -v '^ *+' conftest.er1
>conftest.err
4315 cat conftest.err
>&5
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); } && {
4318 test -z "$ac_c_werror_flag" ||
4319 test ! -s conftest.err
4320 } && test -s conftest.
$ac_objext; then
4321 ac_header_compiler
=yes
4323 echo "$as_me: failed program was:" >&5
4324 sed 's/^/| /' conftest.
$ac_ext >&5
4326 ac_header_compiler
=no
4329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4330 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4331 echo "${ECHO_T}$ac_header_compiler" >&6; }
4333 # Is the header present?
4334 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4335 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4336 cat >conftest.
$ac_ext <<_ACEOF
4339 cat confdefs.h
>>conftest.
$ac_ext
4340 cat >>conftest.
$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4342 #include <$ac_header>
4344 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4347 *) ac_try_echo=$ac_try;;
4349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4352 grep -v '^ *+' conftest.er1 >conftest.err
4354 cat conftest.err >&5
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); } >/dev/null && {
4357 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4358 test ! -s conftest.err
4360 ac_header_preproc=yes
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.$ac_ext >&5
4365 ac_header_preproc=no
4368 rm -f conftest.err conftest.$ac_ext
4369 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4370 echo "${ECHO_T}$ac_header_preproc" >&6; }
4372 # So? What about this header?
4373 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4375 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4376 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4378 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4379 ac_header_preproc=yes
4382 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4383 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4384 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4385 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4386 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4387 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4388 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4389 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4392 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4393 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4397 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4400 echo $ECHO_N "(cached) $ECHO_C" >&6
4402 eval "$as_ac_Header=\$ac_header_preproc"
4404 ac_res=`eval echo '${'$as_ac_Header'}'`
4405 { echo "$as_me:$LINENO: result: $ac_res" >&5
4406 echo "${ECHO_T}$ac_res" >&6; }
4409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4410 cat >>confdefs.h <<_ACEOF
4411 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4421 { echo "$as_me:$LINENO: checking for main in -lz" >&5
4422 echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6; }
4423 if test "${ac_cv_lib_z_main+set}" = set; then
4424 echo $ECHO_N "(cached) $ECHO_C" >&6
4426 ac_check_lib_save_LIBS=$LIBS
4428 cat >conftest.$ac_ext <<_ACEOF
4431 cat confdefs.h >>conftest.$ac_ext
4432 cat >>conftest.$ac_ext <<_ACEOF
4433 /* end confdefs.h. */
4444 rm -f conftest.$ac_objext conftest$ac_exeext
4445 if { (ac_try="$ac_link"
4447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4448 *) ac_try_echo
=$ac_try;;
4450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4451 (eval "$ac_link") 2>conftest.er1
4453 grep -v '^ *+' conftest.er1
>conftest.err
4455 cat conftest.err
>&5
4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457 (exit $ac_status); } && {
4458 test -z "$ac_c_werror_flag" ||
4459 test ! -s conftest.err
4460 } && test -s conftest
$ac_exeext &&
4461 $as_test_x conftest
$ac_exeext; then
4462 ac_cv_lib_z_main
=yes
4464 echo "$as_me: failed program was:" >&5
4465 sed 's/^/| /' conftest.
$ac_ext >&5
4470 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4471 conftest
$ac_exeext conftest.
$ac_ext
4472 LIBS
=$ac_check_lib_save_LIBS
4474 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
4475 echo "${ECHO_T}$ac_cv_lib_z_main" >&6; }
4476 if test $ac_cv_lib_z_main = yes; then
4477 LIBZ
="yes"; LIBS
="-lz ${LIBS}"
4480 if test "${LIBZ}" = "yes"; then
4481 { echo "$as_me:$LINENO: checking for gzrewind in -lz" >&5
4482 echo $ECHO_N "checking for gzrewind in -lz... $ECHO_C" >&6; }
4483 if test "${ac_cv_lib_z_gzrewind+set}" = set; then
4484 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 ac_check_lib_save_LIBS
=$LIBS
4488 cat >conftest.
$ac_ext <<_ACEOF
4491 cat confdefs.h
>>conftest.
$ac_ext
4492 cat >>conftest.
$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4495 /* Override any GCC internal prototype to avoid an error.
4496 Use char because int might match the return type of a GCC
4497 builtin and then its argument prototype would still apply. */
4510 rm -f conftest.
$ac_objext conftest
$ac_exeext
4511 if { (ac_try
="$ac_link"
4513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4514 *) ac_try_echo=$ac_try;;
4516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4517 (eval "$ac_link") 2>conftest.er1
4519 grep -v '^ *+' conftest.er1 >conftest.err
4521 cat conftest.err >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } && {
4524 test -z "$ac_c_werror_flag" ||
4525 test ! -s conftest.err
4526 } && test -s conftest$ac_exeext &&
4527 $as_test_x conftest$ac_exeext; then
4528 ac_cv_lib_z_gzrewind=yes
4530 echo "$as_me: failed program was:" >&5
4531 sed 's/^/| /' conftest.$ac_ext >&5
4533 ac_cv_lib_z_gzrewind=no
4536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4537 conftest$ac_exeext conftest.$ac_ext
4538 LIBS=$ac_check_lib_save_LIBS
4540 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzrewind" >&5
4541 echo "${ECHO_T}$ac_cv_lib_z_gzrewind" >&6; }
4542 if test $ac_cv_lib_z_gzrewind = yes; then
4548 if test "${LIBZ}" = "no"; then
4549 { { echo "$as_me:$LINENO: error: Old version of libz found.. please upgrade!" >&5
4550 echo "$as_me: error: Old version of libz found.. please upgrade!" >&2;}
4551 { (exit 1); exit 1; }; }
4554 { { echo "$as_me:$LINENO: error: z library not found.. please install libz" >&5
4555 echo "$as_me: error: z library not found.. please install libz" >&2;}
4556 { (exit 1); exit 1; }; }
4559 if test "${ac_cv_header_zlib_h+set}" = set; then
4560 { echo "$as_me:$LINENO: checking for zlib.h" >&5
4561 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
4562 if test "${ac_cv_header_zlib_h+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
4566 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
4568 # Is the header compilable?
4569 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
4570 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
4571 cat >conftest.$ac_ext <<_ACEOF
4574 cat confdefs.h >>conftest.$ac_ext
4575 cat >>conftest.$ac_ext <<_ACEOF
4576 /* end confdefs.h. */
4577 $ac_includes_default
4580 rm -f conftest.$ac_objext
4581 if { (ac_try="$ac_compile"
4583 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4584 *) ac_try_echo
=$ac_try;;
4586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4587 (eval "$ac_compile") 2>conftest.er1
4589 grep -v '^ *+' conftest.er1
>conftest.err
4591 cat conftest.err
>&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); } && {
4594 test -z "$ac_c_werror_flag" ||
4595 test ! -s conftest.err
4596 } && test -s conftest.
$ac_objext; then
4597 ac_header_compiler
=yes
4599 echo "$as_me: failed program was:" >&5
4600 sed 's/^/| /' conftest.
$ac_ext >&5
4602 ac_header_compiler
=no
4605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4606 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4607 echo "${ECHO_T}$ac_header_compiler" >&6; }
4609 # Is the header present?
4610 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
4611 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
4612 cat >conftest.
$ac_ext <<_ACEOF
4615 cat confdefs.h
>>conftest.
$ac_ext
4616 cat >>conftest.
$ac_ext <<_ACEOF
4617 /* end confdefs.h. */
4620 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4623 *) ac_try_echo=$ac_try;;
4625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4626 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4628 grep -v '^ *+' conftest.er1 >conftest.err
4630 cat conftest.err >&5
4631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632 (exit $ac_status); } >/dev/null && {
4633 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4634 test ! -s conftest.err
4636 ac_header_preproc=yes
4638 echo "$as_me: failed program was:" >&5
4639 sed 's/^/| /' conftest.$ac_ext >&5
4641 ac_header_preproc=no
4644 rm -f conftest.err conftest.$ac_ext
4645 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4646 echo "${ECHO_T}$ac_header_preproc" >&6; }
4648 # So? What about this header?
4649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4651 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
4652 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4653 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
4654 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
4655 ac_header_preproc=yes
4658 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
4659 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
4660 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
4661 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
4662 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
4663 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
4664 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
4665 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
4666 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
4667 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
4668 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
4669 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
4673 { echo "$as_me:$LINENO: checking for zlib.h" >&5
4674 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
4675 if test "${ac_cv_header_zlib_h+set}" = set; then
4676 echo $ECHO_N "(cached) $ECHO_C" >&6
4678 ac_cv_header_zlib_h=$ac_header_preproc
4680 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
4681 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
4684 if test $ac_cv_header_zlib_h = yes; then
4691 if test "${HDR}" = "no"; then
4692 { { echo "$as_me:$LINENO: error: zlib.h header not found.. please install" >&5
4693 echo "$as_me: error: zlib.h header not found.. please install" >&2;}
4694 { (exit 1); exit 1; }; }
4698 { echo "$as_me:$LINENO: checking for main in -lpng" >&5
4699 echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6; }
4700 if test "${ac_cv_lib_png_main+set}" = set; then
4701 echo $ECHO_N "(cached) $ECHO_C" >&6
4703 ac_check_lib_save_LIBS=$LIBS
4705 cat >conftest.$ac_ext <<_ACEOF
4708 cat confdefs.h >>conftest.$ac_ext
4709 cat >>conftest.$ac_ext <<_ACEOF
4710 /* end confdefs.h. */
4721 rm -f conftest.$ac_objext conftest$ac_exeext
4722 if { (ac_try="$ac_link"
4724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4725 *) ac_try_echo
=$ac_try;;
4727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4728 (eval "$ac_link") 2>conftest.er1
4730 grep -v '^ *+' conftest.er1
>conftest.err
4732 cat conftest.err
>&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); } && {
4735 test -z "$ac_c_werror_flag" ||
4736 test ! -s conftest.err
4737 } && test -s conftest
$ac_exeext &&
4738 $as_test_x conftest
$ac_exeext; then
4739 ac_cv_lib_png_main
=yes
4741 echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.
$ac_ext >&5
4744 ac_cv_lib_png_main
=no
4747 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4748 conftest
$ac_exeext conftest.
$ac_ext
4749 LIBS
=$ac_check_lib_save_LIBS
4751 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5
4752 echo "${ECHO_T}$ac_cv_lib_png_main" >&6; }
4753 if test $ac_cv_lib_png_main = yes; then
4754 LIBPNG
="yes"; LIBS
="-lpng ${LIBS}"
4759 if test "${LIBPNG}" = "no"; then
4760 { { echo "$as_me:$LINENO: error: png library not found.. please install libpng" >&5
4761 echo "$as_me: error: png library not found.. please install libpng" >&2;}
4762 { (exit 1); exit 1; }; }
4766 { echo "$as_me:$LINENO: checking for main in -lgd" >&5
4767 echo $ECHO_N "checking for main in -lgd... $ECHO_C" >&6; }
4768 if test "${ac_cv_lib_gd_main+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4771 ac_check_lib_save_LIBS
=$LIBS
4773 cat >conftest.
$ac_ext <<_ACEOF
4776 cat confdefs.h
>>conftest.
$ac_ext
4777 cat >>conftest.
$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4789 rm -f conftest.
$ac_objext conftest
$ac_exeext
4790 if { (ac_try
="$ac_link"
4792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4793 *) ac_try_echo=$ac_try;;
4795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4796 (eval "$ac_link") 2>conftest.er1
4798 grep -v '^ *+' conftest.er1 >conftest.err
4800 cat conftest.err >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); } && {
4803 test -z "$ac_c_werror_flag" ||
4804 test ! -s conftest.err
4805 } && test -s conftest$ac_exeext &&
4806 $as_test_x conftest$ac_exeext; then
4807 ac_cv_lib_gd_main=yes
4809 echo "$as_me: failed program was:" >&5
4810 sed 's/^/| /' conftest.$ac_ext >&5
4812 ac_cv_lib_gd_main=no
4815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4816 conftest$ac_exeext conftest.$ac_ext
4817 LIBS=$ac_check_lib_save_LIBS
4819 { echo "$as_me:$LINENO: result: $ac_cv_lib_gd_main" >&5
4820 echo "${ECHO_T}$ac_cv_lib_gd_main" >&6; }
4821 if test $ac_cv_lib_gd_main = yes; then
4822 LIBGD="yes"; LIBS="-lgd ${LIBS}"
4825 if test "${LIBGD}" = "yes"; then
4826 { echo "$as_me:$LINENO: checking for gdImagePng in -lgd" >&5
4827 echo $ECHO_N "checking for gdImagePng in -lgd... $ECHO_C" >&6; }
4828 if test "${ac_cv_lib_gd_gdImagePng+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 ac_check_lib_save_LIBS=$LIBS
4833 cat >conftest.$ac_ext <<_ACEOF
4836 cat confdefs.h >>conftest.$ac_ext
4837 cat >>conftest.$ac_ext <<_ACEOF
4838 /* end confdefs.h. */
4840 /* Override any GCC internal prototype to avoid an error.
4841 Use char because int might match the return type of a GCC
4842 builtin and then its argument prototype would still apply. */
4850 return gdImagePng ();
4855 rm -f conftest.$ac_objext conftest$ac_exeext
4856 if { (ac_try="$ac_link"
4858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4859 *) ac_try_echo
=$ac_try;;
4861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4862 (eval "$ac_link") 2>conftest.er1
4864 grep -v '^ *+' conftest.er1
>conftest.err
4866 cat conftest.err
>&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); } && {
4869 test -z "$ac_c_werror_flag" ||
4870 test ! -s conftest.err
4871 } && test -s conftest
$ac_exeext &&
4872 $as_test_x conftest
$ac_exeext; then
4873 ac_cv_lib_gd_gdImagePng
=yes
4875 echo "$as_me: failed program was:" >&5
4876 sed 's/^/| /' conftest.
$ac_ext >&5
4878 ac_cv_lib_gd_gdImagePng
=no
4881 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4882 conftest
$ac_exeext conftest.
$ac_ext
4883 LIBS
=$ac_check_lib_save_LIBS
4885 { echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImagePng" >&5
4886 echo "${ECHO_T}$ac_cv_lib_gd_gdImagePng" >&6; }
4887 if test $ac_cv_lib_gd_gdImagePng = yes; then
4893 if test "${LIBGD}" = "no"; then
4894 { { echo "$as_me:$LINENO: error: Old version of libgd found.. please upgrade!" >&5
4895 echo "$as_me: error: Old version of libgd found.. please upgrade!" >&2;}
4896 { (exit 1); exit 1; }; }
4899 { { echo "$as_me:$LINENO: error: gd library not found.. please install libgd" >&5
4900 echo "$as_me: error: gd library not found.. please install libgd" >&2;}
4901 { (exit 1); exit 1; }; }
4904 if test "${ac_cv_header_gd_h+set}" = set; then
4905 { echo "$as_me:$LINENO: checking for gd.h" >&5
4906 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6; }
4907 if test "${ac_cv_header_gd_h+set}" = set; then
4908 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 { echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
4911 echo "${ECHO_T}$ac_cv_header_gd_h" >&6; }
4913 # Is the header compilable?
4914 { echo "$as_me:$LINENO: checking gd.h usability" >&5
4915 echo $ECHO_N "checking gd.h usability... $ECHO_C" >&6; }
4916 cat >conftest.
$ac_ext <<_ACEOF
4919 cat confdefs.h
>>conftest.
$ac_ext
4920 cat >>conftest.
$ac_ext <<_ACEOF
4921 /* end confdefs.h. */
4922 $ac_includes_default
4925 rm -f conftest.
$ac_objext
4926 if { (ac_try
="$ac_compile"
4928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4929 *) ac_try_echo=$ac_try;;
4931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4932 (eval "$ac_compile") 2>conftest.er1
4934 grep -v '^ *+' conftest.er1 >conftest.err
4936 cat conftest.err >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); } && {
4939 test -z "$ac_c_werror_flag" ||
4940 test ! -s conftest.err
4941 } && test -s conftest.$ac_objext; then
4942 ac_header_compiler=yes
4944 echo "$as_me: failed program was:" >&5
4945 sed 's/^/| /' conftest.$ac_ext >&5
4947 ac_header_compiler=no
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4952 echo "${ECHO_T}$ac_header_compiler" >&6; }
4954 # Is the header present?
4955 { echo "$as_me:$LINENO: checking gd.h presence" >&5
4956 echo $ECHO_N "checking gd.h presence... $ECHO_C" >&6; }
4957 cat >conftest.$ac_ext <<_ACEOF
4960 cat confdefs.h >>conftest.$ac_ext
4961 cat >>conftest.$ac_ext <<_ACEOF
4962 /* end confdefs.h. */
4965 if { (ac_try="$ac_cpp conftest.$ac_ext"
4967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4968 *) ac_try_echo
=$ac_try;;
4970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4971 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4973 grep -v '^ *+' conftest.er1
>conftest.err
4975 cat conftest.err
>&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); } >/dev
/null
&& {
4978 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4979 test ! -s conftest.err
4981 ac_header_preproc
=yes
4983 echo "$as_me: failed program was:" >&5
4984 sed 's/^/| /' conftest.
$ac_ext >&5
4986 ac_header_preproc
=no
4989 rm -f conftest.err conftest.
$ac_ext
4990 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4991 echo "${ECHO_T}$ac_header_preproc" >&6; }
4993 # So? What about this header?
4994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4996 { echo "$as_me:$LINENO: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&5
4997 echo "$as_me: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4998 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the compiler's result" >&5
4999 echo "$as_me: WARNING: gd.h: proceeding with the compiler's result" >&2;}
5000 ac_header_preproc
=yes
5003 { echo "$as_me:$LINENO: WARNING: gd.h: present but cannot be compiled" >&5
5004 echo "$as_me: WARNING: gd.h: present but cannot be compiled" >&2;}
5005 { echo "$as_me:$LINENO: WARNING: gd.h: check for missing prerequisite headers?" >&5
5006 echo "$as_me: WARNING: gd.h: check for missing prerequisite headers?" >&2;}
5007 { echo "$as_me:$LINENO: WARNING: gd.h: see the Autoconf documentation" >&5
5008 echo "$as_me: WARNING: gd.h: see the Autoconf documentation" >&2;}
5009 { echo "$as_me:$LINENO: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&5
5010 echo "$as_me: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&2;}
5011 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the preprocessor's result" >&5
5012 echo "$as_me: WARNING: gd.h: proceeding with the preprocessor's result" >&2;}
5013 { echo "$as_me:$LINENO: WARNING: gd.h: in the future, the compiler will take precedence" >&5
5014 echo "$as_me: WARNING: gd.h: in the future, the compiler will take precedence" >&2;}
5018 { echo "$as_me:$LINENO: checking for gd.h" >&5
5019 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6; }
5020 if test "${ac_cv_header_gd_h+set}" = set; then
5021 echo $ECHO_N "(cached) $ECHO_C" >&6
5023 ac_cv_header_gd_h
=$ac_header_preproc
5025 { echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
5026 echo "${ECHO_T}$ac_cv_header_gd_h" >&6; }
5029 if test $ac_cv_header_gd_h = yes; then
5036 if test "${HDR}" = "no"; then
5037 { { echo "$as_me:$LINENO: error: gd.h header not found.. please install" >&5
5038 echo "$as_me: error: gd.h header not found.. please install" >&2;}
5039 { (exit 1); exit 1; }; }
5043 # Check whether --enable-dns was given.
5044 if test "${enable_dns+set}" = set; then
5045 enableval
=$enable_dns; USE_DNS
="${enableval}"
5051 if test "${USE_DNS}" = "yes"; then
5052 { echo "$as_me:$LINENO: checking for main in -ldb" >&5
5053 echo $ECHO_N "checking for main in -ldb... $ECHO_C" >&6; }
5054 if test "${ac_cv_lib_db_main+set}" = set; then
5055 echo $ECHO_N "(cached) $ECHO_C" >&6
5057 ac_check_lib_save_LIBS
=$LIBS
5059 cat >conftest.
$ac_ext <<_ACEOF
5062 cat confdefs.h
>>conftest.
$ac_ext
5063 cat >>conftest.
$ac_ext <<_ACEOF
5064 /* end confdefs.h. */
5075 rm -f conftest.
$ac_objext conftest
$ac_exeext
5076 if { (ac_try
="$ac_link"
5078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5079 *) ac_try_echo=$ac_try;;
5081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5082 (eval "$ac_link") 2>conftest.er1
5084 grep -v '^ *+' conftest.er1 >conftest.err
5086 cat conftest.err >&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); } && {
5089 test -z "$ac_c_werror_flag" ||
5090 test ! -s conftest.err
5091 } && test -s conftest$ac_exeext &&
5092 $as_test_x conftest$ac_exeext; then
5093 ac_cv_lib_db_main=yes
5095 echo "$as_me: failed program was:" >&5
5096 sed 's/^/| /' conftest.$ac_ext >&5
5098 ac_cv_lib_db_main=no
5101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5102 conftest$ac_exeext conftest.$ac_ext
5103 LIBS=$ac_check_lib_save_LIBS
5105 { echo "$as_me:$LINENO: result: $ac_cv_lib_db_main" >&5
5106 echo "${ECHO_T}$ac_cv_lib_db_main" >&6; }
5107 if test $ac_cv_lib_db_main = yes; then
5110 USE_DNS="no"; { echo "$as_me:$LINENO: WARNING: libdb not found.. DNS/GeoDB code disabled!" >&5
5111 echo "$as_me: WARNING: libdb not found.. DNS/GeoDB code disabled!" >&2;}
5116 if test "${USE_DNS}" = "yes"; then
5117 if test "${ac_cv_header_db_h+set}" = set; then
5118 { echo "$as_me:$LINENO: checking for db.h" >&5
5119 echo $ECHO_N "checking for db.h... $ECHO_C" >&6; }
5120 if test "${ac_cv_header_db_h+set}" = set; then
5121 echo $ECHO_N "(cached) $ECHO_C" >&6
5123 { echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5
5124 echo "${ECHO_T}$ac_cv_header_db_h" >&6; }
5126 # Is the header compilable?
5127 { echo "$as_me:$LINENO: checking db.h usability" >&5
5128 echo $ECHO_N "checking db.h usability... $ECHO_C" >&6; }
5129 cat >conftest.$ac_ext <<_ACEOF
5132 cat confdefs.h >>conftest.$ac_ext
5133 cat >>conftest.$ac_ext <<_ACEOF
5134 /* end confdefs.h. */
5135 $ac_includes_default
5138 rm -f conftest.$ac_objext
5139 if { (ac_try="$ac_compile"
5141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5142 *) ac_try_echo
=$ac_try;;
5144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5145 (eval "$ac_compile") 2>conftest.er1
5147 grep -v '^ *+' conftest.er1
>conftest.err
5149 cat conftest.err
>&5
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); } && {
5152 test -z "$ac_c_werror_flag" ||
5153 test ! -s conftest.err
5154 } && test -s conftest.
$ac_objext; then
5155 ac_header_compiler
=yes
5157 echo "$as_me: failed program was:" >&5
5158 sed 's/^/| /' conftest.
$ac_ext >&5
5160 ac_header_compiler
=no
5163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5164 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5165 echo "${ECHO_T}$ac_header_compiler" >&6; }
5167 # Is the header present?
5168 { echo "$as_me:$LINENO: checking db.h presence" >&5
5169 echo $ECHO_N "checking db.h presence... $ECHO_C" >&6; }
5170 cat >conftest.
$ac_ext <<_ACEOF
5173 cat confdefs.h
>>conftest.
$ac_ext
5174 cat >>conftest.
$ac_ext <<_ACEOF
5175 /* end confdefs.h. */
5178 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5181 *) ac_try_echo=$ac_try;;
5183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5186 grep -v '^ *+' conftest.er1 >conftest.err
5188 cat conftest.err >&5
5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190 (exit $ac_status); } >/dev/null && {
5191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5192 test ! -s conftest.err
5194 ac_header_preproc=yes
5196 echo "$as_me: failed program was:" >&5
5197 sed 's/^/| /' conftest.$ac_ext >&5
5199 ac_header_preproc=no
5202 rm -f conftest.err conftest.$ac_ext
5203 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5204 echo "${ECHO_T}$ac_header_preproc" >&6; }
5206 # So? What about this header?
5207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5209 { echo "$as_me:$LINENO: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!" >&5
5210 echo "$as_me: WARNING: db.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5211 { echo "$as_me:$LINENO: WARNING: db.h: proceeding with the compiler's result" >&5
5212 echo "$as_me: WARNING: db.h: proceeding with the compiler's result" >&2;}
5213 ac_header_preproc=yes
5216 { echo "$as_me:$LINENO: WARNING: db.h: present but cannot be compiled" >&5
5217 echo "$as_me: WARNING: db.h: present but cannot be compiled" >&2;}
5218 { echo "$as_me:$LINENO: WARNING: db.h: check for missing prerequisite headers?" >&5
5219 echo "$as_me: WARNING: db.h: check for missing prerequisite headers?" >&2;}
5220 { echo "$as_me:$LINENO: WARNING: db.h: see the Autoconf documentation" >&5
5221 echo "$as_me: WARNING: db.h: see the Autoconf documentation" >&2;}
5222 { echo "$as_me:$LINENO: WARNING: db.h: section \"Present But Cannot Be Compiled\"" >&5
5223 echo "$as_me: WARNING: db.h: section \"Present But Cannot Be Compiled\"" >&2;}
5224 { echo "$as_me:$LINENO: WARNING: db.h: proceeding with the preprocessor's result" >&5
5225 echo "$as_me: WARNING: db.h: proceeding with the preprocessor's result" >&2;}
5226 { echo "$as_me:$LINENO: WARNING: db.h: in the future, the compiler will take precedence" >&5
5227 echo "$as_me: WARNING: db.h: in the future, the compiler will take precedence" >&2;}
5231 { echo "$as_me:$LINENO: checking for db.h" >&5
5232 echo $ECHO_N "checking for db.h... $ECHO_C" >&6; }
5233 if test "${ac_cv_header_db_h+set}" = set; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 ac_cv_header_db_h=$ac_header_preproc
5238 { echo "$as_me:$LINENO: result: $ac_cv_header_db_h" >&5
5239 echo "${ECHO_T}$ac_cv_header_db_h" >&6; }
5242 if test $ac_cv_header_db_h = yes; then
5245 USE_DNS="no"; { echo "$as_me:$LINENO: WARNING: db.h not found.. DNS/GeoDB code disabled!" >&5
5246 echo "$as_me: WARNING: db.h not found.. DNS/GeoDB code disabled!" >&2;}
5252 if test "${USE_DNS}" = "yes"; then
5253 OPTS="-DUSE_DNS ${OPTS}"
5256 { echo "$as_me:$LINENO: checking for fdatasync" >&5
5257 echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6; }
5258 if test "${ac_cv_func_fdatasync+set}" = set; then
5259 echo $ECHO_N "(cached) $ECHO_C" >&6
5261 cat >conftest.$ac_ext <<_ACEOF
5264 cat confdefs.h >>conftest.$ac_ext
5265 cat >>conftest.$ac_ext <<_ACEOF
5266 /* end confdefs.h. */
5267 /* Define fdatasync to an innocuous variant, in case <limits.h> declares fdatasync.
5268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5269 #define fdatasync innocuous_fdatasync
5271 /* System header to define __stub macros and hopefully few prototypes,
5272 which can conflict with char fdatasync (); below.
5273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5274 <limits.h> exists even on freestanding compilers. */
5277 # include <limits.h>
5279 # include <assert.h>
5284 /* Override any GCC internal prototype to avoid an error.
5285 Use char because int might match the return type of a GCC
5286 builtin and then its argument prototype would still apply. */
5291 /* The GNU C library defines this for functions which it implements
5292 to always fail with ENOSYS. Some functions are actually named
5293 something starting with __ and the normal name is an alias. */
5294 #if defined __stub_fdatasync || defined __stub___fdatasync
5301 return fdatasync ();
5306 rm -f conftest.$ac_objext conftest$ac_exeext
5307 if { (ac_try="$ac_link"
5309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5310 *) ac_try_echo
=$ac_try;;
5312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5313 (eval "$ac_link") 2>conftest.er1
5315 grep -v '^ *+' conftest.er1
>conftest.err
5317 cat conftest.err
>&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); } && {
5320 test -z "$ac_c_werror_flag" ||
5321 test ! -s conftest.err
5322 } && test -s conftest
$ac_exeext &&
5323 $as_test_x conftest
$ac_exeext; then
5324 ac_cv_func_fdatasync
=yes
5326 echo "$as_me: failed program was:" >&5
5327 sed 's/^/| /' conftest.
$ac_ext >&5
5329 ac_cv_func_fdatasync
=no
5332 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5333 conftest
$ac_exeext conftest.
$ac_ext
5335 { echo "$as_me:$LINENO: result: $ac_cv_func_fdatasync" >&5
5336 echo "${ECHO_T}$ac_cv_func_fdatasync" >&6; }
5337 if test $ac_cv_func_fdatasync = yes; then
5341 if test "$ac_cv_func_fdatasync" = "no"; then
5342 { echo "$as_me:$LINENO: checking for fdatasync in -lrt" >&5
5343 echo $ECHO_N "checking for fdatasync in -lrt... $ECHO_C" >&6; }
5344 if test "${ac_cv_lib_rt_fdatasync+set}" = set; then
5345 echo $ECHO_N "(cached) $ECHO_C" >&6
5347 ac_check_lib_save_LIBS
=$LIBS
5349 cat >conftest.
$ac_ext <<_ACEOF
5352 cat confdefs.h
>>conftest.
$ac_ext
5353 cat >>conftest.
$ac_ext <<_ACEOF
5354 /* end confdefs.h. */
5356 /* Override any GCC internal prototype to avoid an error.
5357 Use char because int might match the return type of a GCC
5358 builtin and then its argument prototype would still apply. */
5366 return fdatasync ();
5371 rm -f conftest.
$ac_objext conftest
$ac_exeext
5372 if { (ac_try
="$ac_link"
5374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5375 *) ac_try_echo=$ac_try;;
5377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5378 (eval "$ac_link") 2>conftest.er1
5380 grep -v '^ *+' conftest.er1 >conftest.err
5382 cat conftest.err >&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); } && {
5385 test -z "$ac_c_werror_flag" ||
5386 test ! -s conftest.err
5387 } && test -s conftest$ac_exeext &&
5388 $as_test_x conftest$ac_exeext; then
5389 ac_cv_lib_rt_fdatasync=yes
5391 echo "$as_me: failed program was:" >&5
5392 sed 's/^/| /' conftest.$ac_ext >&5
5394 ac_cv_lib_rt_fdatasync=no
5397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5398 conftest$ac_exeext conftest.$ac_ext
5399 LIBS=$ac_check_lib_save_LIBS
5401 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_fdatasync" >&5
5402 echo "${ECHO_T}$ac_cv_lib_rt_fdatasync" >&6; }
5403 if test $ac_cv_lib_rt_fdatasync = yes; then
5404 LIBS="-lrt ${LIBS}";WCMGR_LIBS="-lrt ${WCMGR_LIBS}"
5408 { echo "$as_me:$LINENO: checking for socket" >&5
5409 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
5410 if test "${ac_cv_func_socket+set}" = set; then
5411 echo $ECHO_N "(cached) $ECHO_C" >&6
5413 cat >conftest.$ac_ext <<_ACEOF
5416 cat confdefs.h >>conftest.$ac_ext
5417 cat >>conftest.$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5419 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
5420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5421 #define socket innocuous_socket
5423 /* System header to define __stub macros and hopefully few prototypes,
5424 which can conflict with char socket (); below.
5425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5426 <limits.h> exists even on freestanding compilers. */
5429 # include <limits.h>
5431 # include <assert.h>
5436 /* Override any GCC internal prototype to avoid an error.
5437 Use char because int might match the return type of a GCC
5438 builtin and then its argument prototype would still apply. */
5443 /* The GNU C library defines this for functions which it implements
5444 to always fail with ENOSYS. Some functions are actually named
5445 something starting with __ and the normal name is an alias. */
5446 #if defined __stub_socket || defined __stub___socket
5458 rm -f conftest.$ac_objext conftest$ac_exeext
5459 if { (ac_try="$ac_link"
5461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5462 *) ac_try_echo
=$ac_try;;
5464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5465 (eval "$ac_link") 2>conftest.er1
5467 grep -v '^ *+' conftest.er1
>conftest.err
5469 cat conftest.err
>&5
5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); } && {
5472 test -z "$ac_c_werror_flag" ||
5473 test ! -s conftest.err
5474 } && test -s conftest
$ac_exeext &&
5475 $as_test_x conftest
$ac_exeext; then
5476 ac_cv_func_socket
=yes
5478 echo "$as_me: failed program was:" >&5
5479 sed 's/^/| /' conftest.
$ac_ext >&5
5481 ac_cv_func_socket
=no
5484 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5485 conftest
$ac_exeext conftest.
$ac_ext
5487 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
5488 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
5489 if test $ac_cv_func_socket = yes; then
5495 if test "$ac_cv_func_socket" = "no"; then
5496 { echo "$as_me:$LINENO: checking for main in -lsocket" >&5
5497 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6; }
5498 if test "${ac_cv_lib_socket_main+set}" = set; then
5499 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 ac_check_lib_save_LIBS
=$LIBS
5502 LIBS
="-lsocket $LIBS"
5503 cat >conftest.
$ac_ext <<_ACEOF
5506 cat confdefs.h
>>conftest.
$ac_ext
5507 cat >>conftest.
$ac_ext <<_ACEOF
5508 /* end confdefs.h. */
5519 rm -f conftest.
$ac_objext conftest
$ac_exeext
5520 if { (ac_try
="$ac_link"
5522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5523 *) ac_try_echo=$ac_try;;
5525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5526 (eval "$ac_link") 2>conftest.er1
5528 grep -v '^ *+' conftest.er1 >conftest.err
5530 cat conftest.err >&5
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532 (exit $ac_status); } && {
5533 test -z "$ac_c_werror_flag" ||
5534 test ! -s conftest.err
5535 } && test -s conftest$ac_exeext &&
5536 $as_test_x conftest$ac_exeext; then
5537 ac_cv_lib_socket_main=yes
5539 echo "$as_me: failed program was:" >&5
5540 sed 's/^/| /' conftest.$ac_ext >&5
5542 ac_cv_lib_socket_main=no
5545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5546 conftest$ac_exeext conftest.$ac_ext
5547 LIBS=$ac_check_lib_save_LIBS
5549 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
5550 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6; }
5551 if test $ac_cv_lib_socket_main = yes; then
5552 LIBS="-lsocket ${LIBS}"
5557 for ac_header in sys/socket.h
5559 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5564 echo $ECHO_N "(cached) $ECHO_C" >&6
5566 ac_res=`eval echo '${'$as_ac_Header'}'`
5567 { echo "$as_me:$LINENO: result: $ac_res" >&5
5568 echo "${ECHO_T}$ac_res" >&6; }
5570 # Is the header compilable?
5571 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5573 cat >conftest.$ac_ext <<_ACEOF
5576 cat confdefs.h >>conftest.$ac_ext
5577 cat >>conftest.$ac_ext <<_ACEOF
5578 /* end confdefs.h. */
5579 $ac_includes_default
5580 #include <$ac_header>
5582 rm -f conftest.$ac_objext
5583 if { (ac_try="$ac_compile"
5585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5586 *) ac_try_echo
=$ac_try;;
5588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5589 (eval "$ac_compile") 2>conftest.er1
5591 grep -v '^ *+' conftest.er1
>conftest.err
5593 cat conftest.err
>&5
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); } && {
5596 test -z "$ac_c_werror_flag" ||
5597 test ! -s conftest.err
5598 } && test -s conftest.
$ac_objext; then
5599 ac_header_compiler
=yes
5601 echo "$as_me: failed program was:" >&5
5602 sed 's/^/| /' conftest.
$ac_ext >&5
5604 ac_header_compiler
=no
5607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5608 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5609 echo "${ECHO_T}$ac_header_compiler" >&6; }
5611 # Is the header present?
5612 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5614 cat >conftest.
$ac_ext <<_ACEOF
5617 cat confdefs.h
>>conftest.
$ac_ext
5618 cat >>conftest.
$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5620 #include <$ac_header>
5622 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5625 *) ac_try_echo=$ac_try;;
5627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5628 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5630 grep -v '^ *+' conftest.er1 >conftest.err
5632 cat conftest.err >&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } >/dev/null && {
5635 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5636 test ! -s conftest.err
5638 ac_header_preproc=yes
5640 echo "$as_me: failed program was:" >&5
5641 sed 's/^/| /' conftest.$ac_ext >&5
5643 ac_header_preproc=no
5646 rm -f conftest.err conftest.$ac_ext
5647 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5648 echo "${ECHO_T}$ac_header_preproc" >&6; }
5650 # So? What about this header?
5651 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5653 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5654 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5655 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5656 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5657 ac_header_preproc=yes
5660 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5661 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5662 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5663 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5664 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5665 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5666 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5667 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5668 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5669 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5670 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5671 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5675 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5677 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5678 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 eval "$as_ac_Header=\$ac_header_preproc"
5682 ac_res=`eval echo '${'$as_ac_Header'}'`
5683 { echo "$as_me:$LINENO: result: $ac_res" >&5
5684 echo "${ECHO_T}$ac_res" >&6; }
5687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5688 cat >>confdefs.h <<_ACEOF
5689 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5696 { echo "$as_me:$LINENO: checking for inet_pton" >&5
5697 echo $ECHO_N "checking for inet_pton... $ECHO_C" >&6; }
5698 if test "${ac_cv_func_inet_pton+set}" = set; then
5699 echo $ECHO_N "(cached) $ECHO_C" >&6
5701 cat >conftest.$ac_ext <<_ACEOF
5704 cat confdefs.h >>conftest.$ac_ext
5705 cat >>conftest.$ac_ext <<_ACEOF
5706 /* end confdefs.h. */
5707 /* Define inet_pton to an innocuous variant, in case <limits.h> declares inet_pton.
5708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5709 #define inet_pton innocuous_inet_pton
5711 /* System header to define __stub macros and hopefully few prototypes,
5712 which can conflict with char inet_pton (); below.
5713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5714 <limits.h> exists even on freestanding compilers. */
5717 # include <limits.h>
5719 # include <assert.h>
5724 /* Override any GCC internal prototype to avoid an error.
5725 Use char because int might match the return type of a GCC
5726 builtin and then its argument prototype would still apply. */
5731 /* The GNU C library defines this for functions which it implements
5732 to always fail with ENOSYS. Some functions are actually named
5733 something starting with __ and the normal name is an alias. */
5734 #if defined __stub_inet_pton || defined __stub___inet_pton
5741 return inet_pton ();
5746 rm -f conftest.$ac_objext conftest$ac_exeext
5747 if { (ac_try="$ac_link"
5749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5750 *) ac_try_echo
=$ac_try;;
5752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5753 (eval "$ac_link") 2>conftest.er1
5755 grep -v '^ *+' conftest.er1
>conftest.err
5757 cat conftest.err
>&5
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); } && {
5760 test -z "$ac_c_werror_flag" ||
5761 test ! -s conftest.err
5762 } && test -s conftest
$ac_exeext &&
5763 $as_test_x conftest
$ac_exeext; then
5764 ac_cv_func_inet_pton
=yes
5766 echo "$as_me: failed program was:" >&5
5767 sed 's/^/| /' conftest.
$ac_ext >&5
5769 ac_cv_func_inet_pton
=no
5772 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5773 conftest
$ac_exeext conftest.
$ac_ext
5775 { echo "$as_me:$LINENO: result: $ac_cv_func_inet_pton" >&5
5776 echo "${ECHO_T}$ac_cv_func_inet_pton" >&6; }
5777 if test $ac_cv_func_inet_pton = yes; then
5783 if test "$ac_cv_func_inet_pton" = "no"; then
5784 { echo "$as_me:$LINENO: checking for inet_pton in -lnsl" >&5
5785 echo $ECHO_N "checking for inet_pton in -lnsl... $ECHO_C" >&6; }
5786 if test "${ac_cv_lib_nsl_inet_pton+set}" = set; then
5787 echo $ECHO_N "(cached) $ECHO_C" >&6
5789 ac_check_lib_save_LIBS
=$LIBS
5791 cat >conftest.
$ac_ext <<_ACEOF
5794 cat confdefs.h
>>conftest.
$ac_ext
5795 cat >>conftest.
$ac_ext <<_ACEOF
5796 /* end confdefs.h. */
5798 /* Override any GCC internal prototype to avoid an error.
5799 Use char because int might match the return type of a GCC
5800 builtin and then its argument prototype would still apply. */
5808 return inet_pton ();
5813 rm -f conftest.
$ac_objext conftest
$ac_exeext
5814 if { (ac_try
="$ac_link"
5816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5817 *) ac_try_echo=$ac_try;;
5819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5820 (eval "$ac_link") 2>conftest.er1
5822 grep -v '^ *+' conftest.er1 >conftest.err
5824 cat conftest.err >&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); } && {
5827 test -z "$ac_c_werror_flag" ||
5828 test ! -s conftest.err
5829 } && test -s conftest$ac_exeext &&
5830 $as_test_x conftest$ac_exeext; then
5831 ac_cv_lib_nsl_inet_pton=yes
5833 echo "$as_me: failed program was:" >&5
5834 sed 's/^/| /' conftest.$ac_ext >&5
5836 ac_cv_lib_nsl_inet_pton=no
5839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5840 conftest$ac_exeext conftest.$ac_ext
5841 LIBS=$ac_check_lib_save_LIBS
5843 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_pton" >&5
5844 echo "${ECHO_T}$ac_cv_lib_nsl_inet_pton" >&6; }
5845 if test $ac_cv_lib_nsl_inet_pton = yes; then
5846 LIBS="-lnsl ${LIBS}"
5853 # Check whether --enable-bz2 was given.
5854 if test "${enable_bz2+set}" = set; then
5855 enableval=$enable_bz2; USE_BZIP="${enableval}"
5862 # Check whether --with-bz2 was given.
5863 if test "${with_bz2+set}" = set; then
5864 withval=$with_bz2; S_BZ2="${withval}"; CPPFLAGS="${CPPFLAGS} -I${withval}"
5868 # Check whether --with-bz2lib was given.
5869 if test "${with_bz2lib+set}" = set; then
5870 withval=$with_bz2lib; S_BZ2LIB="${withval}"; LDFLAGS="-L${withval} ${LDFLAGS}"
5874 if test "${USE_BZIP}" = "yes"; then
5875 { echo "$as_me:$LINENO: checking for main in -lbz2" >&5
5876 echo $ECHO_N "checking for main in -lbz2... $ECHO_C" >&6; }
5877 if test "${ac_cv_lib_bz2_main+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6
5880 ac_check_lib_save_LIBS=$LIBS
5882 cat >conftest.$ac_ext <<_ACEOF
5885 cat confdefs.h >>conftest.$ac_ext
5886 cat >>conftest.$ac_ext <<_ACEOF
5887 /* end confdefs.h. */
5898 rm -f conftest.$ac_objext conftest$ac_exeext
5899 if { (ac_try="$ac_link"
5901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5902 *) ac_try_echo
=$ac_try;;
5904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5905 (eval "$ac_link") 2>conftest.er1
5907 grep -v '^ *+' conftest.er1
>conftest.err
5909 cat conftest.err
>&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); } && {
5912 test -z "$ac_c_werror_flag" ||
5913 test ! -s conftest.err
5914 } && test -s conftest
$ac_exeext &&
5915 $as_test_x conftest
$ac_exeext; then
5916 ac_cv_lib_bz2_main
=yes
5918 echo "$as_me: failed program was:" >&5
5919 sed 's/^/| /' conftest.
$ac_ext >&5
5921 ac_cv_lib_bz2_main
=no
5924 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5925 conftest
$ac_exeext conftest.
$ac_ext
5926 LIBS
=$ac_check_lib_save_LIBS
5928 { echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_main" >&5
5929 echo "${ECHO_T}$ac_cv_lib_bz2_main" >&6; }
5930 if test $ac_cv_lib_bz2_main = yes; then
5933 USE_BZIP
="no"; { echo "$as_me:$LINENO: WARNING: libbz2 not found.. bzip2 code will will be disabled!" >&5
5934 echo "$as_me: WARNING: libbz2 not found.. bzip2 code will will be disabled!" >&2;}
5939 if test "${USE_BZIP}" = "yes"; then
5940 { echo "$as_me:$LINENO: checking for BZ2_bzopen in -lbz2" >&5
5941 echo $ECHO_N "checking for BZ2_bzopen in -lbz2... $ECHO_C" >&6; }
5942 if test "${ac_cv_lib_bz2_BZ2_bzopen+set}" = set; then
5943 echo $ECHO_N "(cached) $ECHO_C" >&6
5945 ac_check_lib_save_LIBS
=$LIBS
5947 cat >conftest.
$ac_ext <<_ACEOF
5950 cat confdefs.h
>>conftest.
$ac_ext
5951 cat >>conftest.
$ac_ext <<_ACEOF
5952 /* end confdefs.h. */
5954 /* Override any GCC internal prototype to avoid an error.
5955 Use char because int might match the return type of a GCC
5956 builtin and then its argument prototype would still apply. */
5964 return BZ2_bzopen ();
5969 rm -f conftest.
$ac_objext conftest
$ac_exeext
5970 if { (ac_try
="$ac_link"
5972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5973 *) ac_try_echo=$ac_try;;
5975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5976 (eval "$ac_link") 2>conftest.er1
5978 grep -v '^ *+' conftest.er1 >conftest.err
5980 cat conftest.err >&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); } && {
5983 test -z "$ac_c_werror_flag" ||
5984 test ! -s conftest.err
5985 } && test -s conftest$ac_exeext &&
5986 $as_test_x conftest$ac_exeext; then
5987 ac_cv_lib_bz2_BZ2_bzopen=yes
5989 echo "$as_me: failed program was:" >&5
5990 sed 's/^/| /' conftest.$ac_ext >&5
5992 ac_cv_lib_bz2_BZ2_bzopen=no
5995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5996 conftest$ac_exeext conftest.$ac_ext
5997 LIBS=$ac_check_lib_save_LIBS
5999 { echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
6000 echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
6001 if test $ac_cv_lib_bz2_BZ2_bzopen = yes; then
6004 USE_BZIP="no"; { echo "$as_me:$LINENO: WARNING: Old bz2 library found.. bzip2 code will be disabled!" >&5
6005 echo "$as_me: WARNING: Old bz2 library found.. bzip2 code will be disabled!" >&2;}
6010 if test "${USE_BZIP}" = "yes"; then
6011 if test "${ac_cv_header_bzlib_h+set}" = set; then
6012 { echo "$as_me:$LINENO: checking for bzlib.h" >&5
6013 echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6; }
6014 if test "${ac_cv_header_bzlib_h+set}" = set; then
6015 echo $ECHO_N "(cached) $ECHO_C" >&6
6017 { echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5
6018 echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6; }
6020 # Is the header compilable?
6021 { echo "$as_me:$LINENO: checking bzlib.h usability" >&5
6022 echo $ECHO_N "checking bzlib.h usability... $ECHO_C" >&6; }
6023 cat >conftest.$ac_ext <<_ACEOF
6026 cat confdefs.h >>conftest.$ac_ext
6027 cat >>conftest.$ac_ext <<_ACEOF
6028 /* end confdefs.h. */
6029 $ac_includes_default
6032 rm -f conftest.$ac_objext
6033 if { (ac_try="$ac_compile"
6035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6036 *) ac_try_echo
=$ac_try;;
6038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6039 (eval "$ac_compile") 2>conftest.er1
6041 grep -v '^ *+' conftest.er1
>conftest.err
6043 cat conftest.err
>&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); } && {
6046 test -z "$ac_c_werror_flag" ||
6047 test ! -s conftest.err
6048 } && test -s conftest.
$ac_objext; then
6049 ac_header_compiler
=yes
6051 echo "$as_me: failed program was:" >&5
6052 sed 's/^/| /' conftest.
$ac_ext >&5
6054 ac_header_compiler
=no
6057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6058 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6059 echo "${ECHO_T}$ac_header_compiler" >&6; }
6061 # Is the header present?
6062 { echo "$as_me:$LINENO: checking bzlib.h presence" >&5
6063 echo $ECHO_N "checking bzlib.h presence... $ECHO_C" >&6; }
6064 cat >conftest.
$ac_ext <<_ACEOF
6067 cat confdefs.h
>>conftest.
$ac_ext
6068 cat >>conftest.
$ac_ext <<_ACEOF
6069 /* end confdefs.h. */
6072 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6075 *) ac_try_echo=$ac_try;;
6077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6078 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6080 grep -v '^ *+' conftest.er1 >conftest.err
6082 cat conftest.err >&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); } >/dev/null && {
6085 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6086 test ! -s conftest.err
6088 ac_header_preproc=yes
6090 echo "$as_me: failed program was:" >&5
6091 sed 's/^/| /' conftest.$ac_ext >&5
6093 ac_header_preproc=no
6096 rm -f conftest.err conftest.$ac_ext
6097 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6098 echo "${ECHO_T}$ac_header_preproc" >&6; }
6100 # So? What about this header?
6101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6103 { echo "$as_me:$LINENO: WARNING: bzlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
6104 echo "$as_me: WARNING: bzlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6105 { echo "$as_me:$LINENO: WARNING: bzlib.h: proceeding with the compiler's result" >&5
6106 echo "$as_me: WARNING: bzlib.h: proceeding with the compiler's result" >&2;}
6107 ac_header_preproc=yes
6110 { echo "$as_me:$LINENO: WARNING: bzlib.h: present but cannot be compiled" >&5
6111 echo "$as_me: WARNING: bzlib.h: present but cannot be compiled" >&2;}
6112 { echo "$as_me:$LINENO: WARNING: bzlib.h: check for missing prerequisite headers?" >&5
6113 echo "$as_me: WARNING: bzlib.h: check for missing prerequisite headers?" >&2;}
6114 { echo "$as_me:$LINENO: WARNING: bzlib.h: see the Autoconf documentation" >&5
6115 echo "$as_me: WARNING: bzlib.h: see the Autoconf documentation" >&2;}
6116 { echo "$as_me:$LINENO: WARNING: bzlib.h: section \"Present But Cannot Be Compiled\"" >&5
6117 echo "$as_me: WARNING: bzlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
6118 { echo "$as_me:$LINENO: WARNING: bzlib.h: proceeding with the preprocessor's result" >&5
6119 echo "$as_me: WARNING: bzlib.h: proceeding with the preprocessor's result" >&2;}
6120 { echo "$as_me:$LINENO: WARNING: bzlib.h: in the future, the compiler will take precedence" >&5
6121 echo "$as_me: WARNING: bzlib.h: in the future, the compiler will take precedence" >&2;}
6125 { echo "$as_me:$LINENO: checking for bzlib.h" >&5
6126 echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6; }
6127 if test "${ac_cv_header_bzlib_h+set}" = set; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 ac_cv_header_bzlib_h=$ac_header_preproc
6132 { echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5
6133 echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6; }
6136 if test $ac_cv_header_bzlib_h = yes; then
6139 USE_BZIP="no"; { echo "$as_me:$LINENO: WARNING: bzlib.h not found.. bzip2 code will be disabled!" >&5
6140 echo "$as_me: WARNING: bzlib.h not found.. bzip2 code will be disabled!" >&2;}
6146 if test "${USE_BZIP}" = "yes"; then
6147 OPTS="-DUSE_BZIP ${OPTS}"
6148 LIBS="-lbz2 ${LIBS}"
6152 # Check whether --enable-geoip was given.
6153 if test "${enable_geoip+set}" = set; then
6154 enableval=$enable_geoip; USE_GEOIP="${enableval}"
6161 # Check whether --with-geoip was given.
6162 if test "${with_geoip+set}" = set; then
6163 withval=$with_geoip; S_GEOIP="${withval}"; CPPFLAGS="${CPPFLAGS} -I${withval}"
6167 # Check whether --with-geoiplib was given.
6168 if test "${with_geoiplib+set}" = set; then
6169 withval=$with_geoiplib; S_GEOIPLIB="${withval}"; LDFLAGS="-L${withval} ${LDFLAGS}"
6173 if test "${USE_GEOIP}" = "yes"; then
6174 { echo "$as_me:$LINENO: checking for main in -lGeoIP" >&5
6175 echo $ECHO_N "checking for main in -lGeoIP... $ECHO_C" >&6; }
6176 if test "${ac_cv_lib_GeoIP_main+set}" = set; then
6177 echo $ECHO_N "(cached) $ECHO_C" >&6
6179 ac_check_lib_save_LIBS=$LIBS
6180 LIBS="-lGeoIP $LIBS"
6181 cat >conftest.$ac_ext <<_ACEOF
6184 cat confdefs.h >>conftest.$ac_ext
6185 cat >>conftest.$ac_ext <<_ACEOF
6186 /* end confdefs.h. */
6197 rm -f conftest.$ac_objext conftest$ac_exeext
6198 if { (ac_try="$ac_link"
6200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6201 *) ac_try_echo
=$ac_try;;
6203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6204 (eval "$ac_link") 2>conftest.er1
6206 grep -v '^ *+' conftest.er1
>conftest.err
6208 cat conftest.err
>&5
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); } && {
6211 test -z "$ac_c_werror_flag" ||
6212 test ! -s conftest.err
6213 } && test -s conftest
$ac_exeext &&
6214 $as_test_x conftest
$ac_exeext; then
6215 ac_cv_lib_GeoIP_main
=yes
6217 echo "$as_me: failed program was:" >&5
6218 sed 's/^/| /' conftest.
$ac_ext >&5
6220 ac_cv_lib_GeoIP_main
=no
6223 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6224 conftest
$ac_exeext conftest.
$ac_ext
6225 LIBS
=$ac_check_lib_save_LIBS
6227 { echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_main" >&5
6228 echo "${ECHO_T}$ac_cv_lib_GeoIP_main" >&6; }
6229 if test $ac_cv_lib_GeoIP_main = yes; then
6232 USE_GEOIP
="no"; { echo "$as_me:$LINENO: WARNING: libGeoIP not found.. GeoIP code will be disabled!" >&5
6233 echo "$as_me: WARNING: libGeoIP not found.. GeoIP code will be disabled!" >&2;}
6238 if test "${USE_GEOIP}" = "yes"; then
6239 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6240 { echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6241 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6; }
6242 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 { echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
6246 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6; }
6248 # Is the header compilable?
6249 { echo "$as_me:$LINENO: checking GeoIP.h usability" >&5
6250 echo $ECHO_N "checking GeoIP.h usability... $ECHO_C" >&6; }
6251 cat >conftest.
$ac_ext <<_ACEOF
6254 cat confdefs.h
>>conftest.
$ac_ext
6255 cat >>conftest.
$ac_ext <<_ACEOF
6256 /* end confdefs.h. */
6257 $ac_includes_default
6260 rm -f conftest.
$ac_objext
6261 if { (ac_try
="$ac_compile"
6263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6264 *) ac_try_echo=$ac_try;;
6266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6267 (eval "$ac_compile") 2>conftest.er1
6269 grep -v '^ *+' conftest.er1 >conftest.err
6271 cat conftest.err >&5
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); } && {
6274 test -z "$ac_c_werror_flag" ||
6275 test ! -s conftest.err
6276 } && test -s conftest.$ac_objext; then
6277 ac_header_compiler=yes
6279 echo "$as_me: failed program was:" >&5
6280 sed 's/^/| /' conftest.$ac_ext >&5
6282 ac_header_compiler=no
6285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6286 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6287 echo "${ECHO_T}$ac_header_compiler" >&6; }
6289 # Is the header present?
6290 { echo "$as_me:$LINENO: checking GeoIP.h presence" >&5
6291 echo $ECHO_N "checking GeoIP.h presence... $ECHO_C" >&6; }
6292 cat >conftest.$ac_ext <<_ACEOF
6295 cat confdefs.h >>conftest.$ac_ext
6296 cat >>conftest.$ac_ext <<_ACEOF
6297 /* end confdefs.h. */
6300 if { (ac_try="$ac_cpp conftest.$ac_ext"
6302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6303 *) ac_try_echo
=$ac_try;;
6305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6308 grep -v '^ *+' conftest.er1
>conftest.err
6310 cat conftest.err
>&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } >/dev
/null
&& {
6313 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6314 test ! -s conftest.err
6316 ac_header_preproc
=yes
6318 echo "$as_me: failed program was:" >&5
6319 sed 's/^/| /' conftest.
$ac_ext >&5
6321 ac_header_preproc
=no
6324 rm -f conftest.err conftest.
$ac_ext
6325 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6326 echo "${ECHO_T}$ac_header_preproc" >&6; }
6328 # So? What about this header?
6329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6331 { echo "$as_me:$LINENO: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&5
6332 echo "$as_me: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6333 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the compiler's result" >&5
6334 echo "$as_me: WARNING: GeoIP.h: proceeding with the compiler's result" >&2;}
6335 ac_header_preproc
=yes
6338 { echo "$as_me:$LINENO: WARNING: GeoIP.h: present but cannot be compiled" >&5
6339 echo "$as_me: WARNING: GeoIP.h: present but cannot be compiled" >&2;}
6340 { echo "$as_me:$LINENO: WARNING: GeoIP.h: check for missing prerequisite headers?" >&5
6341 echo "$as_me: WARNING: GeoIP.h: check for missing prerequisite headers?" >&2;}
6342 { echo "$as_me:$LINENO: WARNING: GeoIP.h: see the Autoconf documentation" >&5
6343 echo "$as_me: WARNING: GeoIP.h: see the Autoconf documentation" >&2;}
6344 { echo "$as_me:$LINENO: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&5
6345 echo "$as_me: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&2;}
6346 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&5
6347 echo "$as_me: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&2;}
6348 { echo "$as_me:$LINENO: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&5
6349 echo "$as_me: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&2;}
6353 { echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6354 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6; }
6355 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6356 echo $ECHO_N "(cached) $ECHO_C" >&6
6358 ac_cv_header_GeoIP_h
=$ac_header_preproc
6360 { echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
6361 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6; }
6364 if test $ac_cv_header_GeoIP_h = yes; then
6367 USE_GEOIP
="no"; { echo "$as_me:$LINENO: WARNING: GeoIP.h not found.. GeoIP code will be disabled!" >&5
6368 echo "$as_me: WARNING: GeoIP.h not found.. GeoIP code will be disabled!" >&2;}
6374 if test "${USE_GEOIP}" = "yes"; then
6375 OPTS
="-DUSE_GEOIP ${OPTS}"
6376 LIBS
="-lGeoIP ${LIBS}"
6381 # Check whether --with-geodb was given.
6382 if test "${with_geodb+set}" = set; then
6383 withval
=$with_geodb; GEODB_LOC
="${withval}"
6385 GEODB_LOC
="/usr/share/GeoDB"
6390 # Check whether --enable-oldhash was given.
6391 if test "${enable_oldhash+set}" = set; then
6392 enableval
=$enable_oldhash; OLDHASH
=${enableval}
6397 if test "$OLDHASH" = "yes"; then OPTS
="-DUSE_OLDHASH"; fi
6402 # Check whether --with-language was given.
6403 if test "${with_language+set}" = set; then
6404 withval
=$with_language; WEBALIZER_LANG
="${withval}"; LANG_CACHE
=no
6409 if test "$WEBALIZER_LANG" = "no"; then WEBALIZER_LANG
=english
; fi
6412 { echo "$as_me:$LINENO: checking for language file" >&5
6413 echo $ECHO_N "checking for language file... $ECHO_C" >&6; }
6414 if test "$LANG_CACHE" = "yes"; then
6415 if test "${ac_cv_language+set}" = set; then
6416 echo $ECHO_N "(cached) $ECHO_C" >&6
6418 ac_cv_language
=$DEFAULT_LANG
6421 WEBALIZER_LANG
=$ac_cv_language
6424 if test -f lang
/webalizer_lang.
${WEBALIZER_LANG}; then
6425 { echo "$as_me:$LINENO: result: yes - ${WEBALIZER_LANG}" >&5
6426 echo "${ECHO_T}yes - ${WEBALIZER_LANG}" >&6; }
6428 if test -f lang/webalizer_lang.${DEFAULT_LANG}; then
6429 { echo "$as_me:$LINENO: result
: '${WEBALIZER_LANG}' not found
- using
${DEFAULT_LANG}" >&5
6430 echo "${ECHO_T}'${WEBALIZER_LANG}' not found - using ${DEFAULT_LANG}" >&6; }
6431 WEBALIZER_LANG
=${DEFAULT_LANG}
6433 { echo "$as_me:$LINENO: result: no" >&5
6434 echo "${ECHO_T}no" >&6; }
6435 { { echo "$as_me:$LINENO: error: language files not found... fix before continuing" >&5
6436 echo "$as_me: error: language files not found... fix before continuing" >&2;}
6437 { (exit 1); exit 1; }; }
6440 ac_cv_language
=${WEBALIZER_LANG}
6443 ac_sources
="lang/webalizer_lang.${WEBALIZER_LANG}"
6444 ac_dests
="webalizer_lang.h"
6445 while test -n "$ac_sources"; do
6446 set $ac_dests; ac_dest
=$1; shift; ac_dests
=$
*
6447 set $ac_sources; ac_source
=$1; shift; ac_sources
=$
*
6448 ac_config_links_1
="$ac_config_links_1 $ac_dest:$ac_source"
6450 ac_config_links
="$ac_config_links $ac_config_links_1"
6454 ac_config_files
="$ac_config_files Makefile"
6456 cat >confcache
<<\_ACEOF
6457 # This file is a shell script that caches the results of configure
6458 # tests run on this system so they can be shared between configure
6459 # scripts and configure runs, see configure's option --config-cache.
6460 # It is not useful on other systems. If it contains results you don't
6461 # want to keep, you may remove or edit it.
6463 # config.status only pays attention to the cache file if you give it
6464 # the --recheck option to rerun configure.
6466 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6467 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6472 # The following way of writing the cache mishandles newlines in values,
6473 # but we know of no workaround that is simple, portable, and efficient.
6474 # So, we kill variables containing newlines.
6475 # Ultrix sh set writes to stderr and can't be redirected directly,
6476 # and sets the high bit in the cache file unless we assign to the vars.
6478 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6479 eval ac_val
=\$
$ac_var
6483 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6484 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6487 _ | IFS | as_nl
) ;; #(
6488 *) $as_unset $ac_var ;;
6494 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6495 *${as_nl}ac_space
=\
*)
6496 # `set' does not quote correctly, so add quotes (double-quote
6497 # substitution turns \\\\ into \\, and sed turns \\ into \).
6500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6503 # `set' quotes correctly as required by POSIX, so do not add quotes.
6504 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6513 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6515 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6517 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6518 if test -w "$cache_file"; then
6519 test "x$cache_file" != "x/dev/null" &&
6520 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6521 echo "$as_me: updating cache $cache_file" >&6;}
6522 cat confcache
>$cache_file
6524 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6525 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6530 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6531 # Let make expand exec_prefix.
6532 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6534 # Transform confdefs.h into DEFS.
6535 # Protect against shell expansion while executing Makefile rules.
6536 # Protect against Makefile macro expansion.
6538 # If the first sed substitution is executed (which looks for macros that
6539 # take arguments), then branch to the quote section. Otherwise,
6540 # look for a macro that doesn't take arguments.
6544 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6546 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6550 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6563 DEFS
=`sed -n "$ac_script" confdefs.h`
6568 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6569 # 1. Remove the extension, and $U if already installed.
6570 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6571 ac_i
=`echo "$ac_i" | sed "$ac_script"`
6572 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6573 # will be set to the directory where LIBOBJS objects are built.
6574 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6575 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6579 LTLIBOBJS
=$ac_ltlibobjs
6583 : ${CONFIG_STATUS=./config.status}
6584 ac_clean_files_save
=$ac_clean_files
6585 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6586 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6587 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6588 cat >$CONFIG_STATUS <<_ACEOF
6590 # Generated by $as_me.
6591 # Run this file to recreate the current configuration.
6592 # Compiler output produced by configure, useful for debugging
6593 # configure, is in config.log if it exists.
6598 SHELL=\${CONFIG_SHELL-$SHELL}
6601 cat >>$CONFIG_STATUS <<\_ACEOF
6602 ## --------------------- ##
6603 ## M4sh Initialization. ##
6604 ## --------------------- ##
6606 # Be more Bourne compatible
6607 DUALCASE
=1; export DUALCASE
# for MKS sh
6608 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6611 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6612 # is contrary to our usage. Disable this feature.
6613 alias -g '${1+"$@"}'='"$@"'
6614 setopt NO_GLOB_SUBST
6616 case `(set -o) 2>/dev/null` in
6617 *posix
*) set -o posix
;;
6626 # Avoid depending upon Character Ranges.
6627 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6628 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6629 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6630 as_cr_digits
='0123456789'
6631 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6633 # The user is always right.
6634 if test "${PATH_SEPARATOR+set}" != set; then
6635 echo "#! /bin/sh" >conf$$.sh
6636 echo "exit 0" >>conf$$.sh
6638 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6646 # Support unset when possible.
6647 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6655 # We need space, tab and new line, in precisely that order. Quoting is
6656 # there to prevent editors from complaining about space-tab.
6657 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6658 # splitting by setting IFS to empty value.)
6663 # Find who we are. Look in the path if we contain no directory separator.
6665 *[\\/]* ) as_myself
=$0 ;;
6666 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir
=.
6671 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6677 # We did not find ourselves, most probably we were run as `sh COMMAND'
6678 # in which case we are not to be found in the path.
6679 if test "x$as_myself" = x
; then
6682 if test ! -f "$as_myself"; then
6683 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6684 { (exit 1); exit 1; }
6687 # Work around bugs in pre-3.0 UWIN ksh.
6688 for as_var
in ENV MAIL MAILPATH
6689 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6697 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6698 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6699 LC_TELEPHONE LC_TIME
6701 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6702 eval $as_var=C
; export $as_var
6704 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6708 # Required to use basename.
6709 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6710 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6716 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6717 as_basename
=basename
6723 # Name of the executable.
6724 as_me
=`$as_basename -- "$0" ||
6725 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6726 X"$0" : 'X\(//\)$' \| \
6727 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6729 sed '/^.*\/\([^/][^/]*\)\/*$/{
6750 test "x$as_lineno_1" != "x$as_lineno_2" &&
6751 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
6753 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6754 # uniformly replaced by the line number. The first 'sed' inserts a
6755 # line-number line after each line using $LINENO; the second 'sed'
6756 # does the real work. The second script uses 'N' to pair each
6757 # line-number line with the line containing $LINENO, and appends
6758 # trailing '-' during substitution so that $LINENO is not a special
6760 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6761 # scripts with optimization help from Paolo Bonzini. Blame Lee
6762 # E. McMahon (1931-1989) for sed's syntax. :-)
6774 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6778 chmod +x
"$as_me.lineno" ||
6779 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6780 { (exit 1); exit 1; }; }
6782 # Don't try to exec as it changes $[0], causing all sort of problems
6783 # (the dirname of $[0] is not the place where we might find the
6784 # original and so on. Autoconf is especially sensitive to this).
6786 # Exit status is that of the last command.
6791 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6797 ECHO_C
= ECHO_N
= ECHO_T
=
6800 case `echo 'x\c'` in
6801 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6808 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6809 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6815 rm -f conf$$ conf$$.exe conf$$.
file
6816 if test -d conf$$.dir
; then
6817 rm -f conf$$.dir
/conf$$.
file
6823 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6825 # ... but there are two gotchas:
6826 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6827 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6828 # In both cases, we have to default to `cp -p'.
6829 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6831 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6836 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6837 rmdir conf$$.dir
2>/dev
/null
6839 if mkdir
-p .
2>/dev
/null
; then
6842 test -d .
/-p && rmdir .
/-p
6846 if test -x / >/dev
/null
2>&1; then
6849 if ls -dL / >/dev
/null
2>&1; then
6856 if test -d "$1"; then
6862 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6863 ???[sx]*):;;*)false;;esac;fi
6867 as_executable_p
=$as_test_x
6869 # Sed expression to map a string onto a valid CPP name.
6870 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6872 # Sed expression to map a string onto a valid variable name.
6873 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6878 # Save the log message, to keep $[0] and so on meaningful, and to
6879 # report actual input values of CONFIG_FILES etc. instead of their
6880 # values after options handling.
6882 This file was extended by webalizer $as_me V2.23, which was
6883 generated by GNU Autoconf 2.61. Invocation command line was
6885 CONFIG_FILES = $CONFIG_FILES
6886 CONFIG_HEADERS = $CONFIG_HEADERS
6887 CONFIG_LINKS = $CONFIG_LINKS
6888 CONFIG_COMMANDS = $CONFIG_COMMANDS
6891 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6896 cat >>$CONFIG_STATUS <<_ACEOF
6897 # Files that config.status was made for.
6898 config_files="$ac_config_files"
6899 config_links="$ac_config_links"
6903 cat >>$CONFIG_STATUS <<\_ACEOF
6905 \`$as_me' instantiates files from templates according to the
6906 current configuration.
6908 Usage: $0 [OPTIONS] [FILE]...
6910 -h, --help print this help, then exit
6911 -V, --version print version number and configuration settings, then exit
6912 -q, --quiet do not print progress messages
6913 -d, --debug don't remove temporary files
6914 --recheck update $as_me by reconfiguring in the same conditions
6915 --file=FILE[:TEMPLATE]
6916 instantiate the configuration file FILE
6918 Configuration files:
6921 Configuration links:
6924 Report bugs to <bug-autoconf@gnu.org>."
6927 cat >>$CONFIG_STATUS <<_ACEOF
6929 webalizer config.status V2.23
6930 configured by $0, generated by GNU Autoconf 2.61,
6931 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6933 Copyright (C) 2006 Free Software Foundation, Inc.
6934 This config.status script is free software; the Free Software Foundation
6935 gives unlimited permission to copy, distribute and modify it."
6942 cat >>$CONFIG_STATUS <<\_ACEOF
6943 # If no file are specified by the user, then we need to provide default
6944 # value. By we need to know if files were specified by the user.
6950 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6951 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6962 # Handling of the options.
6963 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6965 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6966 echo "$ac_cs_version"; exit ;;
6967 --debug |
--debu |
--deb |
--de |
--d |
-d )
6969 --file |
--fil |
--fi |
--f )
6971 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6972 ac_need_defaults
=false
;;
6973 --he |
--h |
--help |
--hel |
-h )
6974 echo "$ac_cs_usage"; exit ;;
6975 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6976 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6980 -*) { echo "$as_me: error: unrecognized option: $1
6981 Try \`$0 --help' for more information." >&2
6982 { (exit 1); exit 1; }; } ;;
6984 *) ac_config_targets
="$ac_config_targets $1"
6985 ac_need_defaults
=false
;;
6991 ac_configure_extra_args
=
6993 if $ac_cs_silent; then
6995 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6999 cat >>$CONFIG_STATUS <<_ACEOF
7000 if \$ac_cs_recheck; then
7001 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7004 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7008 cat >>$CONFIG_STATUS <<\_ACEOF
7012 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7013 ## Running $as_me. ##
7019 cat >>$CONFIG_STATUS <<_ACEOF
7022 cat >>$CONFIG_STATUS <<\_ACEOF
7024 # Handling of arguments.
7025 for ac_config_target
in $ac_config_targets
7027 case $ac_config_target in
7028 "$ac_config_links_1") CONFIG_LINKS
="$CONFIG_LINKS $ac_config_links_1" ;;
7029 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7031 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7032 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7033 { (exit 1); exit 1; }; };;
7038 # If the user did not use the arguments to specify the items to instantiate,
7039 # then the envvar interface is used. Set only those that are not.
7040 # We use the long form for the default assignment because of an extremely
7041 # bizarre bug on SunOS 4.1.3.
7042 if $ac_need_defaults; then
7043 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7044 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
7047 # Have a temporary directory for convenience. Make it in the build tree
7048 # simply because there is no reason against having it here, and in addition,
7049 # creating and moving files from /tmp can sometimes cause problems.
7050 # Hook for its removal unless debugging.
7051 # Note that there is a small window in which the directory will not be cleaned:
7052 # after its creation but before its name has been assigned to `$tmp'.
7056 trap 'exit_status=$?
7057 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7059 trap '{ (exit 1); exit 1; }' 1 2 13 15
7061 # Create a (secure) tmp directory for tmp files.
7064 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7065 test -n "$tmp" && test -d "$tmp"
7068 tmp
=.
/conf$$
-$RANDOM
7069 (umask 077 && mkdir
"$tmp")
7072 echo "$me: cannot create a temporary directory in ." >&2
7073 { (exit 1); exit 1; }
7077 # Set up the sed scripts for CONFIG_FILES section.
7080 # No need to generate the scripts if there are no CONFIG_FILES.
7081 # This happens for instance when ./config.status config.h
7082 if test -n "$CONFIG_FILES"; then
7089 for ac_last_try
in false false false false false
:; do
7090 cat >conf$
$subs.
sed <<_ACEOF
7091 SHELL!$SHELL$ac_delim
7092 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7093 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7094 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7095 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7096 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7097 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7098 exec_prefix!$exec_prefix$ac_delim
7099 prefix!$prefix$ac_delim
7100 program_transform_name!$program_transform_name$ac_delim
7101 bindir!$bindir$ac_delim
7102 sbindir!$sbindir$ac_delim
7103 libexecdir!$libexecdir$ac_delim
7104 datarootdir!$datarootdir$ac_delim
7105 datadir!$datadir$ac_delim
7106 sysconfdir!$sysconfdir$ac_delim
7107 sharedstatedir!$sharedstatedir$ac_delim
7108 localstatedir!$localstatedir$ac_delim
7109 includedir!$includedir$ac_delim
7110 oldincludedir!$oldincludedir$ac_delim
7111 docdir!$docdir$ac_delim
7112 infodir!$infodir$ac_delim
7113 htmldir!$htmldir$ac_delim
7114 dvidir!$dvidir$ac_delim
7115 pdfdir!$pdfdir$ac_delim
7116 psdir!$psdir$ac_delim
7117 libdir!$libdir$ac_delim
7118 localedir!$localedir$ac_delim
7119 mandir!$mandir$ac_delim
7121 ECHO_C!$ECHO_C$ac_delim
7122 ECHO_N!$ECHO_N$ac_delim
7123 ECHO_T!$ECHO_T$ac_delim
7125 build_alias!$build_alias$ac_delim
7126 host_alias!$host_alias$ac_delim
7127 target_alias!$target_alias$ac_delim
7129 WCMGR_LIBS!$WCMGR_LIBS$ac_delim
7130 DEFAULT_LANG!$DEFAULT_LANG$ac_delim
7132 CFLAGS!$CFLAGS$ac_delim
7133 LDFLAGS!$LDFLAGS$ac_delim
7134 CPPFLAGS!$CPPFLAGS$ac_delim
7135 ac_ct_CC!$ac_ct_CC$ac_delim
7136 EXEEXT!$EXEEXT$ac_delim
7137 OBJEXT!$OBJEXT$ac_delim
7139 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7140 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7141 INSTALL_DATA!$INSTALL_DATA$ac_delim
7144 EGREP!$EGREP$ac_delim
7145 GEODB_LOC!$GEODB_LOC$ac_delim
7146 LIBOBJS!$LIBOBJS$ac_delim
7147 LTLIBOBJS!$LTLIBOBJS$ac_delim
7150 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then
7152 elif $ac_last_try; then
7153 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7154 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7155 { (exit 1); exit 1; }; }
7157 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
7161 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7162 if test -n "$ac_eof"; then
7163 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
7164 ac_eof
=`expr $ac_eof + 1`
7167 cat >>$CONFIG_STATUS <<_ACEOF
7168 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7169 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7172 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7173 s/^/s,@/; s/!/@,|#_!!_#|/
7176 s/'"$ac_delim"'$/,g/; t
7178 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7179 ' >>$CONFIG_STATUS <conf$
$subs.
sed
7180 rm -f conf$
$subs.
sed
7181 cat >>$CONFIG_STATUS <<_ACEOF
7188 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7189 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7190 # trailing colons and then remove the whole line if VPATH becomes empty
7191 # (actually we leave an empty line to preserve line numbers).
7192 if test "x$srcdir" = x.
; then
7193 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7197 s/^\([^=]*=[ ]*\):*/\1/
7203 cat >>$CONFIG_STATUS <<\_ACEOF
7204 fi # test -n "$CONFIG_FILES"
7207 for ac_tag
in :F
$CONFIG_FILES :L
$CONFIG_LINKS
7210 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7212 case $ac_mode$ac_tag in
7214 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7215 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7216 { (exit 1); exit 1; }; };;
7217 :[FH
]-) ac_tag
=-:-;;
7218 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7235 -) ac_f
="$tmp/stdin";;
7236 *) # Look for the file first in the build tree, then in the source tree
7237 # (if the path is not absolute). The absolute path cannot be DOS-style,
7238 # because $ac_f cannot contain `:'.
7242 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7244 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7245 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7246 { (exit 1); exit 1; }; };;
7248 ac_file_inputs
="$ac_file_inputs $ac_f"
7251 # Let's still pretend it is `configure' which instantiates (i.e., don't
7252 # use $as_me), people would be surprised to read:
7253 # /* config.h. Generated by config.status. */
7254 configure_input
="Generated from "`IFS=:
7255 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7256 if test x
"$ac_file" != x-
; then
7257 configure_input
="$ac_file. $configure_input"
7258 { echo "$as_me:$LINENO: creating $ac_file" >&5
7259 echo "$as_me: creating $ac_file" >&6;}
7263 *:-:* |
*:-) cat >"$tmp/stdin";;
7268 ac_dir
=`$as_dirname -- "$ac_file" ||
7269 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7270 X"$ac_file" : 'X\(//\)[^/]' \| \
7271 X"$ac_file" : 'X\(//\)$' \| \
7272 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7293 -*) as_dir
=.
/$as_dir;;
7295 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7299 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7300 *) as_qdir
=$as_dir;;
7302 as_dirs
="'$as_qdir' $as_dirs"
7303 as_dir
=`$as_dirname -- "$as_dir" ||
7304 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7305 X"$as_dir" : 'X\(//\)[^/]' \| \
7306 X"$as_dir" : 'X\(//\)$' \| \
7307 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7326 test -d "$as_dir" && break
7328 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7329 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7330 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7331 { (exit 1); exit 1; }; }; }
7335 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7337 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7338 # A ".." for each directory in $ac_dir_suffix.
7339 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7340 case $ac_top_builddir_sub in
7341 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7342 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7345 ac_abs_top_builddir
=$ac_pwd
7346 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7347 # for backward compatibility:
7348 ac_top_builddir
=$ac_top_build_prefix
7351 .
) # We are building in place.
7353 ac_top_srcdir
=$ac_top_builddir_sub
7354 ac_abs_top_srcdir
=$ac_pwd ;;
7355 [\\/]* | ?
:[\\/]* ) # Absolute name.
7356 ac_srcdir
=$srcdir$ac_dir_suffix;
7357 ac_top_srcdir
=$srcdir
7358 ac_abs_top_srcdir
=$srcdir ;;
7360 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7361 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7362 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7364 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7374 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7375 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7379 cat >>$CONFIG_STATUS <<\_ACEOF
7380 # If the template does not know about datarootdir, expand it.
7381 # FIXME: This hack should be removed a few years after 2.60.
7382 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7384 case `sed -n '/datarootdir/ {
7393 ' $ac_file_inputs` in
7394 *datarootdir
*) ac_datarootdir_seen
=yes;;
7395 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7396 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7397 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7399 cat >>$CONFIG_STATUS <<_ACEOF
7400 ac_datarootdir_hack='
7401 s&@datadir@&$datadir&g
7402 s&@docdir@&$docdir&g
7403 s&@infodir@&$infodir&g
7404 s&@localedir@&$localedir&g
7405 s&@mandir@&$mandir&g
7406 s&\\\${datarootdir}&$datarootdir&g' ;;
7410 # Neutralize VPATH when `$srcdir' = `.'.
7411 # Shell code in configure.ac might set extrasub.
7412 # FIXME: do we really want to maintain this feature?
7413 cat >>$CONFIG_STATUS <<_ACEOF
7417 cat >>$CONFIG_STATUS <<\_ACEOF
7419 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7420 s
&@configure_input@
&$configure_input&;t t
7421 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7422 s
&@srcdir@
&$ac_srcdir&;t t
7423 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7424 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7425 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7426 s
&@builddir@
&$ac_builddir&;t t
7427 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7428 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7429 s
&@INSTALL@
&$ac_INSTALL&;t t
7430 $ac_datarootdir_hack
7431 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
7433 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7434 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7435 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7436 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7437 which seems to be undefined. Please make sure it is defined." >&5
7438 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7439 which seems to be undefined. Please make sure it is defined." >&2;}
7443 -) cat "$tmp/out"; rm -f "$tmp/out";;
7444 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7453 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_file" >&5
7454 echo "$as_me: linking $srcdir/$ac_source to $ac_file" >&6;}
7456 if test ! -r "$srcdir/$ac_source"; then
7457 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
7458 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
7459 { (exit 1); exit 1; }; }
7463 # Try a relative symlink, then a hard link, then a copy.
7465 [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
7466 *) ac_rel_source=$ac_top_build_prefix$srcdir/$ac_source ;;
7468 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
7469 ln "$srcdir/$ac_source" "$ac_file" 2>/dev/null ||
7470 cp -p "$srcdir/$ac_source" "$ac_file" ||
7471 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&5
7472 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_file" >&2;}
7473 { (exit 1); exit 1; }; }
7481 { (exit 0); exit 0; }
7483 chmod +x $CONFIG_STATUS
7484 ac_clean_files=$ac_clean_files_save
7487 # configure is writing to config.log, and then calls config.status.
7488 # config.status does its own redirection, appending to config.log.
7489 # Unfortunately, on DOS this fails, as config.log is still kept open
7490 # by configure, so config.status won't be able to
write to it
; its
7491 # output is simply discarded. So we exec the FD to /dev/null,
7492 # effectively closing config.log, so it can be properly (re)opened and
7493 # appended to by config.status. When coming back to configure, we
7494 # need to make the FD available again.
7495 if test "$no_create" != yes; then
7497 ac_config_status_args
=
7498 test "$silent" = yes &&
7499 ac_config_status_args
="$ac_config_status_args --quiet"
7501 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7503 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7504 # would make configure fail if this is the last instruction.
7505 $ac_cs_success ||
{ (exit 1); exit 1; }
7508 { echo "$as_me:$LINENO: Done. Type 'make' to continue with build." >&5
7509 echo "$as_me: Done. Type 'make' to continue with build." >&6;}