2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for ZKT 0.99c.
5 # Report bugs to <Holger Zuleger hznet.de>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='zkt'
577 PACKAGE_VERSION
='0.99c'
578 PACKAGE_STRING
='ZKT 0.99c'
579 PACKAGE_BUGREPORT
='Holger Zuleger hznet.de'
581 ac_unique_file
="dnssec-zkt.c"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
629 program_transform_name
671 ac_precious_vars
='build_alias
682 # Initialize some variables set by options.
684 ac_init_version
=false
685 # The variables have the same names as the options, with
686 # dashes changed to underlines.
694 program_transform_name
=s
,x
,x
,
702 # Installation directory options.
703 # These are left unexpanded so users can "make install exec_prefix=/foo"
704 # and all the variables that are supposed to be based on exec_prefix
705 # by default will actually change.
706 # Use braces instead of parens because sh, perl, etc. also accept them.
707 # (The list follows the same order as the GNU Coding Standards.)
708 bindir
='${exec_prefix}/bin'
709 sbindir
='${exec_prefix}/sbin'
710 libexecdir
='${exec_prefix}/libexec'
711 datarootdir
='${prefix}/share'
712 datadir
='${datarootdir}'
713 sysconfdir
='${prefix}/etc'
714 sharedstatedir
='${prefix}/com'
715 localstatedir
='${prefix}/var'
716 includedir
='${prefix}/include'
717 oldincludedir
='/usr/include'
718 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
719 infodir
='${datarootdir}/info'
724 libdir
='${exec_prefix}/lib'
725 localedir
='${datarootdir}/locale'
726 mandir
='${datarootdir}/man'
732 # If the previous option needs an argument, assign it.
733 if test -n "$ac_prev"; then
734 eval $ac_prev=\
$ac_option
740 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
744 # Accept the important Cygnus configure options, so we can diagnose typos.
746 case $ac_dashdash$ac_option in
750 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
752 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
755 -build |
--build |
--buil |
--bui |
--bu)
756 ac_prev
=build_alias
;;
757 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
758 build_alias
=$ac_optarg ;;
760 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
761 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
762 ac_prev
=cache_file
;;
763 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
764 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
765 cache_file
=$ac_optarg ;;
768 cache_file
=config.cache
;;
770 -datadir |
--datadir |
--datadi |
--datad)
772 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
773 datadir
=$ac_optarg ;;
775 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
776 |
--dataroo |
--dataro |
--datar)
777 ac_prev
=datarootdir
;;
778 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
779 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
780 datarootdir
=$ac_optarg ;;
782 -disable-* |
--disable-*)
783 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
784 # Reject names that are not valid shell variable names.
785 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
786 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
787 { (exit 1); exit 1; }; }
788 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
789 eval enable_
$ac_feature=no
;;
791 -docdir |
--docdir |
--docdi |
--doc |
--do)
793 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
796 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
798 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
801 -enable-* |
--enable-*)
802 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
803 # Reject names that are not valid shell variable names.
804 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
805 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
806 { (exit 1); exit 1; }; }
807 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
808 eval enable_
$ac_feature=\
$ac_optarg ;;
810 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
811 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
812 |
--exec |
--exe |
--ex)
813 ac_prev
=exec_prefix
;;
814 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
815 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
816 |
--exec=* |
--exe=* |
--ex=*)
817 exec_prefix
=$ac_optarg ;;
819 -gas |
--gas |
--ga |
--g)
820 # Obsolete; use --with-gas.
823 -help |
--help |
--hel |
--he |
-h)
825 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
826 ac_init_help
=recursive
;;
827 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
828 ac_init_help
=short
;;
830 -host |
--host |
--hos |
--ho)
831 ac_prev
=host_alias
;;
832 -host=* |
--host=* |
--hos=* |
--ho=*)
833 host_alias
=$ac_optarg ;;
835 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
837 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
839 htmldir
=$ac_optarg ;;
841 -includedir |
--includedir |
--includedi |
--included |
--include \
842 |
--includ |
--inclu |
--incl |
--inc)
843 ac_prev
=includedir
;;
844 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
845 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
846 includedir
=$ac_optarg ;;
848 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
850 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
851 infodir
=$ac_optarg ;;
853 -libdir |
--libdir |
--libdi |
--libd)
855 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
858 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
859 |
--libexe |
--libex |
--libe)
860 ac_prev
=libexecdir
;;
861 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
862 |
--libexe=* |
--libex=* |
--libe=*)
863 libexecdir
=$ac_optarg ;;
865 -localedir |
--localedir |
--localedi |
--localed |
--locale)
867 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
868 localedir
=$ac_optarg ;;
870 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
871 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
872 ac_prev
=localstatedir
;;
873 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
874 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
875 localstatedir
=$ac_optarg ;;
877 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
879 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
883 # Obsolete; use --without-fp.
886 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
887 |
--no-cr |
--no-c |
-n)
890 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
891 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
894 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
895 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
896 |
--oldin |
--oldi |
--old |
--ol |
--o)
897 ac_prev
=oldincludedir
;;
898 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
899 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
900 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
901 oldincludedir
=$ac_optarg ;;
903 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
905 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
908 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
909 |
--program-pre |
--program-pr |
--program-p)
910 ac_prev
=program_prefix
;;
911 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
912 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
913 program_prefix
=$ac_optarg ;;
915 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
916 |
--program-suf |
--program-su |
--program-s)
917 ac_prev
=program_suffix
;;
918 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
919 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
920 program_suffix
=$ac_optarg ;;
922 -program-transform-name |
--program-transform-name \
923 |
--program-transform-nam |
--program-transform-na \
924 |
--program-transform-n |
--program-transform- \
925 |
--program-transform |
--program-transfor \
926 |
--program-transfo |
--program-transf \
927 |
--program-trans |
--program-tran \
928 |
--progr-tra |
--program-tr |
--program-t)
929 ac_prev
=program_transform_name
;;
930 -program-transform-name=* |
--program-transform-name=* \
931 |
--program-transform-nam=* |
--program-transform-na=* \
932 |
--program-transform-n=* |
--program-transform-=* \
933 |
--program-transform=* |
--program-transfor=* \
934 |
--program-transfo=* |
--program-transf=* \
935 |
--program-trans=* |
--program-tran=* \
936 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
937 program_transform_name
=$ac_optarg ;;
939 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
941 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
944 -psdir |
--psdir |
--psdi |
--psd |
--ps)
946 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
949 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
950 |
-silent |
--silent |
--silen |
--sile |
--sil)
953 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
955 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
957 sbindir
=$ac_optarg ;;
959 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
960 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
961 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
963 ac_prev
=sharedstatedir
;;
964 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
965 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
966 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
968 sharedstatedir
=$ac_optarg ;;
970 -site |
--site |
--sit)
972 -site=* |
--site=* |
--sit=*)
975 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
977 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
980 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
981 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
982 ac_prev
=sysconfdir
;;
983 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
984 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
985 sysconfdir
=$ac_optarg ;;
987 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
988 ac_prev
=target_alias
;;
989 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
990 target_alias
=$ac_optarg ;;
992 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
995 -version |
--version |
--versio |
--versi |
--vers |
-V)
999 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1002 { echo "$as_me: error: invalid package name: $ac_package" >&2
1003 { (exit 1); exit 1; }; }
1004 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1005 eval with_
$ac_package=\
$ac_optarg ;;
1007 -without-* |
--without-*)
1008 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1011 { echo "$as_me: error: invalid package name: $ac_package" >&2
1012 { (exit 1); exit 1; }; }
1013 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1014 eval with_
$ac_package=no
;;
1017 # Obsolete; use --with-x.
1020 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1021 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1022 ac_prev
=x_includes
;;
1023 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1024 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1025 x_includes
=$ac_optarg ;;
1027 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1028 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1029 ac_prev
=x_libraries
;;
1030 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1031 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1032 x_libraries
=$ac_optarg ;;
1034 -*) { echo "$as_me: error: unrecognized option: $ac_option
1035 Try \`$0 --help' for more information." >&2
1036 { (exit 1); exit 1; }; }
1040 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1043 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1044 { (exit 1); exit 1; }; }
1045 eval $ac_envvar=\
$ac_optarg
1046 export $ac_envvar ;;
1049 # FIXME: should be removed in autoconf 3.0.
1050 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1051 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1052 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1053 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1059 if test -n "$ac_prev"; then
1060 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1061 { echo "$as_me: error: missing argument to $ac_option" >&2
1062 { (exit 1); exit 1; }; }
1065 # Be sure to have absolute directory names.
1066 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1067 datadir sysconfdir sharedstatedir localstatedir includedir \
1068 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1069 libdir localedir mandir
1071 eval ac_val
=\$
$ac_var
1073 [\\/$
]* | ?
:[\\/]* ) continue;;
1074 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1076 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1077 { (exit 1); exit 1; }; }
1080 # There might be people who depend on the old broken behavior: `$host'
1081 # used to hold the argument of --host etc.
1082 # FIXME: To remove some day.
1085 target
=$target_alias
1087 # FIXME: To remove some day.
1088 if test "x$host_alias" != x
; then
1089 if test "x$build_alias" = x
; then
1090 cross_compiling
=maybe
1091 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1092 If a cross compiler is detected then cross compile mode will be used." >&2
1093 elif test "x$build_alias" != "x$host_alias"; then
1099 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1101 test "$silent" = yes && exec 6>/dev
/null
1104 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1105 ac_ls_di
=`ls -di .` &&
1106 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1107 { echo "$as_me: error: Working directory cannot be determined" >&2
1108 { (exit 1); exit 1; }; }
1109 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1110 { echo "$as_me: error: pwd does not report name of working directory" >&2
1111 { (exit 1); exit 1; }; }
1114 # Find the source files, if location was not specified.
1115 if test -z "$srcdir"; then
1116 ac_srcdir_defaulted
=yes
1117 # Try the directory containing this script, then the parent directory.
1118 ac_confdir
=`$as_dirname -- "$0" ||
1119 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1120 X"$0" : 'X\(//\)[^/]' \| \
1121 X"$0" : 'X\(//\)$' \| \
1122 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1142 if test ! -r "$srcdir/$ac_unique_file"; then
1146 ac_srcdir_defaulted
=no
1148 if test ! -r "$srcdir/$ac_unique_file"; then
1149 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1150 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1151 { (exit 1); exit 1; }; }
1153 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1155 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1156 { (exit 1); exit 1; }; }
1158 # When building in place, set srcdir=.
1159 if test "$ac_abs_confdir" = "$ac_pwd"; then
1162 # Remove unnecessary trailing slashes from srcdir.
1163 # Double slashes in file names in object file debugging info
1164 # mess up M-x gdb in Emacs.
1166 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1168 for ac_var
in $ac_precious_vars; do
1169 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1170 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1171 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1172 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1176 # Report the --help message.
1178 if test "$ac_init_help" = "long"; then
1179 # Omit some internal or obsolete options to make the list less imposing.
1180 # This message is too long to be a string in the A/UX 3.1 sh.
1182 \`configure' configures ZKT 0.99c to adapt to many kinds of systems.
1184 Usage: $0 [OPTION]... [VAR=VALUE]...
1186 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1187 VAR=VALUE. See below for descriptions of some of the useful variables.
1189 Defaults for the options are specified in brackets.
1192 -h, --help display this help and exit
1193 --help=short display options specific to this package
1194 --help=recursive display the short help of all the included packages
1195 -V, --version display version information and exit
1196 -q, --quiet, --silent do not print \`checking...' messages
1197 --cache-file=FILE cache test results in FILE [disabled]
1198 -C, --config-cache alias for \`--cache-file=config.cache'
1199 -n, --no-create do not create output files
1200 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1202 Installation directories:
1203 --prefix=PREFIX install architecture-independent files in PREFIX
1204 [$ac_default_prefix]
1205 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1208 By default, \`make install' will install all the files in
1209 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1210 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1211 for instance \`--prefix=\$HOME'.
1213 For better control, use the options below.
1215 Fine tuning of the installation directories:
1216 --bindir=DIR user executables [EPREFIX/bin]
1217 --sbindir=DIR system admin executables [EPREFIX/sbin]
1218 --libexecdir=DIR program executables [EPREFIX/libexec]
1219 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1220 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1221 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1222 --libdir=DIR object code libraries [EPREFIX/lib]
1223 --includedir=DIR C header files [PREFIX/include]
1224 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1225 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1226 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1227 --infodir=DIR info documentation [DATAROOTDIR/info]
1228 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1229 --mandir=DIR man documentation [DATAROOTDIR/man]
1230 --docdir=DIR documentation root [DATAROOTDIR/doc/zkt]
1231 --htmldir=DIR html documentation [DOCDIR]
1232 --dvidir=DIR dvi documentation [DOCDIR]
1233 --pdfdir=DIR pdf documentation [DOCDIR]
1234 --psdir=DIR ps documentation [DOCDIR]
1241 if test -n "$ac_init_help"; then
1242 case $ac_init_help in
1243 short | recursive
) echo "Configuration of ZKT 0.99c:";;
1248 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1249 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1250 --enable-print-timezone print out timezone
1251 --enable-print-age print age of year
1252 --enable-log-progname log with progname
1253 --disable-log-timestamp do not log with timestamp
1254 --disable-log-level do not log with level
1255 --disable-ttl-in-keyfiles
1256 do not allow TTL values
in keyfiles
1257 --enable-configpath=PATH
1258 set path of config
file (defaults to
/var
/named
)
1259 --disable-tree use single linked list instead of binary tree data
1260 structure
for dnssec-zkt
1262 Some influential environment variables
:
1263 CC C compiler
command
1264 CFLAGS C compiler flags
1265 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1266 nonstandard directory
<lib dir
>
1267 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1268 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1269 you have headers
in a nonstandard directory
<include dir
>
1272 Use these variables to override the choices made by
`configure' or to help
1273 it to find libraries and programs with nonstandard names/locations.
1275 Report bugs to <Holger Zuleger hznet.de>.
1280 if test "$ac_init_help" = "recursive"; then
1281 # If there are subdirs, report their specific --help.
1282 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1283 test -d "$ac_dir" || continue
1287 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1289 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1290 # A ".." for each directory in $ac_dir_suffix.
1291 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1292 case $ac_top_builddir_sub in
1293 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1294 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1297 ac_abs_top_builddir=$ac_pwd
1298 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1299 # for backward compatibility:
1300 ac_top_builddir=$ac_top_build_prefix
1303 .) # We are building in place.
1305 ac_top_srcdir=$ac_top_builddir_sub
1306 ac_abs_top_srcdir=$ac_pwd ;;
1307 [\\/]* | ?:[\\/]* ) # Absolute name.
1308 ac_srcdir=$srcdir$ac_dir_suffix;
1309 ac_top_srcdir=$srcdir
1310 ac_abs_top_srcdir=$srcdir ;;
1312 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1313 ac_top_srcdir=$ac_top_build_prefix$srcdir
1314 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1316 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1318 cd "$ac_dir" || { ac_status=$?; continue; }
1319 # Check for guested configure.
1320 if test -f "$ac_srcdir/configure.gnu"; then
1322 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1323 elif test -f "$ac_srcdir/configure"; then
1325 $SHELL "$ac_srcdir/configure" --help=recursive
1327 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1329 cd "$ac_pwd" || { ac_status=$?; break; }
1333 test -n "$ac_init_help" && exit $ac_status
1334 if $ac_init_version; then
1337 generated by GNU Autoconf 2.61
1339 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1340 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1341 This configure script is free software; the Free Software Foundation
1342 gives unlimited permission to copy, distribute and modify it.
1346 cat >config.log <<_ACEOF
1347 This file contains any messages produced by compilers while
1348 running configure, to aid debugging if configure makes a mistake.
1350 It was created by ZKT $as_me 0.99c, which was
1351 generated by GNU Autoconf 2.61. Invocation command line was
1363 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1364 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1365 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1366 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1367 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1369 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1370 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1372 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1373 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1374 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1375 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1376 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1377 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1378 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386 test -z "$as_dir" && as_dir=.
1387 echo "PATH: $as_dir"
1403 # Keep a trace of the command line.
1404 # Strip out --no-create and --no-recursion so they do not pile up.
1405 # Strip out --silent because we don't want to record it for future runs.
1406 # Also quote any args containing shell meta-characters.
1407 # Make two passes to allow for proper duplicate-argument suppression.
1411 ac_must_keep_next=false
1417 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1418 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1419 | -silent | --silent | --silen | --sile | --sil)
1422 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1425 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1427 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1428 if test $ac_must_keep_next = true; then
1429 ac_must_keep_next=false # Got value, back to normal.
1432 *=* | --config-cache | -C | -disable-* | --disable-* \
1433 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1434 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1435 | -with-* | --with-* | -without-* | --without-* | --x)
1436 case "$ac_configure_args0 " in
1437 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1440 -* ) ac_must_keep_next=true ;;
1443 ac_configure_args="$ac_configure_args '$ac_arg'"
1448 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1449 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1451 # When interrupted or exit'd, cleanup temporary files, and complete
1452 # config.log. We remove comments because anyway the quotes in there
1453 # would cause problems or look ugly.
1454 # WARNING: Use '\'' to represent an apostrophe within the trap.
1455 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1456 trap 'exit_status=$?
1457 # Save into config.log some information that might help in debugging.
1462 ## ---------------- ##
1463 ## Cache variables. ##
1464 ## ---------------- ##
1467 # The following way of writing the cache mishandles newlines in values,
1469 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1470 eval ac_val=\$$ac_var
1474 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1475 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1478 _ | IFS | as_nl) ;; #(
1479 *) $as_unset $ac_var ;;
1484 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1485 *${as_nl}ac_space=\ *)
1487 "s/'\''/'\''\\\\'\'''\''/g;
1488 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1491 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1499 ## ----------------- ##
1500 ## Output variables. ##
1501 ## ----------------- ##
1504 for ac_var in $ac_subst_vars
1506 eval ac_val=\$$ac_var
1508 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1510 echo "$ac_var='\''$ac_val'\''"
1514 if test -n "$ac_subst_files"; then
1516 ## ------------------- ##
1517 ## File substitutions. ##
1518 ## ------------------- ##
1521 for ac_var in $ac_subst_files
1523 eval ac_val=\$$ac_var
1525 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1527 echo "$ac_var='\''$ac_val'\''"
1532 if test -s confdefs.h; then
1542 test "$ac_signal" != 0 &&
1543 echo "$as_me: caught signal $ac_signal"
1544 echo "$as_me: exit $exit_status"
1546 rm -f core *.core core.conftest.* &&
1547 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1550 for ac_signal in 1 2 13 15; do
1551 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1555 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1556 rm -f -r conftest* confdefs.h
1558 # Predefined preprocessor variables.
1560 cat >>confdefs.h <<_ACEOF
1561 #define PACKAGE_NAME "$PACKAGE_NAME"
1565 cat >>confdefs.h <<_ACEOF
1566 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1575 cat >>confdefs.h <<_ACEOF
1576 #define PACKAGE_STRING "$PACKAGE_STRING"
1580 cat >>confdefs.h <<_ACEOF
1581 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1585 # Let the site file select an alternate cache file if it wants to.
1586 # Prefer explicitly selected file to automatically selected ones.
1587 if test -n "$CONFIG_SITE"; then
1588 set x "$CONFIG_SITE"
1589 elif test "x$prefix" != xNONE; then
1590 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1592 set x "$ac_default_prefix/share/config.site" \
1593 "$ac_default_prefix/etc/config.site"
1598 if test -r "$ac_site_file"; then
1599 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1600 echo "$as_me: loading site script $ac_site_file" >&6;}
1601 sed 's/^/| /' "$ac_site_file" >&5
1606 if test -r "$cache_file"; then
1607 # Some versions of bash will fail to source /dev/null (special
1608 # files actually), so we avoid doing that.
1609 if test -f "$cache_file"; then
1610 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1611 echo "$as_me: loading cache $cache_file" >&6;}
1613 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1614 *) . "./$cache_file";;
1618 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1619 echo "$as_me: creating cache $cache_file" >&6;}
1623 ac_header_list="$ac_header_list sys/time.h"
1624 ac_header_list="$ac_header_list unistd.h"
1625 ac_func_list="$ac_func_list alarm"
1626 ac_header_list="$ac_header_list utime.h"
1627 # Check that the precious variables saved in the cache have kept the same
1629 ac_cache_corrupted=false
1630 for ac_var in $ac_precious_vars; do
1631 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1632 eval ac_new_set=\$ac_env_${ac_var}_set
1633 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1634 eval ac_new_val=\$ac_env_${ac_var}_value
1635 case $ac_old_set,$ac_new_set in
1637 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1638 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1639 ac_cache_corrupted=: ;;
1641 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1642 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1643 ac_cache_corrupted=: ;;
1646 if test "x$ac_old_val" != "x$ac_new_val"; then
1647 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1648 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1649 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1650 echo "$as_me: former value
: $ac_old_val" >&2;}
1651 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1652 echo "$as_me: current value
: $ac_new_val" >&2;}
1653 ac_cache_corrupted=:
1656 # Pass precious variables to config.status.
1657 if test "$ac_new_set" = set; then
1659 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1660 *) ac_arg=$ac_var=$ac_new_val ;;
1662 case " $ac_configure_args " in
1663 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1664 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1668 if $ac_cache_corrupted; then
1669 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1670 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1671 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1672 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1673 { (exit 1); exit 1; }; }
1701 ac_cpp='$CPP $CPPFLAGS'
1702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1708 ### Files to test to check if src dir contains the package
1710 ac_config_headers="$ac_config_headers config.h"
1714 ### Checks for programs.
1716 ac_cpp='$CPP $CPPFLAGS'
1717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1720 if test -n "$ac_tool_prefix"; then
1721 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1722 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1725 if test "${ac_cv_prog_CC+set}" = set; then
1726 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 if test -n "$CC"; then
1729 ac_cv_prog_CC="$CC" # Let the user override the test.
1731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1735 test -z "$as_dir" && as_dir=.
1736 for ac_exec_ext in '' $ac_executable_extensions; do
1737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1738 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1749 if test -n "$CC"; then
1750 { echo "$as_me:$LINENO: result: $CC" >&5
1751 echo "${ECHO_T}$CC" >&6; }
1753 { echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6; }
1759 if test -z "$ac_cv_prog_CC"; then
1761 # Extract the first word of "gcc", so it can be a program name with args.
1762 set dummy gcc; ac_word=$2
1763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1765 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1766 echo $ECHO_N "(cached) $ECHO_C" >&6
1768 if test -n "$ac_ct_CC"; then
1769 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775 test -z "$as_dir" && as_dir=.
1776 for ac_exec_ext in '' $ac_executable_extensions; do
1777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1778 ac_cv_prog_ac_ct_CC="gcc"
1779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1788 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1789 if test -n "$ac_ct_CC"; then
1790 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1791 echo "${ECHO_T}$ac_ct_CC" >&6; }
1793 { echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6; }
1797 if test "x$ac_ct_CC" = x; then
1800 case $cross_compiling:$ac_tool_warned in
1802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1803 whose name does not start with the host triplet. If you think this
1804 configuration is useful to you, please write to autoconf@gnu.org." >&5
1805 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1806 whose name does not start with the host triplet. If you think this
1807 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1808 ac_tool_warned=yes ;;
1816 if test -z "$CC"; then
1817 if test -n "$ac_tool_prefix"; then
1818 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1819 set dummy ${ac_tool_prefix}cc; ac_word=$2
1820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1822 if test "${ac_cv_prog_CC+set}" = set; then
1823 echo $ECHO_N "(cached) $ECHO_C" >&6
1825 if test -n "$CC"; then
1826 ac_cv_prog_CC="$CC" # Let the user override the test.
1828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832 test -z "$as_dir" && as_dir=.
1833 for ac_exec_ext in '' $ac_executable_extensions; do
1834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1835 ac_cv_prog_CC="${ac_tool_prefix}cc"
1836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1846 if test -n "$CC"; then
1847 { echo "$as_me:$LINENO: result: $CC" >&5
1848 echo "${ECHO_T}$CC" >&6; }
1850 { echo "$as_me:$LINENO: result: no" >&5
1851 echo "${ECHO_T}no" >&6; }
1857 if test -z "$CC"; then
1858 # Extract the first word of "cc", so it can be a program name with args.
1859 set dummy cc; ac_word=$2
1860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1862 if test "${ac_cv_prog_CC+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 if test -n "$CC"; then
1866 ac_cv_prog_CC="$CC" # Let the user override the test.
1869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873 test -z "$as_dir" && as_dir=.
1874 for ac_exec_ext in '' $ac_executable_extensions; do
1875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1876 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1877 ac_prog_rejected=yes
1881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 if test $ac_prog_rejected = yes; then
1889 # We found a bogon in the path, so make sure we never use it.
1890 set dummy $ac_cv_prog_CC
1892 if test $# != 0; then
1893 # We chose a different compiler from the bogus one.
1894 # However, it has the same basename, so the bogon will be chosen
1895 # first if we set CC to just the basename; use the full file name.
1897 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1903 if test -n "$CC"; then
1904 { echo "$as_me:$LINENO: result: $CC" >&5
1905 echo "${ECHO_T}$CC" >&6; }
1907 { echo "$as_me:$LINENO: result: no" >&5
1908 echo "${ECHO_T}no" >&6; }
1913 if test -z "$CC"; then
1914 if test -n "$ac_tool_prefix"; then
1915 for ac_prog in cl.exe
1917 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1918 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1921 if test "${ac_cv_prog_CC+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 if test -n "$CC"; then
1925 ac_cv_prog_CC="$CC" # Let the user override the test.
1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931 test -z "$as_dir" && as_dir=.
1932 for ac_exec_ext in '' $ac_executable_extensions; do
1933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1934 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1945 if test -n "$CC"; then
1946 { echo "$as_me:$LINENO: result: $CC" >&5
1947 echo "${ECHO_T}$CC" >&6; }
1949 { echo "$as_me:$LINENO: result: no" >&5
1950 echo "${ECHO_T}no" >&6; }
1954 test -n "$CC" && break
1957 if test -z "$CC"; then
1959 for ac_prog in cl.exe
1961 # Extract the first word of "$ac_prog", so it can be a program name with args.
1962 set dummy $ac_prog; ac_word=$2
1963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1965 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 if test -n "$ac_ct_CC"; then
1969 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1975 test -z "$as_dir" && as_dir=.
1976 for ac_exec_ext in '' $ac_executable_extensions; do
1977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1978 ac_cv_prog_ac_ct_CC="$ac_prog"
1979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1989 if test -n "$ac_ct_CC"; then
1990 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1991 echo "${ECHO_T}$ac_ct_CC" >&6; }
1993 { echo "$as_me:$LINENO: result: no" >&5
1994 echo "${ECHO_T}no" >&6; }
1998 test -n "$ac_ct_CC" && break
2001 if test "x$ac_ct_CC" = x; then
2004 case $cross_compiling:$ac_tool_warned in
2006 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2007 whose name does not start with the host triplet. If you think this
2008 configuration is useful to you, please write to autoconf@gnu.org." >&5
2009 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2010 whose name does not start with the host triplet. If you think this
2011 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2012 ac_tool_warned=yes ;;
2021 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2022 See \`config.log
' for more details." >&5
2023 echo "$as_me: error: no acceptable C compiler found in \$PATH
2024 See \`config.log' for more details.
" >&2;}
2025 { (exit 1); exit 1; }; }
2027 # Provide some information about the compiler.
2028 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2029 ac_compiler=`set X $ac_compile; echo $2`
2030 { (ac_try="$ac_compiler --version >&5"
2032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2033 *) ac_try_echo=$ac_try;;
2035 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2036 (eval "$ac_compiler --version >&5") 2>&5
2038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2039 (exit $ac_status); }
2040 { (ac_try="$ac_compiler -v >&5"
2042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2043 *) ac_try_echo=$ac_try;;
2045 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2046 (eval "$ac_compiler -v >&5") 2>&5
2048 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2049 (exit $ac_status); }
2050 { (ac_try="$ac_compiler -V >&5"
2052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2053 *) ac_try_echo=$ac_try;;
2055 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2056 (eval "$ac_compiler -V >&5") 2>&5
2058 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2059 (exit $ac_status); }
2061 cat >conftest.$ac_ext <<_ACEOF
2064 cat confdefs.h >>conftest.$ac_ext
2065 cat >>conftest.$ac_ext <<_ACEOF
2066 /* end confdefs.h. */
2076 ac_clean_files_save=$ac_clean_files
2077 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2078 # Try to create an executable without -o first, disregard a.out.
2079 # It will help us diagnose broken compilers, and finding out an intuition
2081 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2082 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2083 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2085 # List of possible output files, starting from the most likely.
2086 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2087 # only as a last resort. b.out is created by i960 compilers.
2088 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2090 # The IRIX 6 linker writes into existing files which may not be
2091 # executable, retaining their permissions. Remove them first so a
2092 # subsequent execution test works.
2094 for ac_file in $ac_files
2097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2098 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2103 if { (ac_try="$ac_link_default"
2105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2106 *) ac_try_echo=$ac_try;;
2108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2109 (eval "$ac_link_default") 2>&5
2111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2112 (exit $ac_status); }; then
2113 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2114 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2115 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2116 # so that the user can short-circuit this test for compilers unknown to
2118 for ac_file in $ac_files ''
2120 test -f "$ac_file" || continue
2122 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2125 # We found the default executable, but exeext='' is most
2129 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2131 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2133 # We set ac_cv_exeext here because the later test for it is not
2134 # safe: cross compilers may not add the suffix if given an `-o'
2135 # argument, so we may need to know it at that point already.
2136 # Even if this section looks crufty: it has the advantage of
2143 test "$ac_cv_exeext" = no && ac_cv_exeext=
2149 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2150 echo "${ECHO_T}$ac_file" >&6; }
2151 if test -z "$ac_file"; then
2152 echo "$as_me: failed program was
:" >&5
2153 sed 's/^/| /' conftest.$ac_ext >&5
2155 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2156 See \
`config.log' for more details." >&5
2157 echo "$as_me: error: C compiler cannot create executables
2158 See \`config.log
' for more details." >&2;}
2159 { (exit 77); exit 77; }; }
2162 ac_exeext=$ac_cv_exeext
2164 # Check that the compiler produces executables we can run. If not, either
2165 # the compiler is broken, or we cross compile.
2166 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2167 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2168 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2169 # If not cross compiling, check that we can run a simple program.
2170 if test "$cross_compiling" != yes; then
2171 if { ac_try='.
/$ac_file'
2172 { (case "(($ac_try" in
2173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2174 *) ac_try_echo=$ac_try;;
2176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2177 (eval "$ac_try") 2>&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; }; then
2183 if test "$cross_compiling" = maybe; then
2186 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2187 If you meant to cross compile, use \`--host'.
2188 See \
`config.log' for more details." >&5
2189 echo "$as_me: error: cannot run C compiled programs.
2190 If you meant to cross compile, use \`--host'.
2191 See \`config.log' for more details.
" >&2;}
2192 { (exit 1); exit 1; }; }
2196 { echo "$as_me:$LINENO: result
: yes" >&5
2197 echo "${ECHO_T}yes" >&6; }
2199 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2200 ac_clean_files=$ac_clean_files_save
2201 # Check that the compiler produces executables we can run. If not, either
2202 # the compiler is broken, or we cross compile.
2203 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2204 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2205 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2206 echo "${ECHO_T}$cross_compiling" >&6; }
2208 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2209 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2210 if { (ac_try="$ac_link"
2212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2213 *) ac_try_echo=$ac_try;;
2215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2216 (eval "$ac_link") 2>&5
2218 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2219 (exit $ac_status); }; then
2220 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2221 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2222 # work properly (i.e., refer to `conftest.exe'), while it won't with
2224 for ac_file in conftest.exe conftest conftest.*; do
2225 test -f "$ac_file" || continue
2227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2228 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2234 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2235 See \
`config.log' for more details." >&5
2236 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2237 See \`config.log
' for more details." >&2;}
2238 { (exit 1); exit 1; }; }
2241 rm -f conftest$ac_cv_exeext
2242 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2243 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2245 rm -f conftest.$ac_ext
2246 EXEEXT=$ac_cv_exeext
2248 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2249 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2250 if test "${ac_cv_objext+set}" = set; then
2251 echo $ECHO_N "(cached) $ECHO_C" >&6
2253 cat >conftest.$ac_ext <<_ACEOF
2256 cat confdefs.h >>conftest.$ac_ext
2257 cat >>conftest.$ac_ext <<_ACEOF
2258 /* end confdefs.h. */
2268 rm -f conftest.o conftest.obj
2269 if { (ac_try="$ac_compile"
2271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2272 *) ac_try_echo=$ac_try;;
2274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2275 (eval "$ac_compile") 2>&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }; then
2279 for ac_file in conftest.o conftest.obj conftest.*; do
2280 test -f "$ac_file" || continue;
2282 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2283 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2288 echo "$as_me: failed program was:" >&5
2289 sed 's
/^
/|
/' conftest.$ac_ext >&5
2291 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2292 See \`config.log' for more details.
" >&5
2293 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2294 See \
`config.log' for more details." >&2;}
2295 { (exit 1); exit 1; }; }
2298 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2300 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2301 echo "${ECHO_T}$ac_cv_objext" >&6; }
2302 OBJEXT=$ac_cv_objext
2304 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2305 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2306 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2309 cat >conftest.$ac_ext <<_ACEOF
2312 cat confdefs.h >>conftest.$ac_ext
2313 cat >>conftest.$ac_ext <<_ACEOF
2314 /* end confdefs.h. */
2327 rm -f conftest.$ac_objext
2328 if { (ac_try="$ac_compile"
2330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2331 *) ac_try_echo
=$ac_try;;
2333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2334 (eval "$ac_compile") 2>conftest.er1
2336 grep -v '^ *+' conftest.er1
>conftest.err
2338 cat conftest.err
>&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); } && {
2341 test -z "$ac_c_werror_flag" ||
2342 test ! -s conftest.err
2343 } && test -s conftest.
$ac_objext; then
2346 echo "$as_me: failed program was:" >&5
2347 sed 's/^/| /' conftest.
$ac_ext >&5
2352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2353 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2356 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2357 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2358 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2359 ac_test_CFLAGS
=${CFLAGS+set}
2360 ac_save_CFLAGS
=$CFLAGS
2361 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2362 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2363 if test "${ac_cv_prog_cc_g+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 ac_save_c_werror_flag
=$ac_c_werror_flag
2367 ac_c_werror_flag
=yes
2370 cat >conftest.
$ac_ext <<_ACEOF
2373 cat confdefs.h
>>conftest.
$ac_ext
2374 cat >>conftest.
$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2385 rm -f conftest.
$ac_objext
2386 if { (ac_try
="$ac_compile"
2388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2389 *) ac_try_echo=$ac_try;;
2391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2392 (eval "$ac_compile") 2>conftest.er1
2394 grep -v '^ *+' conftest.er1 >conftest.err
2396 cat conftest.err >&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); } && {
2399 test -z "$ac_c_werror_flag" ||
2400 test ! -s conftest.err
2401 } && test -s conftest.$ac_objext; then
2404 echo "$as_me: failed program was:" >&5
2405 sed 's/^/| /' conftest.$ac_ext >&5
2408 cat >conftest.$ac_ext <<_ACEOF
2411 cat confdefs.h >>conftest.$ac_ext
2412 cat >>conftest.$ac_ext <<_ACEOF
2413 /* end confdefs.h. */
2423 rm -f conftest.$ac_objext
2424 if { (ac_try="$ac_compile"
2426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2427 *) ac_try_echo
=$ac_try;;
2429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2430 (eval "$ac_compile") 2>conftest.er1
2432 grep -v '^ *+' conftest.er1
>conftest.err
2434 cat conftest.err
>&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); } && {
2437 test -z "$ac_c_werror_flag" ||
2438 test ! -s conftest.err
2439 } && test -s conftest.
$ac_objext; then
2442 echo "$as_me: failed program was:" >&5
2443 sed 's/^/| /' conftest.
$ac_ext >&5
2445 ac_c_werror_flag
=$ac_save_c_werror_flag
2447 cat >conftest.
$ac_ext <<_ACEOF
2450 cat confdefs.h
>>conftest.
$ac_ext
2451 cat >>conftest.
$ac_ext <<_ACEOF
2452 /* end confdefs.h. */
2462 rm -f conftest.
$ac_objext
2463 if { (ac_try
="$ac_compile"
2465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2469 (eval "$ac_compile") 2>conftest.er1
2471 grep -v '^ *+' conftest.er1 >conftest.err
2473 cat conftest.err >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); } && {
2476 test -z "$ac_c_werror_flag" ||
2477 test ! -s conftest.err
2478 } && test -s conftest.$ac_objext; then
2481 echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.$ac_ext >&5
2487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2494 ac_c_werror_flag=$ac_save_c_werror_flag
2496 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2497 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2498 if test "$ac_test_CFLAGS" = set; then
2499 CFLAGS=$ac_save_CFLAGS
2500 elif test $ac_cv_prog_cc_g = yes; then
2501 if test "$GCC" = yes; then
2507 if test "$GCC" = yes; then
2513 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2514 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2515 if test "${ac_cv_prog_cc_c89+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 ac_cv_prog_cc_c89=no
2520 cat >conftest.$ac_ext <<_ACEOF
2523 cat confdefs.h >>conftest.$ac_ext
2524 cat >>conftest.$ac_ext <<_ACEOF
2525 /* end confdefs.h. */
2528 #include <sys/types.h>
2529 #include <sys/stat.h>
2530 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2531 struct buf { int x; };
2532 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2533 static char *e (p, i)
2539 static char *f (char * (*g) (char **, int), char **p, ...)
2544 s = g (p, va_arg (v,int));
2549 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2550 function prototypes and stuff, but not '\xHH' hex character constants.
2551 These don't provoke an error unfortunately, instead are silently treated
2552 as 'x'. The following induces an error, until -std is added to get
2553 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2554 array size at least. It's necessary to write '\x00'==0 to get something
2555 that's true only with -std. */
2556 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2558 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2559 inside strings and character constants. */
2561 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2563 int test (int i, double x);
2564 struct s1 {int (*f) (int a);};
2565 struct s2 {int (*f) (double a);};
2566 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2572 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2577 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2578 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2580 CC="$ac_save_CC $ac_arg"
2581 rm -f conftest.$ac_objext
2582 if { (ac_try="$ac_compile"
2584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2585 *) ac_try_echo
=$ac_try;;
2587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2588 (eval "$ac_compile") 2>conftest.er1
2590 grep -v '^ *+' conftest.er1
>conftest.err
2592 cat conftest.err
>&5
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); } && {
2595 test -z "$ac_c_werror_flag" ||
2596 test ! -s conftest.err
2597 } && test -s conftest.
$ac_objext; then
2598 ac_cv_prog_cc_c89
=$ac_arg
2600 echo "$as_me: failed program was:" >&5
2601 sed 's/^/| /' conftest.
$ac_ext >&5
2606 rm -f core conftest.err conftest.
$ac_objext
2607 test "x$ac_cv_prog_cc_c89" != "xno" && break
2609 rm -f conftest.
$ac_ext
2614 case "x$ac_cv_prog_cc_c89" in
2616 { echo "$as_me:$LINENO: result: none needed" >&5
2617 echo "${ECHO_T}none needed" >&6; } ;;
2619 { echo "$as_me:$LINENO: result: unsupported" >&5
2620 echo "${ECHO_T}unsupported" >&6; } ;;
2622 CC
="$CC $ac_cv_prog_cc_c89"
2623 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2624 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2629 ac_cpp
='$CPP $CPPFLAGS'
2630 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2631 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2632 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2635 ### find out the path to BIND utils and version
2636 # Extract the first word of "dnssec-signzone", so it can be a program name with args.
2637 set dummy dnssec-signzone
; ac_word
=$2
2638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2640 if test "${ac_cv_path_SIGNZONE_PROG+set}" = set; then
2641 echo $ECHO_N "(cached) $ECHO_C" >&6
2643 case $SIGNZONE_PROG in
2645 ac_cv_path_SIGNZONE_PROG
="$SIGNZONE_PROG" # Let the user override the test with a path.
2648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2652 test -z "$as_dir" && as_dir
=.
2653 for ac_exec_ext
in '' $ac_executable_extensions; do
2654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2655 ac_cv_path_SIGNZONE_PROG
="$as_dir/$ac_word$ac_exec_ext"
2656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2666 SIGNZONE_PROG
=$ac_cv_path_SIGNZONE_PROG
2667 if test -n "$SIGNZONE_PROG"; then
2668 { echo "$as_me:$LINENO: result: $SIGNZONE_PROG" >&5
2669 echo "${ECHO_T}$SIGNZONE_PROG" >&6; }
2671 { echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6; }
2676 if test -z "$SIGNZONE_PROG" ; then
2677 # AC_MSG_ERROR([*** 'BIND dnssec-signzone dnssec-keygen' missing, please install or fix your \$PATH ***])
2678 { echo "$as_me:$LINENO: WARNING: *** 'BIND dnssec-signzone' missing, use default BIND_UTIL_PATH and BIND_VERSION setting out of config_zkt.h ***" >&5
2679 echo "$as_me: WARNING: *** 'BIND dnssec-signzone' missing, use default BIND_UTIL_PATH and BIND_VERSION setting out of config_zkt.h ***" >&2;}
2681 bind_util_path
=`dirname "$SIGNZONE_PROG"`
2682 # define BIND_UTIL_PATH in config.h.in
2684 cat >>confdefs.h
<<_ACEOF
2685 #define BIND_UTIL_PATH "$bind_util_path/"
2688 # define BIND_VERSION in config.h.in
2689 bind_version
=`$SIGNZONE_PROG 2>&1 | grep "Version:" | tr -cd "0-9" | sed "s/^\(...\).*/\1/"`
2691 cat >>confdefs.h
<<_ACEOF
2692 #define BIND_VERSION $bind_version
2699 ac_cpp
='$CPP $CPPFLAGS'
2700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2703 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2704 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2705 # On Suns, sometimes $CPP names a directory.
2706 if test -n "$CPP" && test -d "$CPP"; then
2709 if test -z "$CPP"; then
2710 if test "${ac_cv_prog_CPP+set}" = set; then
2711 echo $ECHO_N "(cached) $ECHO_C" >&6
2713 # Double quotes because CPP needs to be expanded
2714 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2717 for ac_c_preproc_warn_flag
in '' yes
2719 # Use a header file that comes with gcc, so configuring glibc
2720 # with a fresh cross-compiler works.
2721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2722 # <limits.h> exists even on freestanding compilers.
2723 # On the NeXT, cc -E runs the code through the compiler's parser,
2724 # not just through cpp. "Syntax error" is here to catch this case.
2725 cat >conftest.
$ac_ext <<_ACEOF
2728 cat confdefs.h
>>conftest.
$ac_ext
2729 cat >>conftest.
$ac_ext <<_ACEOF
2730 /* end confdefs.h. */
2732 # include <limits.h>
2734 # include <assert.h>
2738 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2746 grep -v '^ *+' conftest.er1 >conftest.err
2748 cat conftest.err >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); } >/dev/null && {
2751 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2752 test ! -s conftest.err
2756 echo "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.$ac_ext >&5
2759 # Broken: fails on valid input.
2763 rm -f conftest.err conftest.$ac_ext
2765 # OK, works on sane cases. Now check whether nonexistent headers
2766 # can be detected and how.
2767 cat >conftest.$ac_ext <<_ACEOF
2770 cat confdefs.h >>conftest.$ac_ext
2771 cat >>conftest.$ac_ext <<_ACEOF
2772 /* end confdefs.h. */
2773 #include <ac_nonexistent.h>
2775 if { (ac_try="$ac_cpp conftest.$ac_ext"
2777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2778 *) ac_try_echo
=$ac_try;;
2780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2783 grep -v '^ *+' conftest.er1
>conftest.err
2785 cat conftest.err
>&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); } >/dev
/null
&& {
2788 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2789 test ! -s conftest.err
2791 # Broken: success on invalid input.
2794 echo "$as_me: failed program was:" >&5
2795 sed 's/^/| /' conftest.
$ac_ext >&5
2797 # Passes both tests.
2802 rm -f conftest.err conftest.
$ac_ext
2805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2806 rm -f conftest.err conftest.
$ac_ext
2807 if $ac_preproc_ok; then
2819 { echo "$as_me:$LINENO: result: $CPP" >&5
2820 echo "${ECHO_T}$CPP" >&6; }
2822 for ac_c_preproc_warn_flag
in '' yes
2824 # Use a header file that comes with gcc, so configuring glibc
2825 # with a fresh cross-compiler works.
2826 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2827 # <limits.h> exists even on freestanding compilers.
2828 # On the NeXT, cc -E runs the code through the compiler's parser,
2829 # not just through cpp. "Syntax error" is here to catch this case.
2830 cat >conftest.
$ac_ext <<_ACEOF
2833 cat confdefs.h
>>conftest.
$ac_ext
2834 cat >>conftest.
$ac_ext <<_ACEOF
2835 /* end confdefs.h. */
2837 # include <limits.h>
2839 # include <assert.h>
2843 if { (ac_try
="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
2856 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2857 test ! -s conftest.err
2861 echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.$ac_ext >&5
2864 # Broken: fails on valid input.
2868 rm -f conftest.err conftest.$ac_ext
2870 # OK, works on sane cases. Now check whether nonexistent headers
2871 # can be detected and how.
2872 cat >conftest.$ac_ext <<_ACEOF
2875 cat confdefs.h >>conftest.$ac_ext
2876 cat >>conftest.$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2878 #include <ac_nonexistent.h>
2880 if { (ac_try="$ac_cpp conftest.$ac_ext"
2882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2883 *) ac_try_echo
=$ac_try;;
2885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2886 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2888 grep -v '^ *+' conftest.er1
>conftest.err
2890 cat conftest.err
>&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } >/dev
/null
&& {
2893 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2894 test ! -s conftest.err
2896 # Broken: success on invalid input.
2899 echo "$as_me: failed program was:" >&5
2900 sed 's/^/| /' conftest.
$ac_ext >&5
2902 # Passes both tests.
2907 rm -f conftest.err conftest.
$ac_ext
2910 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2911 rm -f conftest.err conftest.
$ac_ext
2912 if $ac_preproc_ok; then
2915 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2916 See \`config.log' for more details." >&5
2917 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2918 See \`config.log' for more details." >&2;}
2919 { (exit 1); exit 1; }; }
2923 ac_cpp
='$CPP $CPPFLAGS'
2924 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2925 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2926 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2929 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2930 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2931 if test "${ac_cv_path_GREP+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 # Extract the first word of "grep ggrep" to use in msg output
2935 if test -z "$GREP"; then
2936 set dummy
grep ggrep
; ac_prog_name
=$2
2937 if test "${ac_cv_path_GREP+set}" = set; then
2938 echo $ECHO_N "(cached) $ECHO_C" >&6
2940 ac_path_GREP_found
=false
2941 # Loop through the user's path and test for each of PROGNAME-LIST
2942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2943 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
2946 test -z "$as_dir" && as_dir
=.
2947 for ac_prog
in grep ggrep
; do
2948 for ac_exec_ext
in '' $ac_executable_extensions; do
2949 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
2950 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
2951 # Check for GNU ac_path_GREP and select it if it is found.
2952 # Check for GNU $ac_path_GREP
2953 case `"$ac_path_GREP" --version 2>&1` in
2955 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
2958 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2961 cat "conftest.in" "conftest.in" >"conftest.tmp"
2962 mv "conftest.tmp" "conftest.in"
2963 cp "conftest.in" "conftest.nl"
2964 echo 'GREP' >> "conftest.nl"
2965 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2966 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2967 ac_count
=`expr $ac_count + 1`
2968 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2969 # Best one so far, save it but keep looking for a better one
2970 ac_cv_path_GREP
="$ac_path_GREP"
2971 ac_path_GREP_max
=$ac_count
2973 # 10*(2^10) chars as input seems more than enough
2974 test $ac_count -gt 10 && break
2976 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2980 $ac_path_GREP_found && break 3
2990 GREP
="$ac_cv_path_GREP"
2991 if test -z "$GREP"; then
2992 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2993 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2994 { (exit 1); exit 1; }; }
2998 ac_cv_path_GREP
=$GREP
3003 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3004 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3005 GREP
="$ac_cv_path_GREP"
3008 { echo "$as_me:$LINENO: checking for egrep" >&5
3009 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3010 if test "${ac_cv_path_EGREP+set}" = set; then
3011 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3014 then ac_cv_path_EGREP
="$GREP -E"
3016 # Extract the first word of "egrep" to use in msg output
3017 if test -z "$EGREP"; then
3018 set dummy
egrep; ac_prog_name
=$2
3019 if test "${ac_cv_path_EGREP+set}" = set; then
3020 echo $ECHO_N "(cached) $ECHO_C" >&6
3022 ac_path_EGREP_found
=false
3023 # Loop through the user's path and test for each of PROGNAME-LIST
3024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3025 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3028 test -z "$as_dir" && as_dir
=.
3029 for ac_prog
in egrep; do
3030 for ac_exec_ext
in '' $ac_executable_extensions; do
3031 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3032 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3033 # Check for GNU ac_path_EGREP and select it if it is found.
3034 # Check for GNU $ac_path_EGREP
3035 case `"$ac_path_EGREP" --version 2>&1` in
3037 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3040 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3043 cat "conftest.in" "conftest.in" >"conftest.tmp"
3044 mv "conftest.tmp" "conftest.in"
3045 cp "conftest.in" "conftest.nl"
3046 echo 'EGREP' >> "conftest.nl"
3047 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3048 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3049 ac_count
=`expr $ac_count + 1`
3050 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3051 # Best one so far, save it but keep looking for a better one
3052 ac_cv_path_EGREP
="$ac_path_EGREP"
3053 ac_path_EGREP_max
=$ac_count
3055 # 10*(2^10) chars as input seems more than enough
3056 test $ac_count -gt 10 && break
3058 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3062 $ac_path_EGREP_found && break 3
3072 EGREP
="$ac_cv_path_EGREP"
3073 if test -z "$EGREP"; then
3074 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3075 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3076 { (exit 1); exit 1; }; }
3080 ac_cv_path_EGREP
=$EGREP
3086 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3087 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3088 EGREP
="$ac_cv_path_EGREP"
3091 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3092 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3093 if test "${ac_cv_header_stdc+set}" = set; then
3094 echo $ECHO_N "(cached) $ECHO_C" >&6
3096 cat >conftest.
$ac_ext <<_ACEOF
3099 cat confdefs.h
>>conftest.
$ac_ext
3100 cat >>conftest.
$ac_ext <<_ACEOF
3101 /* end confdefs.h. */
3115 rm -f conftest.
$ac_objext
3116 if { (ac_try
="$ac_compile"
3118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_compile") 2>conftest.er1
3124 grep -v '^ *+' conftest.er1 >conftest.err
3126 cat conftest.err >&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); } && {
3129 test -z "$ac_c_werror_flag" ||
3130 test ! -s conftest.err
3131 } && test -s conftest.$ac_objext; then
3132 ac_cv_header_stdc=yes
3134 echo "$as_me: failed program was:" >&5
3135 sed 's/^/| /' conftest.$ac_ext >&5
3137 ac_cv_header_stdc=no
3140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3142 if test $ac_cv_header_stdc = yes; then
3143 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3144 cat >conftest.$ac_ext <<_ACEOF
3147 cat confdefs.h >>conftest.$ac_ext
3148 cat >>conftest.$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3154 $EGREP "memchr" >/dev/null 2>&1; then
3157 ac_cv_header_stdc=no
3163 if test $ac_cv_header_stdc = yes; then
3164 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3165 cat >conftest.$ac_ext <<_ACEOF
3168 cat confdefs.h >>conftest.$ac_ext
3169 cat >>conftest.$ac_ext <<_ACEOF
3170 /* end confdefs.h. */
3174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3175 $EGREP "free" >/dev/null 2>&1; then
3178 ac_cv_header_stdc=no
3184 if test $ac_cv_header_stdc = yes; then
3185 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3186 if test "$cross_compiling" = yes; then
3189 cat >conftest.$ac_ext <<_ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3197 #if ((' ' & 0x0FF) == 0x020)
3198 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3199 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3201 # define ISLOWER(c) \
3202 (('a' <= (c) && (c) <= 'i') \
3203 || ('j' <= (c) && (c) <= 'r') \
3204 || ('s' <= (c) && (c) <= 'z'))
3205 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3208 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3213 for (i = 0; i < 256; i++)
3214 if (XOR (islower (i), ISLOWER (i))
3215 || toupper (i) != TOUPPER (i))
3220 rm -f conftest$ac_exeext
3221 if { (ac_try="$ac_link"
3223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3224 *) ac_try_echo
=$ac_try;;
3226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3227 (eval "$ac_link") 2>&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3231 { (case "(($ac_try" in
3232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3236 (eval "$ac_try") 2>&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); }; }; then
3242 echo "$as_me: program exited with status $ac_status" >&5
3243 echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.$ac_ext >&5
3247 ac_cv_header_stdc=no
3249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3255 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3256 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3257 if test $ac_cv_header_stdc = yes; then
3259 cat >>confdefs.h <<\_ACEOF
3260 #define STDC_HEADERS 1
3265 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3275 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3276 inttypes.h stdint.h unistd.h
3278 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3279 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3281 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3282 echo $ECHO_N "(cached) $ECHO_C" >&6
3284 cat >conftest.$ac_ext <<_ACEOF
3287 cat confdefs.h >>conftest.$ac_ext
3288 cat >>conftest.$ac_ext <<_ACEOF
3289 /* end confdefs.h. */
3290 $ac_includes_default
3292 #include <$ac_header>
3294 rm -f conftest.$ac_objext
3295 if { (ac_try="$ac_compile"
3297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3298 *) ac_try_echo
=$ac_try;;
3300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3301 (eval "$ac_compile") 2>conftest.er1
3303 grep -v '^ *+' conftest.er1
>conftest.err
3305 cat conftest.err
>&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); } && {
3308 test -z "$ac_c_werror_flag" ||
3309 test ! -s conftest.err
3310 } && test -s conftest.
$ac_objext; then
3311 eval "$as_ac_Header=yes"
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.
$ac_ext >&5
3316 eval "$as_ac_Header=no"
3319 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3321 ac_res
=`eval echo '${'$as_ac_Header'}'`
3322 { echo "$as_me:$LINENO: result: $ac_res" >&5
3323 echo "${ECHO_T}$ac_res" >&6; }
3324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3325 cat >>confdefs.h
<<_ACEOF
3326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3334 { echo "$as_me:$LINENO: checking for uint" >&5
3335 echo $ECHO_N "checking for uint... $ECHO_C" >&6; }
3336 if test "${ac_cv_type_uint+set}" = set; then
3337 echo $ECHO_N "(cached) $ECHO_C" >&6
3339 cat >conftest.
$ac_ext <<_ACEOF
3342 cat confdefs.h
>>conftest.
$ac_ext
3343 cat >>conftest.
$ac_ext <<_ACEOF
3344 /* end confdefs.h. */
3345 $ac_includes_default
3346 typedef uint ac__type_new_;
3350 if ((ac__type_new_ *) 0)
3352 if (sizeof (ac__type_new_))
3358 rm -f conftest.
$ac_objext
3359 if { (ac_try
="$ac_compile"
3361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3362 *) ac_try_echo=$ac_try;;
3364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3365 (eval "$ac_compile") 2>conftest.er1
3367 grep -v '^ *+' conftest.er1 >conftest.err
3369 cat conftest.err >&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); } && {
3372 test -z "$ac_c_werror_flag" ||
3373 test ! -s conftest.err
3374 } && test -s conftest.$ac_objext; then
3377 echo "$as_me: failed program was:" >&5
3378 sed 's/^/| /' conftest.$ac_ext >&5
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 { echo "$as_me:$LINENO: result: $ac_cv_type_uint" >&5
3386 echo "${ECHO_T}$ac_cv_type_uint" >&6; }
3387 if test $ac_cv_type_uint = yes; then
3391 cat >>confdefs.h <<_ACEOF
3392 #define uint unsigned int
3397 { echo "$as_me:$LINENO: checking for ulong" >&5
3398 echo $ECHO_N "checking for ulong... $ECHO_C" >&6; }
3399 if test "${ac_cv_type_ulong+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3402 cat >conftest.$ac_ext <<_ACEOF
3405 cat confdefs.h >>conftest.$ac_ext
3406 cat >>conftest.$ac_ext <<_ACEOF
3407 /* end confdefs.h. */
3408 $ac_includes_default
3409 typedef ulong ac__type_new_;
3413 if ((ac__type_new_ *) 0)
3415 if (sizeof (ac__type_new_))
3421 rm -f conftest.$ac_objext
3422 if { (ac_try="$ac_compile"
3424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3425 *) ac_try_echo
=$ac_try;;
3427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3428 (eval "$ac_compile") 2>conftest.er1
3430 grep -v '^ *+' conftest.er1
>conftest.err
3432 cat conftest.err
>&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } && {
3435 test -z "$ac_c_werror_flag" ||
3436 test ! -s conftest.err
3437 } && test -s conftest.
$ac_objext; then
3438 ac_cv_type_ulong
=yes
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.
$ac_ext >&5
3446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3448 { echo "$as_me:$LINENO: result: $ac_cv_type_ulong" >&5
3449 echo "${ECHO_T}$ac_cv_type_ulong" >&6; }
3450 if test $ac_cv_type_ulong = yes; then
3454 cat >>confdefs.h
<<_ACEOF
3455 #define ulong unsigned long
3460 { echo "$as_me:$LINENO: checking for ushort" >&5
3461 echo $ECHO_N "checking for ushort... $ECHO_C" >&6; }
3462 if test "${ac_cv_type_ushort+set}" = set; then
3463 echo $ECHO_N "(cached) $ECHO_C" >&6
3465 cat >conftest.
$ac_ext <<_ACEOF
3468 cat confdefs.h
>>conftest.
$ac_ext
3469 cat >>conftest.
$ac_ext <<_ACEOF
3470 /* end confdefs.h. */
3471 $ac_includes_default
3472 typedef ushort ac__type_new_;
3476 if ((ac__type_new_ *) 0)
3478 if (sizeof (ac__type_new_))
3484 rm -f conftest.
$ac_objext
3485 if { (ac_try
="$ac_compile"
3487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3488 *) ac_try_echo=$ac_try;;
3490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3491 (eval "$ac_compile") 2>conftest.er1
3493 grep -v '^ *+' conftest.er1 >conftest.err
3495 cat conftest.err >&5
3496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497 (exit $ac_status); } && {
3498 test -z "$ac_c_werror_flag" ||
3499 test ! -s conftest.err
3500 } && test -s conftest.$ac_objext; then
3501 ac_cv_type_ushort=yes
3503 echo "$as_me: failed program was:" >&5
3504 sed 's/^/| /' conftest.$ac_ext >&5
3506 ac_cv_type_ushort=no
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 { echo "$as_me:$LINENO: result: $ac_cv_type_ushort" >&5
3512 echo "${ECHO_T}$ac_cv_type_ushort" >&6; }
3513 if test $ac_cv_type_ushort = yes; then
3517 cat >>confdefs.h <<_ACEOF
3518 #define ushort unsigned short
3523 { echo "$as_me:$LINENO: checking for uchar" >&5
3524 echo $ECHO_N "checking for uchar... $ECHO_C" >&6; }
3525 if test "${ac_cv_type_uchar+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 cat >conftest.$ac_ext <<_ACEOF
3531 cat confdefs.h >>conftest.$ac_ext
3532 cat >>conftest.$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3534 $ac_includes_default
3535 typedef uchar ac__type_new_;
3539 if ((ac__type_new_ *) 0)
3541 if (sizeof (ac__type_new_))
3547 rm -f conftest.$ac_objext
3548 if { (ac_try="$ac_compile"
3550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3551 *) ac_try_echo
=$ac_try;;
3553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3554 (eval "$ac_compile") 2>conftest.er1
3556 grep -v '^ *+' conftest.er1
>conftest.err
3558 cat conftest.err
>&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } && {
3561 test -z "$ac_c_werror_flag" ||
3562 test ! -s conftest.err
3563 } && test -s conftest.
$ac_objext; then
3564 ac_cv_type_uchar
=yes
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.
$ac_ext >&5
3572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3574 { echo "$as_me:$LINENO: result: $ac_cv_type_uchar" >&5
3575 echo "${ECHO_T}$ac_cv_type_uchar" >&6; }
3576 if test $ac_cv_type_uchar = yes; then
3580 cat >>confdefs.h
<<_ACEOF
3581 #define uchar unsigned char
3587 ### define configure arguments
3588 # Check whether --enable-printtimezone was given.
3589 if test "${enable_printtimezone+set}" = set; then
3590 enableval
=$enable_printtimezone; printtimezone
=$enableval
3594 test "$printtimezone" = yes && printtimezone
=1
3596 cat >>confdefs.h
<<_ACEOF
3597 #define PRINT_TIMEZONE $printtimezone
3601 # Check whether --enable-printyear was given.
3602 if test "${enable_printyear+set}" = set; then
3603 enableval
=$enable_printyear; printyear
=$enableval
3607 test "$printyear" = yes && printyear
=1
3609 cat >>confdefs.h
<<_ACEOF
3610 #define PRINT_AGE_OF_YEAR $printyear
3614 # Check whether --enable-logprogname was given.
3615 if test "${enable_logprogname+set}" = set; then
3616 enableval
=$enable_logprogname; logprogname
=$enableval
3620 test "$logprogname" = yes && logprogname
=1
3622 cat >>confdefs.h
<<_ACEOF
3623 #define LOG_WITH_PROGNAME $logprogname
3627 # Check whether --enable-logtimestamp was given.
3628 if test "${enable_logtimestamp+set}" = set; then
3629 enableval
=$enable_logtimestamp; logtimestamp
=$enableval
3633 test "$logtimestamp" = no
&& logtimestamp
=0
3635 cat >>confdefs.h
<<_ACEOF
3636 #define LOG_WITH_TIMESTAMP $logtimestamp
3640 # Check whether --enable-loglevel was given.
3641 if test "${enable_loglevel+set}" = set; then
3642 enableval
=$enable_loglevel; loglevel
=$enableval
3646 test "$loglevel" = no
&& loglevel
=0
3648 cat >>confdefs.h
<<_ACEOF
3649 #define LOG_WITH_LEVEL $loglevel
3653 # Check whether --enable-ttl_in_keyfile was given.
3654 if test "${enable_ttl_in_keyfile+set}" = set; then
3655 enableval
=$enable_ttl_in_keyfile; ttl_in_keyfile
=$enableval
3659 test "$ttl_in_keyfile" = no
&& ttl_in_keyfile
=0
3661 cat >>confdefs.h
<<_ACEOF
3662 #define TTL_IN_KEYFILE_ALLOWED $ttl_in_keyfile
3666 configpath
="/var/named"
3667 # Check whether --enable-configpath was given.
3668 if test "${enable_configpath+set}" = set; then
3669 enableval
=$enable_configpath; configpath
=$enableval
3672 case "$configpath" in
3674 configpath
="/var/named"
3683 cat >>confdefs.h
<<_ACEOF
3684 #define CONFIG_PATH "$configpath/"
3690 # Check whether --enable-tree was given.
3691 if test "${enable_tree+set}" = set; then
3692 enableval
=$enable_tree; usetree
=$enableval
3695 if test "$usetree" = no
3701 cat >>confdefs.h
<<_ACEOF
3702 #define USE_TREE $usetree
3707 cat >>confdefs.h
<<_ACEOF
3708 #define ZKT_VERSION "v$t$PACKAGE_VERSION (c) Feb 2005 - Aug 2009 Holger Zuleger hznet.de"
3712 ### Checks for libraries.
3715 ### Checks for header files.
3722 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3723 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3724 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3725 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
3726 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3727 echo $ECHO_N "(cached) $ECHO_C" >&6
3729 cat >conftest.
$ac_ext <<_ACEOF
3732 cat confdefs.h
>>conftest.
$ac_ext
3733 cat >>conftest.
$ac_ext <<_ACEOF
3734 /* end confdefs.h. */
3735 #include <sys/types.h>
3747 rm -f conftest.
$ac_objext
3748 if { (ac_try
="$ac_compile"
3750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3751 *) ac_try_echo=$ac_try;;
3753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3754 (eval "$ac_compile") 2>conftest.er1
3756 grep -v '^ *+' conftest.er1 >conftest.err
3758 cat conftest.err >&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); } && {
3761 test -z "$ac_c_werror_flag" ||
3762 test ! -s conftest.err
3763 } && test -s conftest.$ac_objext; then
3764 eval "$as_ac_Header=yes"
3766 echo "$as_me: failed program was:" >&5
3767 sed 's/^/| /' conftest.$ac_ext >&5
3769 eval "$as_ac_Header=no"
3772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3774 ac_res=`eval echo '${'$as_ac_Header'}'`
3775 { echo "$as_me:$LINENO: result: $ac_res" >&5
3776 echo "${ECHO_T}$ac_res" >&6; }
3777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3778 cat >>confdefs.h <<_ACEOF
3779 #define `echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
3782 ac_header_dirent=$ac_hdr; break
3786 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3787 if test $ac_header_dirent = dirent.h; then
3788 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3789 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3790 if test "${ac_cv_search_opendir+set}" = set; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3793 ac_func_search_save_LIBS=$LIBS
3794 cat >conftest.$ac_ext <<_ACEOF
3797 cat confdefs.h >>conftest.$ac_ext
3798 cat >>conftest.$ac_ext <<_ACEOF
3799 /* end confdefs.h. */
3801 /* Override any GCC internal prototype to avoid an error.
3802 Use char because int might match the return type of a GCC
3803 builtin and then its argument prototype would still apply. */
3816 for ac_lib in '' dir; do
3817 if test -z "$ac_lib"; then
3818 ac_res="none required"
3821 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3823 rm -f conftest.$ac_objext conftest$ac_exeext
3824 if { (ac_try="$ac_link"
3826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3827 *) ac_try_echo
=$ac_try;;
3829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3830 (eval "$ac_link") 2>conftest.er1
3832 grep -v '^ *+' conftest.er1
>conftest.err
3834 cat conftest.err
>&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); } && {
3837 test -z "$ac_c_werror_flag" ||
3838 test ! -s conftest.err
3839 } && test -s conftest
$ac_exeext &&
3840 $as_test_x conftest
$ac_exeext; then
3841 ac_cv_search_opendir
=$ac_res
3843 echo "$as_me: failed program was:" >&5
3844 sed 's/^/| /' conftest.
$ac_ext >&5
3849 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3851 if test "${ac_cv_search_opendir+set}" = set; then
3855 if test "${ac_cv_search_opendir+set}" = set; then
3858 ac_cv_search_opendir
=no
3861 LIBS
=$ac_func_search_save_LIBS
3863 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3864 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
3865 ac_res
=$ac_cv_search_opendir
3866 if test "$ac_res" != no
; then
3867 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3872 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
3873 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
3874 if test "${ac_cv_search_opendir+set}" = set; then
3875 echo $ECHO_N "(cached) $ECHO_C" >&6
3877 ac_func_search_save_LIBS
=$LIBS
3878 cat >conftest.
$ac_ext <<_ACEOF
3881 cat confdefs.h
>>conftest.
$ac_ext
3882 cat >>conftest.
$ac_ext <<_ACEOF
3883 /* end confdefs.h. */
3885 /* Override any GCC internal prototype to avoid an error.
3886 Use char because int might match the return type of a GCC
3887 builtin and then its argument prototype would still apply. */
3900 for ac_lib
in '' x
; do
3901 if test -z "$ac_lib"; then
3902 ac_res
="none required"
3905 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3907 rm -f conftest.
$ac_objext conftest
$ac_exeext
3908 if { (ac_try
="$ac_link"
3910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3911 *) ac_try_echo=$ac_try;;
3913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914 (eval "$ac_link") 2>conftest.er1
3916 grep -v '^ *+' conftest.er1 >conftest.err
3918 cat conftest.err >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); } && {
3921 test -z "$ac_c_werror_flag" ||
3922 test ! -s conftest.err
3923 } && test -s conftest$ac_exeext &&
3924 $as_test_x conftest$ac_exeext; then
3925 ac_cv_search_opendir=$ac_res
3927 echo "$as_me: failed program was:" >&5
3928 sed 's/^/| /' conftest.$ac_ext >&5
3933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3935 if test "${ac_cv_search_opendir+set}" = set; then
3939 if test "${ac_cv_search_opendir+set}" = set; then
3942 ac_cv_search_opendir=no
3945 LIBS=$ac_func_search_save_LIBS
3947 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3948 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
3949 ac_res=$ac_cv_search_opendir
3950 if test "$ac_res" != no; then
3951 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3957 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3958 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3959 if test "${ac_cv_header_stdc+set}" = set; then
3960 echo $ECHO_N "(cached) $ECHO_C" >&6
3962 cat >conftest.$ac_ext <<_ACEOF
3965 cat confdefs.h >>conftest.$ac_ext
3966 cat >>conftest.$ac_ext <<_ACEOF
3967 /* end confdefs.h. */
3981 rm -f conftest.$ac_objext
3982 if { (ac_try="$ac_compile"
3984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3985 *) ac_try_echo
=$ac_try;;
3987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3988 (eval "$ac_compile") 2>conftest.er1
3990 grep -v '^ *+' conftest.er1
>conftest.err
3992 cat conftest.err
>&5
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); } && {
3995 test -z "$ac_c_werror_flag" ||
3996 test ! -s conftest.err
3997 } && test -s conftest.
$ac_objext; then
3998 ac_cv_header_stdc
=yes
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.
$ac_ext >&5
4003 ac_cv_header_stdc
=no
4006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4008 if test $ac_cv_header_stdc = yes; then
4009 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4010 cat >conftest.
$ac_ext <<_ACEOF
4013 cat confdefs.h
>>conftest.
$ac_ext
4014 cat >>conftest.
$ac_ext <<_ACEOF
4015 /* end confdefs.h. */
4019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4020 $EGREP "memchr" >/dev
/null
2>&1; then
4023 ac_cv_header_stdc
=no
4029 if test $ac_cv_header_stdc = yes; then
4030 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4031 cat >conftest.
$ac_ext <<_ACEOF
4034 cat confdefs.h
>>conftest.
$ac_ext
4035 cat >>conftest.
$ac_ext <<_ACEOF
4036 /* end confdefs.h. */
4040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4041 $EGREP "free" >/dev
/null
2>&1; then
4044 ac_cv_header_stdc
=no
4050 if test $ac_cv_header_stdc = yes; then
4051 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4052 if test "$cross_compiling" = yes; then
4055 cat >conftest.
$ac_ext <<_ACEOF
4058 cat confdefs.h
>>conftest.
$ac_ext
4059 cat >>conftest.
$ac_ext <<_ACEOF
4060 /* end confdefs.h. */
4063 #if ((' ' & 0x0FF) == 0x020)
4064 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4065 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4067 # define ISLOWER(c) \
4068 (('a' <= (c) && (c) <= 'i') \
4069 || ('j' <= (c) && (c) <= 'r') \
4070 || ('s' <= (c) && (c) <= 'z'))
4071 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4074 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4079 for (i = 0; i < 256; i++)
4080 if (XOR (islower (i), ISLOWER (i))
4081 || toupper (i) != TOUPPER (i))
4086 rm -f conftest
$ac_exeext
4087 if { (ac_try
="$ac_link"
4089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4090 *) ac_try_echo=$ac_try;;
4092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4093 (eval "$ac_link") 2>&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4097 { (case "(($ac_try" in
4098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4099 *) ac_try_echo
=$ac_try;;
4101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4102 (eval "$ac_try") 2>&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; }; then
4108 echo "$as_me: program exited with status $ac_status" >&5
4109 echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.
$ac_ext >&5
4113 ac_cv_header_stdc
=no
4115 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4121 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4122 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4123 if test $ac_cv_header_stdc = yes; then
4125 cat >>confdefs.h
<<\_ACEOF
4126 #define STDC_HEADERS 1
4143 for ac_header
in fcntl.h netdb.h stdlib.h getopt.h string.h
strings.h sys
/socket.h sys
/time.h sys
/types.h syslog.h unistd.h utime.h
4145 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4146 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4147 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4149 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 ac_res
=`eval echo '${'$as_ac_Header'}'`
4153 { echo "$as_me:$LINENO: result: $ac_res" >&5
4154 echo "${ECHO_T}$ac_res" >&6; }
4156 # Is the header compilable?
4157 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4158 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4159 cat >conftest.
$ac_ext <<_ACEOF
4162 cat confdefs.h
>>conftest.
$ac_ext
4163 cat >>conftest.
$ac_ext <<_ACEOF
4164 /* end confdefs.h. */
4165 $ac_includes_default
4166 #include <$ac_header>
4168 rm -f conftest.
$ac_objext
4169 if { (ac_try
="$ac_compile"
4171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4172 *) ac_try_echo=$ac_try;;
4174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4175 (eval "$ac_compile") 2>conftest.er1
4177 grep -v '^ *+' conftest.er1 >conftest.err
4179 cat conftest.err >&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); } && {
4182 test -z "$ac_c_werror_flag" ||
4183 test ! -s conftest.err
4184 } && test -s conftest.$ac_objext; then
4185 ac_header_compiler=yes
4187 echo "$as_me: failed program was:" >&5
4188 sed 's/^/| /' conftest.$ac_ext >&5
4190 ac_header_compiler=no
4193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4194 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4195 echo "${ECHO_T}$ac_header_compiler" >&6; }
4197 # Is the header present?
4198 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4200 cat >conftest.$ac_ext <<_ACEOF
4203 cat confdefs.h >>conftest.$ac_ext
4204 cat >>conftest.$ac_ext <<_ACEOF
4205 /* end confdefs.h. */
4206 #include <$ac_header>
4208 if { (ac_try="$ac_cpp conftest.$ac_ext"
4210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4211 *) ac_try_echo
=$ac_try;;
4213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4214 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4216 grep -v '^ *+' conftest.er1
>conftest.err
4218 cat conftest.err
>&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); } >/dev
/null
&& {
4221 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4222 test ! -s conftest.err
4224 ac_header_preproc
=yes
4226 echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.
$ac_ext >&5
4229 ac_header_preproc
=no
4232 rm -f conftest.err conftest.
$ac_ext
4233 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4234 echo "${ECHO_T}$ac_header_preproc" >&6; }
4236 # So? What about this header?
4237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4239 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4240 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4242 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4243 ac_header_preproc
=yes
4246 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4247 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4248 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4249 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4250 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4251 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4252 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4253 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4256 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4257 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4259 ## -------------------------------------- ##
4260 ## Report this to Holger Zuleger hznet.de ##
4261 ## -------------------------------------- ##
4263 ) |
sed "s/^/$as_me: WARNING: /" >&2
4266 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4268 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4269 echo $ECHO_N "(cached) $ECHO_C" >&6
4271 eval "$as_ac_Header=\$ac_header_preproc"
4273 ac_res
=`eval echo '${'$as_ac_Header'}'`
4274 { echo "$as_me:$LINENO: result: $ac_res" >&5
4275 echo "${ECHO_T}$ac_res" >&6; }
4278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4279 cat >>confdefs.h
<<_ACEOF
4280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4289 ### Checks for typedefs, structures, and compiler characteristics.
4290 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4291 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4292 if test "${ac_cv_c_const+set}" = set; then
4293 echo $ECHO_N "(cached) $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. */
4305 /* FIXME: Include the comments suggested by Paul. */
4307 /* Ultrix mips cc rejects this. */
4308 typedef int charset[2];
4310 /* SunOS 4.1.1 cc rejects this. */
4311 char const *const *pcpcc;
4313 /* NEC SVR4.0.2 mips cc rejects this. */
4314 struct point {int x, y;};
4315 static struct point const zero = {0,0};
4316 /* AIX XL C 1.02.0.0 rejects this.
4317 It does not let you subtract one const X* pointer from another in
4318 an arm of an if-expression whose if-part is not a constant
4320 const char *g = "string";
4321 pcpcc = &g + (g ? g-g : 0);
4322 /* HPUX 7.0 cc rejects these. */
4324 ppc = (char**) pcpcc;
4325 pcpcc = (char const *const *) ppc;
4326 { /* SCO 3.2v4 cc rejects this. */
4328 char const *s = 0 ? (char *) 0 : (char const *) 0;
4333 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4335 const int *foo = &x[0];
4338 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4339 typedef const int *iptr;
4343 { /* AIX XL C 1.02.0.0 rejects this saying
4344 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4345 struct s { int j; const int *ap[3]; };
4346 struct s *b; b->j = 5;
4348 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4352 return !cs[0] && !zero.x;
4359 rm -f conftest.
$ac_objext
4360 if { (ac_try
="$ac_compile"
4362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4363 *) ac_try_echo=$ac_try;;
4365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366 (eval "$ac_compile") 2>conftest.er1
4368 grep -v '^ *+' conftest.er1 >conftest.err
4370 cat conftest.err >&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } && {
4373 test -z "$ac_c_werror_flag" ||
4374 test ! -s conftest.err
4375 } && test -s conftest.$ac_objext; then
4378 echo "$as_me: failed program was:" >&5
4379 sed 's/^/| /' conftest.$ac_ext >&5
4384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4386 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4387 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4388 if test $ac_cv_c_const = no; then
4390 cat >>confdefs.h <<\_ACEOF
4396 { echo "$as_me:$LINENO: checking for size_t" >&5
4397 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
4398 if test "${ac_cv_type_size_t+set}" = set; then
4399 echo $ECHO_N "(cached) $ECHO_C" >&6
4401 cat >conftest.$ac_ext <<_ACEOF
4404 cat confdefs.h >>conftest.$ac_ext
4405 cat >>conftest.$ac_ext <<_ACEOF
4406 /* end confdefs.h. */
4407 $ac_includes_default
4408 typedef size_t ac__type_new_;
4412 if ((ac__type_new_ *) 0)
4414 if (sizeof (ac__type_new_))
4420 rm -f conftest.$ac_objext
4421 if { (ac_try="$ac_compile"
4423 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4424 *) ac_try_echo
=$ac_try;;
4426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4427 (eval "$ac_compile") 2>conftest.er1
4429 grep -v '^ *+' conftest.er1
>conftest.err
4431 cat conftest.err
>&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } && {
4434 test -z "$ac_c_werror_flag" ||
4435 test ! -s conftest.err
4436 } && test -s conftest.
$ac_objext; then
4437 ac_cv_type_size_t
=yes
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.
$ac_ext >&5
4442 ac_cv_type_size_t
=no
4445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4447 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4448 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
4449 if test $ac_cv_type_size_t = yes; then
4453 cat >>confdefs.h
<<_ACEOF
4454 #define size_t unsigned int
4459 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4460 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
4461 if test "${ac_cv_header_time+set}" = set; then
4462 echo $ECHO_N "(cached) $ECHO_C" >&6
4464 cat >conftest.
$ac_ext <<_ACEOF
4467 cat confdefs.h
>>conftest.
$ac_ext
4468 cat >>conftest.
$ac_ext <<_ACEOF
4469 /* end confdefs.h. */
4470 #include <sys/types.h>
4471 #include <sys/time.h>
4477 if ((struct tm *) 0)
4483 rm -f conftest.
$ac_objext
4484 if { (ac_try
="$ac_compile"
4486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4487 *) ac_try_echo=$ac_try;;
4489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4490 (eval "$ac_compile") 2>conftest.er1
4492 grep -v '^ *+' conftest.er1 >conftest.err
4494 cat conftest.err >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); } && {
4497 test -z "$ac_c_werror_flag" ||
4498 test ! -s conftest.err
4499 } && test -s conftest.$ac_objext; then
4500 ac_cv_header_time=yes
4502 echo "$as_me: failed program was:" >&5
4503 sed 's/^/| /' conftest.$ac_ext >&5
4505 ac_cv_header_time=no
4508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4510 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4511 echo "${ECHO_T}$ac_cv_header_time" >&6; }
4512 if test $ac_cv_header_time = yes; then
4514 cat >>confdefs.h <<\_ACEOF
4515 #define TIME_WITH_SYS_TIME 1
4520 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4521 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
4522 if test "${ac_cv_struct_tm+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 cat >conftest.$ac_ext <<_ACEOF
4528 cat confdefs.h >>conftest.$ac_ext
4529 cat >>conftest.$ac_ext <<_ACEOF
4530 /* end confdefs.h. */
4531 #include <sys/types.h>
4538 int *p = &tm.tm_sec;
4544 rm -f conftest.$ac_objext
4545 if { (ac_try="$ac_compile"
4547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4548 *) ac_try_echo
=$ac_try;;
4550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4551 (eval "$ac_compile") 2>conftest.er1
4553 grep -v '^ *+' conftest.er1
>conftest.err
4555 cat conftest.err
>&5
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); } && {
4558 test -z "$ac_c_werror_flag" ||
4559 test ! -s conftest.err
4560 } && test -s conftest.
$ac_objext; then
4561 ac_cv_struct_tm
=time.h
4563 echo "$as_me: failed program was:" >&5
4564 sed 's/^/| /' conftest.
$ac_ext >&5
4566 ac_cv_struct_tm
=sys
/time.h
4569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4571 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4572 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
4573 if test $ac_cv_struct_tm = sys
/time.h
; then
4575 cat >>confdefs.h
<<\_ACEOF
4576 #define TM_IN_SYS_TIME 1
4581 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
4582 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
4583 if test "${ac_cv_type_uid_t+set}" = set; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 cat >conftest.
$ac_ext <<_ACEOF
4589 cat confdefs.h
>>conftest.
$ac_ext
4590 cat >>conftest.
$ac_ext <<_ACEOF
4591 /* end confdefs.h. */
4592 #include <sys/types.h>
4595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4596 $EGREP "uid_t" >/dev
/null
2>&1; then
4597 ac_cv_type_uid_t
=yes
4604 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
4605 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
4606 if test $ac_cv_type_uid_t = no
; then
4608 cat >>confdefs.h
<<\_ACEOF
4613 cat >>confdefs.h
<<\_ACEOF
4621 ### Checks for library functions.
4622 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
4623 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
4624 if test "${ac_cv_func_closedir_void+set}" = set; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4627 if test "$cross_compiling" = yes; then
4628 ac_cv_func_closedir_void
=yes
4630 cat >conftest.
$ac_ext <<_ACEOF
4633 cat confdefs.h
>>conftest.
$ac_ext
4634 cat >>conftest.
$ac_ext <<_ACEOF
4635 /* end confdefs.h. */
4636 $ac_includes_default
4637 #include <$ac_header_dirent>
4645 return closedir (opendir (".")) != 0;
4650 rm -f conftest
$ac_exeext
4651 if { (ac_try
="$ac_link"
4653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4654 *) ac_try_echo=$ac_try;;
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_link") 2>&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4661 { (case "(($ac_try" in
4662 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4663 *) ac_try_echo
=$ac_try;;
4665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4666 (eval "$ac_try") 2>&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_func_closedir_void
=no
4672 echo "$as_me: program exited with status $ac_status" >&5
4673 echo "$as_me: failed program was:" >&5
4674 sed 's/^/| /' conftest.
$ac_ext >&5
4677 ac_cv_func_closedir_void
=yes
4679 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4684 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
4685 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
4686 if test $ac_cv_func_closedir_void = yes; then
4688 cat >>confdefs.h
<<\_ACEOF
4689 #define CLOSEDIR_VOID 1
4694 { echo "$as_me:$LINENO: checking for error_at_line" >&5
4695 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6; }
4696 if test "${ac_cv_lib_error_at_line+set}" = set; then
4697 echo $ECHO_N "(cached) $ECHO_C" >&6
4699 cat >conftest.
$ac_ext <<_ACEOF
4702 cat confdefs.h
>>conftest.
$ac_ext
4703 cat >>conftest.
$ac_ext <<_ACEOF
4704 /* end confdefs.h. */
4709 error_at_line (0, 0, "", 0, "an error occurred");
4714 rm -f conftest.
$ac_objext conftest
$ac_exeext
4715 if { (ac_try
="$ac_link"
4717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4718 *) ac_try_echo=$ac_try;;
4720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4721 (eval "$ac_link") 2>conftest.er1
4723 grep -v '^ *+' conftest.er1 >conftest.err
4725 cat conftest.err >&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); } && {
4728 test -z "$ac_c_werror_flag" ||
4729 test ! -s conftest.err
4730 } && test -s conftest$ac_exeext &&
4731 $as_test_x conftest$ac_exeext; then
4732 ac_cv_lib_error_at_line=yes
4734 echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.$ac_ext >&5
4737 ac_cv_lib_error_at_line=no
4740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4741 conftest$ac_exeext conftest.$ac_ext
4743 { echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
4744 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; }
4745 if test $ac_cv_lib_error_at_line = no; then
4746 case " $LIBOBJS " in
4747 *" error.$ac_objext "* ) ;;
4748 *) LIBOBJS="$LIBOBJS error.$ac_objext"
4755 for ac_header in stdlib.h
4757 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4759 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4761 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4764 ac_res=`eval echo '${'$as_ac_Header'}'`
4765 { echo "$as_me:$LINENO: result: $ac_res" >&5
4766 echo "${ECHO_T}$ac_res" >&6; }
4768 # Is the header compilable?
4769 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4770 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4771 cat >conftest.$ac_ext <<_ACEOF
4774 cat confdefs.h >>conftest.$ac_ext
4775 cat >>conftest.$ac_ext <<_ACEOF
4776 /* end confdefs.h. */
4777 $ac_includes_default
4778 #include <$ac_header>
4780 rm -f conftest.$ac_objext
4781 if { (ac_try="$ac_compile"
4783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4784 *) ac_try_echo
=$ac_try;;
4786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4787 (eval "$ac_compile") 2>conftest.er1
4789 grep -v '^ *+' conftest.er1
>conftest.err
4791 cat conftest.err
>&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } && {
4794 test -z "$ac_c_werror_flag" ||
4795 test ! -s conftest.err
4796 } && test -s conftest.
$ac_objext; then
4797 ac_header_compiler
=yes
4799 echo "$as_me: failed program was:" >&5
4800 sed 's/^/| /' conftest.
$ac_ext >&5
4802 ac_header_compiler
=no
4805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4806 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4807 echo "${ECHO_T}$ac_header_compiler" >&6; }
4809 # Is the header present?
4810 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4811 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4812 cat >conftest.
$ac_ext <<_ACEOF
4815 cat confdefs.h
>>conftest.
$ac_ext
4816 cat >>conftest.
$ac_ext <<_ACEOF
4817 /* end confdefs.h. */
4818 #include <$ac_header>
4820 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4823 *) ac_try_echo=$ac_try;;
4825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4828 grep -v '^ *+' conftest.er1 >conftest.err
4830 cat conftest.err >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } >/dev/null && {
4833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4834 test ! -s conftest.err
4836 ac_header_preproc=yes
4838 echo "$as_me: failed program was:" >&5
4839 sed 's/^/| /' conftest.$ac_ext >&5
4841 ac_header_preproc=no
4844 rm -f conftest.err conftest.$ac_ext
4845 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4846 echo "${ECHO_T}$ac_header_preproc" >&6; }
4848 # So? What about this header?
4849 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4851 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4852 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4854 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4855 ac_header_preproc=yes
4858 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4859 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4860 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4861 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4862 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4863 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4864 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4865 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4868 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4869 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4871 ## -------------------------------------- ##
4872 ## Report this to Holger Zuleger hznet.de ##
4873 ## -------------------------------------- ##
4875 ) | sed "s/^/$as_me: WARNING: /" >&2
4878 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4881 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 eval "$as_ac_Header=\$ac_header_preproc"
4885 ac_res=`eval echo '${'$as_ac_Header'}'`
4886 { echo "$as_me:$LINENO: result: $ac_res" >&5
4887 echo "${ECHO_T}$ac_res" >&6; }
4890 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4891 cat >>confdefs.h <<_ACEOF
4892 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
4899 { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
4900 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
4901 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
4902 echo $ECHO_N "(cached) $ECHO_C" >&6
4904 if test "$cross_compiling" = yes; then
4905 ac_cv_func_malloc_0_nonnull=no
4907 cat >conftest.$ac_ext <<_ACEOF
4910 cat confdefs.h >>conftest.$ac_ext
4911 cat >>conftest.$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4913 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4914 # include <stdlib.h>
4922 return ! malloc (0);
4927 rm -f conftest$ac_exeext
4928 if { (ac_try="$ac_link"
4930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4931 *) ac_try_echo
=$ac_try;;
4933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4934 (eval "$ac_link") 2>&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4938 { (case "(($ac_try" in
4939 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4940 *) ac_try_echo=$ac_try;;
4942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4943 (eval "$ac_try") 2>&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); }; }; then
4947 ac_cv_func_malloc_0_nonnull=yes
4949 echo "$as_me: program exited with status $ac_status" >&5
4950 echo "$as_me: failed program was:" >&5
4951 sed 's/^/| /' conftest.$ac_ext >&5
4954 ac_cv_func_malloc_0_nonnull=no
4956 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4961 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
4962 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
4963 if test $ac_cv_func_malloc_0_nonnull = yes; then
4965 cat >>confdefs.h <<\_ACEOF
4966 #define HAVE_MALLOC 1
4970 cat >>confdefs.h <<\_ACEOF
4971 #define HAVE_MALLOC 0
4974 case " $LIBOBJS " in
4975 *" malloc.$ac_objext "* ) ;;
4976 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4981 cat >>confdefs.h <<\_ACEOF
4982 #define malloc rpl_malloc
4993 for ac_header in $ac_header_list
4995 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4997 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5000 echo $ECHO_N "(cached) $ECHO_C" >&6
5002 ac_res=`eval echo '${'$as_ac_Header'}'`
5003 { echo "$as_me:$LINENO: result: $ac_res" >&5
5004 echo "${ECHO_T}$ac_res" >&6; }
5006 # Is the header compilable?
5007 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5008 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5009 cat >conftest.$ac_ext <<_ACEOF
5012 cat confdefs.h >>conftest.$ac_ext
5013 cat >>conftest.$ac_ext <<_ACEOF
5014 /* end confdefs.h. */
5015 $ac_includes_default
5016 #include <$ac_header>
5018 rm -f conftest.$ac_objext
5019 if { (ac_try="$ac_compile"
5021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5022 *) ac_try_echo
=$ac_try;;
5024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5025 (eval "$ac_compile") 2>conftest.er1
5027 grep -v '^ *+' conftest.er1
>conftest.err
5029 cat conftest.err
>&5
5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031 (exit $ac_status); } && {
5032 test -z "$ac_c_werror_flag" ||
5033 test ! -s conftest.err
5034 } && test -s conftest.
$ac_objext; then
5035 ac_header_compiler
=yes
5037 echo "$as_me: failed program was:" >&5
5038 sed 's/^/| /' conftest.
$ac_ext >&5
5040 ac_header_compiler
=no
5043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5044 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5045 echo "${ECHO_T}$ac_header_compiler" >&6; }
5047 # Is the header present?
5048 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5049 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5050 cat >conftest.
$ac_ext <<_ACEOF
5053 cat confdefs.h
>>conftest.
$ac_ext
5054 cat >>conftest.
$ac_ext <<_ACEOF
5055 /* end confdefs.h. */
5056 #include <$ac_header>
5058 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5061 *) ac_try_echo=$ac_try;;
5063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5064 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5066 grep -v '^ *+' conftest.er1 >conftest.err
5068 cat conftest.err >&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } >/dev/null && {
5071 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5072 test ! -s conftest.err
5074 ac_header_preproc=yes
5076 echo "$as_me: failed program was:" >&5
5077 sed 's/^/| /' conftest.$ac_ext >&5
5079 ac_header_preproc=no
5082 rm -f conftest.err conftest.$ac_ext
5083 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5084 echo "${ECHO_T}$ac_header_preproc" >&6; }
5086 # So? What about this header?
5087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5089 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5093 ac_header_preproc=yes
5096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5099 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5100 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5102 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5103 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5106 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5109 ## -------------------------------------- ##
5110 ## Report this to Holger Zuleger hznet.de ##
5111 ## -------------------------------------- ##
5113 ) | sed "s/^/$as_me: WARNING: /" >&2
5116 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5119 echo $ECHO_N "(cached) $ECHO_C" >&6
5121 eval "$as_ac_Header=\$ac_header_preproc"
5123 ac_res=`eval echo '${'$as_ac_Header'}'`
5124 { echo "$as_me:$LINENO: result: $ac_res" >&5
5125 echo "${ECHO_T}$ac_res" >&6; }
5128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5129 cat >>confdefs.h <<_ACEOF
5130 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5145 for ac_func in $ac_func_list
5147 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5150 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5151 echo $ECHO_N "(cached) $ECHO_C" >&6
5153 cat >conftest.$ac_ext <<_ACEOF
5156 cat confdefs.h >>conftest.$ac_ext
5157 cat >>conftest.$ac_ext <<_ACEOF
5158 /* end confdefs.h. */
5159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5161 #define $ac_func innocuous_$ac_func
5163 /* System header to define __stub macros and hopefully few prototypes,
5164 which can conflict with char $ac_func (); below.
5165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5166 <limits.h> exists even on freestanding compilers. */
5169 # include <limits.h>
5171 # include <assert.h>
5176 /* Override any GCC internal prototype to avoid an error.
5177 Use char because int might match the return type of a GCC
5178 builtin and then its argument prototype would still apply. */
5183 /* The GNU C library defines this for functions which it implements
5184 to always fail with ENOSYS. Some functions are actually named
5185 something starting with __ and the normal name is an alias. */
5186 #if defined __stub_$ac_func || defined __stub___$ac_func
5198 rm -f conftest.$ac_objext conftest$ac_exeext
5199 if { (ac_try="$ac_link"
5201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5202 *) ac_try_echo
=$ac_try;;
5204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5205 (eval "$ac_link") 2>conftest.er1
5207 grep -v '^ *+' conftest.er1
>conftest.err
5209 cat conftest.err
>&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); } && {
5212 test -z "$ac_c_werror_flag" ||
5213 test ! -s conftest.err
5214 } && test -s conftest
$ac_exeext &&
5215 $as_test_x conftest
$ac_exeext; then
5216 eval "$as_ac_var=yes"
5218 echo "$as_me: failed program was:" >&5
5219 sed 's/^/| /' conftest.
$ac_ext >&5
5221 eval "$as_ac_var=no"
5224 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5225 conftest
$ac_exeext conftest.
$ac_ext
5227 ac_res
=`eval echo '${'$as_ac_var'}'`
5228 { echo "$as_me:$LINENO: result: $ac_res" >&5
5229 echo "${ECHO_T}$ac_res" >&6; }
5230 if test `eval echo '${'$as_ac_var'}'` = yes; then
5231 cat >>confdefs.h
<<_ACEOF
5232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5254 { echo "$as_me:$LINENO: checking for working mktime" >&5
5255 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
5256 if test "${ac_cv_func_working_mktime+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5259 if test "$cross_compiling" = yes; then
5260 ac_cv_func_working_mktime
=no
5262 cat >conftest.
$ac_ext <<_ACEOF
5265 cat confdefs.h
>>conftest.
$ac_ext
5266 cat >>conftest.
$ac_ext <<_ACEOF
5267 /* end confdefs.h. */
5268 /* Test program from Paul Eggert and Tony Leneis. */
5269 #ifdef TIME_WITH_SYS_TIME
5270 # include <sys/time.h>
5273 # ifdef HAVE_SYS_TIME_H
5274 # include <sys/time.h>
5282 #ifdef HAVE_UNISTD_H
5283 # include <unistd.h>
5287 # define alarm(X) /* empty */
5290 /* Work around redefinition to rpl_putenv by other config tests. */
5293 static time_t time_t_max;
5294 static time_t time_t_min;
5296 /* Values we'll use to set the TZ environment variable. */
5297 static char *tz_strings[] = {
5298 (char *) 0, "TZ=GMT0", "TZ=JST-9",
5299 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
5301 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
5303 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
5304 Based on a problem report from Andreas Jaeger. */
5306 spring_forward_gap ()
5308 /* glibc (up to about 1998-10-07) failed this test. */
5311 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
5312 instead of "TZ=America/Vancouver" in order to detect the bug even
5313 on systems that don't support the Olson extension, or don't have the
5314 full zoneinfo tables installed. */
5315 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
5324 return mktime (&tm) != (time_t) -1;
5332 return ! (lt = localtime (&now)) || mktime (lt) == now;
5339 return (mktime_test1 (now)
5340 && mktime_test1 ((time_t) (time_t_max - now))
5341 && mktime_test1 ((time_t) (time_t_min + now)));
5347 /* Based on code from Ariel Faigon. */
5357 return tm.tm_mon == 2 && tm.tm_mday == 31;
5366 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
5368 if (now != (time_t) -1)
5370 struct tm *lt = localtime (&now);
5372 && lt->tm_year == tm.tm_year
5373 && lt->tm_mon == tm.tm_mon
5374 && lt->tm_mday == tm.tm_mday
5375 && lt->tm_hour == tm.tm_hour
5376 && lt->tm_min == tm.tm_min
5377 && lt->tm_sec == tm.tm_sec
5378 && lt->tm_yday == tm.tm_yday
5379 && lt->tm_wday == tm.tm_wday
5380 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
5381 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
5390 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
5391 ignoring leap seconds. */
5392 unsigned long int answer = 2527315200UL;
5396 tm.tm_year = 2050 - 1900;
5399 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
5402 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
5403 instead of "TZ=America/Vancouver" in order to detect the bug even
5404 on systems that don't support the Olson extension, or don't have the
5405 full zoneinfo tables installed. */
5406 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
5410 /* Check that the result is either a failure, or close enough
5411 to the correct answer that we can assume the discrepancy is
5412 due to leap seconds. */
5413 return (t == (time_t) -1
5414 || (0 < t && answer - 120 <= t && t <= answer + 120));
5423 /* This test makes some buggy mktime implementations loop.
5424 Give up after 60 seconds; a mktime slower than that
5425 isn't worth using anyway. */
5428 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
5431 if ((time_t) -1 < 0)
5432 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
5434 delta = time_t_max / 997; /* a suitable prime number */
5435 for (i = 0; i < N_STRINGS; i++)
5438 putenv (tz_strings[i]);
5440 for (t = 0; t <= time_t_max - delta; t += delta)
5441 if (! mktime_test (t))
5443 if (! (mktime_test ((time_t) 1)
5444 && mktime_test ((time_t) (60 * 60))
5445 && mktime_test ((time_t) (60 * 60 * 24))))
5448 for (j = 1; 0 < j; j *= 2)
5449 if (! bigtime_test (j))
5451 if (! bigtime_test (j - 1))
5454 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
5457 rm -f conftest
$ac_exeext
5458 if { (ac_try
="$ac_link"
5460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5461 *) ac_try_echo=$ac_try;;
5463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5464 (eval "$ac_link") 2>&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5468 { (case "(($ac_try" in
5469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5470 *) ac_try_echo
=$ac_try;;
5472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5473 (eval "$ac_try") 2>&5
5475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476 (exit $ac_status); }; }; then
5477 ac_cv_func_working_mktime
=yes
5479 echo "$as_me: program exited with status $ac_status" >&5
5480 echo "$as_me: failed program was:" >&5
5481 sed 's/^/| /' conftest.
$ac_ext >&5
5484 ac_cv_func_working_mktime
=no
5486 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5491 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
5492 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
5493 if test $ac_cv_func_working_mktime = no
; then
5494 case " $LIBOBJS " in
5495 *" mktime.$ac_objext "* ) ;;
5496 *) LIBOBJS
="$LIBOBJS mktime.$ac_objext"
5502 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
5503 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
5504 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
5505 echo $ECHO_N "(cached) $ECHO_C" >&6
5507 rm -f conftest.sym conftest.
file
5509 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
5510 if test "$cross_compiling" = yes; then
5511 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5513 cat >conftest.
$ac_ext <<_ACEOF
5516 cat confdefs.h
>>conftest.
$ac_ext
5517 cat >>conftest.
$ac_ext <<_ACEOF
5518 /* end confdefs.h. */
5519 $ac_includes_default
5524 /* Linux will dereference the symlink and fail.
5525 That is better in the sense that it means we will not
5526 have to compile and use the lstat wrapper. */
5527 return lstat ("conftest.sym/", &sbuf) == 0;
5532 rm -f conftest
$ac_exeext
5533 if { (ac_try
="$ac_link"
5535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5536 *) ac_try_echo=$ac_try;;
5538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5539 (eval "$ac_link") 2>&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5543 { (case "(($ac_try" in
5544 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5545 *) ac_try_echo
=$ac_try;;
5547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5548 (eval "$ac_try") 2>&5
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); }; }; then
5552 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
5554 echo "$as_me: program exited with status $ac_status" >&5
5555 echo "$as_me: failed program was:" >&5
5556 sed 's/^/| /' conftest.
$ac_ext >&5
5559 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5561 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5566 # If the `ln -s' command failed, then we probably don't even
5567 # have an lstat function.
5568 ac_cv_func_lstat_dereferences_slashed_symlink
=no
5570 rm -f conftest.sym conftest.
file
5573 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
5574 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
5576 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
5578 cat >>confdefs.h
<<_ACEOF
5579 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
5583 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
5584 case " $LIBOBJS " in
5585 *" lstat.$ac_objext "* ) ;;
5586 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
5592 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
5593 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
5594 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
5595 echo $ECHO_N "(cached) $ECHO_C" >&6
5597 if test "$cross_compiling" = yes; then
5598 ac_cv_func_stat_empty_string_bug
=yes
5600 cat >conftest.
$ac_ext <<_ACEOF
5603 cat confdefs.h
>>conftest.
$ac_ext
5604 cat >>conftest.
$ac_ext <<_ACEOF
5605 /* end confdefs.h. */
5606 $ac_includes_default
5611 return stat ("", &sbuf) == 0;
5616 rm -f conftest
$ac_exeext
5617 if { (ac_try
="$ac_link"
5619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5620 *) ac_try_echo=$ac_try;;
5622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5623 (eval "$ac_link") 2>&5
5625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5627 { (case "(($ac_try" in
5628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5629 *) ac_try_echo
=$ac_try;;
5631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5632 (eval "$ac_try") 2>&5
5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); }; }; then
5636 ac_cv_func_stat_empty_string_bug
=no
5638 echo "$as_me: program exited with status $ac_status" >&5
5639 echo "$as_me: failed program was:" >&5
5640 sed 's/^/| /' conftest.
$ac_ext >&5
5643 ac_cv_func_stat_empty_string_bug
=yes
5645 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5650 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
5651 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
5652 if test $ac_cv_func_stat_empty_string_bug = yes; then
5653 case " $LIBOBJS " in
5654 *" stat.$ac_objext "* ) ;;
5655 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
5660 cat >>confdefs.h
<<_ACEOF
5661 #define HAVE_STAT_EMPTY_STRING_BUG 1
5667 for ac_func
in strftime
5669 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5670 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5672 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5673 echo $ECHO_N "(cached) $ECHO_C" >&6
5675 cat >conftest.
$ac_ext <<_ACEOF
5678 cat confdefs.h
>>conftest.
$ac_ext
5679 cat >>conftest.
$ac_ext <<_ACEOF
5680 /* end confdefs.h. */
5681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5683 #define $ac_func innocuous_$ac_func
5685 /* System header to define __stub macros and hopefully few prototypes,
5686 which can conflict with char $ac_func (); below.
5687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5688 <limits.h> exists even on freestanding compilers. */
5691 # include <limits.h>
5693 # include <assert.h>
5698 /* Override any GCC internal prototype to avoid an error.
5699 Use char because int might match the return type of a GCC
5700 builtin and then its argument prototype would still apply. */
5705 /* The GNU C library defines this for functions which it implements
5706 to always fail with ENOSYS. Some functions are actually named
5707 something starting with __ and the normal name is an alias. */
5708 #if defined __stub_$ac_func || defined __stub___$ac_func
5720 rm -f conftest.
$ac_objext conftest
$ac_exeext
5721 if { (ac_try
="$ac_link"
5723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5724 *) ac_try_echo=$ac_try;;
5726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5727 (eval "$ac_link") 2>conftest.er1
5729 grep -v '^ *+' conftest.er1 >conftest.err
5731 cat conftest.err >&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); } && {
5734 test -z "$ac_c_werror_flag" ||
5735 test ! -s conftest.err
5736 } && test -s conftest$ac_exeext &&
5737 $as_test_x conftest$ac_exeext; then
5738 eval "$as_ac_var=yes"
5740 echo "$as_me: failed program was:" >&5
5741 sed 's/^/| /' conftest.$ac_ext >&5
5743 eval "$as_ac_var=no"
5746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5747 conftest$ac_exeext conftest.$ac_ext
5749 ac_res=`eval echo '${'$as_ac_var'}'`
5750 { echo "$as_me:$LINENO: result: $ac_res" >&5
5751 echo "${ECHO_T}$ac_res" >&6; }
5752 if test `eval echo '${'$as_ac_var'}'` = yes; then
5753 cat >>confdefs.h <<_ACEOF
5754 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
5758 # strftime is in -lintl on SCO UNIX.
5759 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
5760 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
5761 if test "${ac_cv_lib_intl_strftime+set}" = set; then
5762 echo $ECHO_N "(cached) $ECHO_C" >&6
5764 ac_check_lib_save_LIBS=$LIBS
5766 cat >conftest.$ac_ext <<_ACEOF
5769 cat confdefs.h >>conftest.$ac_ext
5770 cat >>conftest.$ac_ext <<_ACEOF
5771 /* end confdefs.h. */
5773 /* Override any GCC internal prototype to avoid an error.
5774 Use char because int might match the return type of a GCC
5775 builtin and then its argument prototype would still apply. */
5788 rm -f conftest.$ac_objext conftest$ac_exeext
5789 if { (ac_try="$ac_link"
5791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5792 *) ac_try_echo
=$ac_try;;
5794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5795 (eval "$ac_link") 2>conftest.er1
5797 grep -v '^ *+' conftest.er1
>conftest.err
5799 cat conftest.err
>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); } && {
5802 test -z "$ac_c_werror_flag" ||
5803 test ! -s conftest.err
5804 } && test -s conftest
$ac_exeext &&
5805 $as_test_x conftest
$ac_exeext; then
5806 ac_cv_lib_intl_strftime
=yes
5808 echo "$as_me: failed program was:" >&5
5809 sed 's/^/| /' conftest.
$ac_ext >&5
5811 ac_cv_lib_intl_strftime
=no
5814 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5815 conftest
$ac_exeext conftest.
$ac_ext
5816 LIBS
=$ac_check_lib_save_LIBS
5818 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
5819 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
5820 if test $ac_cv_lib_intl_strftime = yes; then
5821 cat >>confdefs.h
<<\_ACEOF
5822 #define HAVE_STRFTIME 1
5839 { echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
5840 echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6; }
5841 if test "${ac_cv_func_utime_null+set}" = set; then
5842 echo $ECHO_N "(cached) $ECHO_C" >&6
5844 rm -f conftest.data
; >conftest.data
5845 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
5846 if test "$cross_compiling" = yes; then
5847 ac_cv_func_utime_null
=no
5849 cat >conftest.
$ac_ext <<_ACEOF
5852 cat confdefs.h
>>conftest.
$ac_ext
5853 cat >>conftest.
$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5855 $ac_includes_default
5863 return ! (stat ("conftest.data", &s) == 0
5864 && utime ("conftest.data", 0) == 0
5865 && stat ("conftest.data", &t) == 0
5866 && t.st_mtime >= s.st_mtime
5867 && t.st_mtime - s.st_mtime < 120);
5872 rm -f conftest
$ac_exeext
5873 if { (ac_try
="$ac_link"
5875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5876 *) ac_try_echo=$ac_try;;
5878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5879 (eval "$ac_link") 2>&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5883 { (case "(($ac_try" in
5884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5885 *) ac_try_echo
=$ac_try;;
5887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5888 (eval "$ac_try") 2>&5
5890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); }; }; then
5892 ac_cv_func_utime_null
=yes
5894 echo "$as_me: program exited with status $ac_status" >&5
5895 echo "$as_me: failed program was:" >&5
5896 sed 's/^/| /' conftest.
$ac_ext >&5
5899 ac_cv_func_utime_null
=no
5901 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5906 { echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
5907 echo "${ECHO_T}$ac_cv_func_utime_null" >&6; }
5908 if test $ac_cv_func_utime_null = yes; then
5910 cat >>confdefs.h
<<\_ACEOF
5911 #define HAVE_UTIME_NULL 1
5918 for ac_func
in vprintf
5920 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5921 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5923 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 cat >conftest.
$ac_ext <<_ACEOF
5929 cat confdefs.h
>>conftest.
$ac_ext
5930 cat >>conftest.
$ac_ext <<_ACEOF
5931 /* end confdefs.h. */
5932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5934 #define $ac_func innocuous_$ac_func
5936 /* System header to define __stub macros and hopefully few prototypes,
5937 which can conflict with char $ac_func (); below.
5938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5939 <limits.h> exists even on freestanding compilers. */
5942 # include <limits.h>
5944 # include <assert.h>
5949 /* Override any GCC internal prototype to avoid an error.
5950 Use char because int might match the return type of a GCC
5951 builtin and then its argument prototype would still apply. */
5956 /* The GNU C library defines this for functions which it implements
5957 to always fail with ENOSYS. Some functions are actually named
5958 something starting with __ and the normal name is an alias. */
5959 #if defined __stub_$ac_func || defined __stub___$ac_func
5971 rm -f conftest.
$ac_objext conftest
$ac_exeext
5972 if { (ac_try
="$ac_link"
5974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5975 *) ac_try_echo=$ac_try;;
5977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5978 (eval "$ac_link") 2>conftest.er1
5980 grep -v '^ *+' conftest.er1 >conftest.err
5982 cat conftest.err >&5
5983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5984 (exit $ac_status); } && {
5985 test -z "$ac_c_werror_flag" ||
5986 test ! -s conftest.err
5987 } && test -s conftest$ac_exeext &&
5988 $as_test_x conftest$ac_exeext; then
5989 eval "$as_ac_var=yes"
5991 echo "$as_me: failed program was:" >&5
5992 sed 's/^/| /' conftest.$ac_ext >&5
5994 eval "$as_ac_var=no"
5997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5998 conftest$ac_exeext conftest.$ac_ext
6000 ac_res=`eval echo '${'$as_ac_var'}'`
6001 { echo "$as_me:$LINENO: result: $ac_res" >&5
6002 echo "${ECHO_T}$ac_res" >&6; }
6003 if test `eval echo '${'$as_ac_var'}'` = yes; then
6004 cat >>confdefs.h <<_ACEOF
6005 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6008 { echo "$as_me:$LINENO: checking for _doprnt" >&5
6009 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
6010 if test "${ac_cv_func__doprnt+set}" = set; then
6011 echo $ECHO_N "(cached) $ECHO_C" >&6
6013 cat >conftest.$ac_ext <<_ACEOF
6016 cat confdefs.h >>conftest.$ac_ext
6017 cat >>conftest.$ac_ext <<_ACEOF
6018 /* end confdefs.h. */
6019 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
6020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6021 #define _doprnt innocuous__doprnt
6023 /* System header to define __stub macros and hopefully few prototypes,
6024 which can conflict with char _doprnt (); below.
6025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6026 <limits.h> exists even on freestanding compilers. */
6029 # include <limits.h>
6031 # include <assert.h>
6036 /* Override any GCC internal prototype to avoid an error.
6037 Use char because int might match the return type of a GCC
6038 builtin and then its argument prototype would still apply. */
6043 /* The GNU C library defines this for functions which it implements
6044 to always fail with ENOSYS. Some functions are actually named
6045 something starting with __ and the normal name is an alias. */
6046 #if defined __stub__doprnt || defined __stub____doprnt
6058 rm -f conftest.$ac_objext conftest$ac_exeext
6059 if { (ac_try="$ac_link"
6061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6062 *) ac_try_echo
=$ac_try;;
6064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6065 (eval "$ac_link") 2>conftest.er1
6067 grep -v '^ *+' conftest.er1
>conftest.err
6069 cat conftest.err
>&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); } && {
6072 test -z "$ac_c_werror_flag" ||
6073 test ! -s conftest.err
6074 } && test -s conftest
$ac_exeext &&
6075 $as_test_x conftest
$ac_exeext; then
6076 ac_cv_func__doprnt
=yes
6078 echo "$as_me: failed program was:" >&5
6079 sed 's/^/| /' conftest.
$ac_ext >&5
6081 ac_cv_func__doprnt
=no
6084 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6085 conftest
$ac_exeext conftest.
$ac_ext
6087 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
6088 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
6089 if test $ac_cv_func__doprnt = yes; then
6091 cat >>confdefs.h
<<\_ACEOF
6092 #define HAVE_DOPRNT 1
6101 # 2008-07-04 getopt_long added
6102 # 2009-07-30 timegm added
6118 for ac_func
in getopt_long gettimeofday memset putenv socket strcasecmp strchr strdup strerror strncasecmp strrchr tzset utime getuid timegm
6120 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6121 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6123 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6124 echo $ECHO_N "(cached) $ECHO_C" >&6
6126 cat >conftest.
$ac_ext <<_ACEOF
6129 cat confdefs.h
>>conftest.
$ac_ext
6130 cat >>conftest.
$ac_ext <<_ACEOF
6131 /* end confdefs.h. */
6132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6134 #define $ac_func innocuous_$ac_func
6136 /* System header to define __stub macros and hopefully few prototypes,
6137 which can conflict with char $ac_func (); below.
6138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6139 <limits.h> exists even on freestanding compilers. */
6142 # include <limits.h>
6144 # include <assert.h>
6149 /* Override any GCC internal prototype to avoid an error.
6150 Use char because int might match the return type of a GCC
6151 builtin and then its argument prototype would still apply. */
6156 /* The GNU C library defines this for functions which it implements
6157 to always fail with ENOSYS. Some functions are actually named
6158 something starting with __ and the normal name is an alias. */
6159 #if defined __stub_$ac_func || defined __stub___$ac_func
6171 rm -f conftest.
$ac_objext conftest
$ac_exeext
6172 if { (ac_try
="$ac_link"
6174 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6175 *) ac_try_echo=$ac_try;;
6177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6178 (eval "$ac_link") 2>conftest.er1
6180 grep -v '^ *+' conftest.er1 >conftest.err
6182 cat conftest.err >&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); } && {
6185 test -z "$ac_c_werror_flag" ||
6186 test ! -s conftest.err
6187 } && test -s conftest$ac_exeext &&
6188 $as_test_x conftest$ac_exeext; then
6189 eval "$as_ac_var=yes"
6191 echo "$as_me: failed program was:" >&5
6192 sed 's/^/| /' conftest.$ac_ext >&5
6194 eval "$as_ac_var=no"
6197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6198 conftest$ac_exeext conftest.$ac_ext
6200 ac_res=`eval echo '${'$as_ac_var'}'`
6201 { echo "$as_me:$LINENO: result: $ac_res" >&5
6202 echo "${ECHO_T}$ac_res" >&6; }
6203 if test `eval echo '${'$as_ac_var'}'` = yes; then
6204 cat >>confdefs.h <<_ACEOF
6205 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
6213 ac_config_files="$ac_config_files Makefile"
6215 cat >confcache <<\_ACEOF
6216 # This file is a shell script that caches the results of configure
6217 # tests run on this system so they can be shared between configure
6218 # scripts and configure runs, see configure's option --config-cache.
6219 # It is not useful on other systems. If it contains results you don't
6220 # want to keep, you may remove or edit it.
6222 # config.status only pays attention to the cache file if you give it
6223 # the --recheck option to rerun configure.
6225 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
6226 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6231 # The following way of writing the cache mishandles newlines in values,
6232 # but we know of no workaround that is simple, portable, and efficient.
6233 # So, we kill variables containing newlines.
6234 # Ultrix sh set writes to stderr and can't be redirected directly,
6235 # and sets the high bit in the cache file unless we assign to the vars.
6237 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6238 eval ac_val
=\$
$ac_var
6242 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6243 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6246 _ | IFS | as_nl
) ;; #(
6247 *) $as_unset $ac_var ;;
6253 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6254 *${as_nl}ac_space
=\
*)
6255 # `set' does not quote correctly, so add quotes (double-quote
6256 # substitution turns \\\\ into \\, and sed turns \\ into \).
6259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6262 # `set' quotes correctly as required by POSIX, so do not add quotes.
6263 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6272 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6274 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6276 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6277 if test -w "$cache_file"; then
6278 test "x$cache_file" != "x/dev/null" &&
6279 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6280 echo "$as_me: updating cache $cache_file" >&6;}
6281 cat confcache
>$cache_file
6283 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6284 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6289 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6290 # Let make expand exec_prefix.
6291 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6293 DEFS
=-DHAVE_CONFIG_H
6297 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6298 # 1. Remove the extension, and $U if already installed.
6299 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6300 ac_i
=`echo "$ac_i" | sed "$ac_script"`
6301 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6302 # will be set to the directory where LIBOBJS objects are built.
6303 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6304 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6308 LTLIBOBJS
=$ac_ltlibobjs
6312 : ${CONFIG_STATUS=./config.status}
6313 ac_clean_files_save
=$ac_clean_files
6314 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6315 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6316 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6317 cat >$CONFIG_STATUS <<_ACEOF
6319 # Generated by $as_me.
6320 # Run this file to recreate the current configuration.
6321 # Compiler output produced by configure, useful for debugging
6322 # configure, is in config.log if it exists.
6327 SHELL=\${CONFIG_SHELL-$SHELL}
6330 cat >>$CONFIG_STATUS <<\_ACEOF
6331 ## --------------------- ##
6332 ## M4sh Initialization. ##
6333 ## --------------------- ##
6335 # Be more Bourne compatible
6336 DUALCASE
=1; export DUALCASE
# for MKS sh
6337 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6340 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6341 # is contrary to our usage. Disable this feature.
6342 alias -g '${1+"$@"}'='"$@"'
6343 setopt NO_GLOB_SUBST
6345 case `(set -o) 2>/dev/null` in
6346 *posix
*) set -o posix
;;
6355 # Avoid depending upon Character Ranges.
6356 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6357 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6358 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6359 as_cr_digits
='0123456789'
6360 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6362 # The user is always right.
6363 if test "${PATH_SEPARATOR+set}" != set; then
6364 echo "#! /bin/sh" >conf$$.sh
6365 echo "exit 0" >>conf$$.sh
6367 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6375 # Support unset when possible.
6376 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6384 # We need space, tab and new line, in precisely that order. Quoting is
6385 # there to prevent editors from complaining about space-tab.
6386 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6387 # splitting by setting IFS to empty value.)
6392 # Find who we are. Look in the path if we contain no directory separator.
6394 *[\\/]* ) as_myself
=$0 ;;
6395 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6399 test -z "$as_dir" && as_dir
=.
6400 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6406 # We did not find ourselves, most probably we were run as `sh COMMAND'
6407 # in which case we are not to be found in the path.
6408 if test "x$as_myself" = x
; then
6411 if test ! -f "$as_myself"; then
6412 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6413 { (exit 1); exit 1; }
6416 # Work around bugs in pre-3.0 UWIN ksh.
6417 for as_var
in ENV MAIL MAILPATH
6418 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6426 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6427 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6428 LC_TELEPHONE LC_TIME
6430 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6431 eval $as_var=C
; export $as_var
6433 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
6437 # Required to use basename.
6438 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6439 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6445 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6446 as_basename
=basename
6452 # Name of the executable.
6453 as_me
=`$as_basename -- "$0" ||
6454 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6455 X"$0" : 'X\(//\)$' \| \
6456 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6458 sed '/^.*\/\([^/][^/]*\)\/*$/{
6479 test "x$as_lineno_1" != "x$as_lineno_2" &&
6480 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
6482 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6483 # uniformly replaced by the line number. The first 'sed' inserts a
6484 # line-number line after each line using $LINENO; the second 'sed'
6485 # does the real work. The second script uses 'N' to pair each
6486 # line-number line with the line containing $LINENO, and appends
6487 # trailing '-' during substitution so that $LINENO is not a special
6489 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6490 # scripts with optimization help from Paolo Bonzini. Blame Lee
6491 # E. McMahon (1931-1989) for sed's syntax. :-)
6503 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6507 chmod +x
"$as_me.lineno" ||
6508 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6509 { (exit 1); exit 1; }; }
6511 # Don't try to exec as it changes $[0], causing all sort of problems
6512 # (the dirname of $[0] is not the place where we might find the
6513 # original and so on. Autoconf is especially sensitive to this).
6515 # Exit status is that of the last command.
6520 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6526 ECHO_C
= ECHO_N
= ECHO_T
=
6529 case `echo 'x\c'` in
6530 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6537 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6538 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6544 rm -f conf$$ conf$$.exe conf$$.
file
6545 if test -d conf$$.dir
; then
6546 rm -f conf$$.dir
/conf$$.
file
6552 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6554 # ... but there are two gotchas:
6555 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6556 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6557 # In both cases, we have to default to `cp -p'.
6558 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6560 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6565 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6566 rmdir conf$$.dir
2>/dev
/null
6568 if mkdir
-p .
2>/dev
/null
; then
6571 test -d .
/-p && rmdir .
/-p
6575 if test -x / >/dev
/null
2>&1; then
6578 if ls -dL / >/dev
/null
2>&1; then
6585 if test -d "$1"; then
6591 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6592 ???[sx]*):;;*)false;;esac;fi
6596 as_executable_p
=$as_test_x
6598 # Sed expression to map a string onto a valid CPP name.
6599 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6601 # Sed expression to map a string onto a valid variable name.
6602 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6607 # Save the log message, to keep $[0] and so on meaningful, and to
6608 # report actual input values of CONFIG_FILES etc. instead of their
6609 # values after options handling.
6611 This file was extended by ZKT $as_me 0.99c, which was
6612 generated by GNU Autoconf 2.61. Invocation command line was
6614 CONFIG_FILES = $CONFIG_FILES
6615 CONFIG_HEADERS = $CONFIG_HEADERS
6616 CONFIG_LINKS = $CONFIG_LINKS
6617 CONFIG_COMMANDS = $CONFIG_COMMANDS
6620 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6625 cat >>$CONFIG_STATUS <<_ACEOF
6626 # Files that config.status was made for.
6627 config_files="$ac_config_files"
6628 config_headers="$ac_config_headers"
6632 cat >>$CONFIG_STATUS <<\_ACEOF
6634 \`$as_me' instantiates files from templates according to the
6635 current configuration.
6637 Usage: $0 [OPTIONS] [FILE]...
6639 -h, --help print this help, then exit
6640 -V, --version print version number and configuration settings, then exit
6641 -q, --quiet do not print progress messages
6642 -d, --debug don't remove temporary files
6643 --recheck update $as_me by reconfiguring in the same conditions
6644 --file=FILE[:TEMPLATE]
6645 instantiate the configuration file FILE
6646 --header=FILE[:TEMPLATE]
6647 instantiate the configuration header FILE
6649 Configuration files:
6652 Configuration headers:
6655 Report bugs to <bug-autoconf@gnu.org>."
6658 cat >>$CONFIG_STATUS <<_ACEOF
6660 ZKT config.status 0.99c
6661 configured by $0, generated by GNU Autoconf 2.61,
6662 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6664 Copyright (C) 2006 Free Software Foundation, Inc.
6665 This config.status script is free software; the Free Software Foundation
6666 gives unlimited permission to copy, distribute and modify it."
6672 cat >>$CONFIG_STATUS <<\_ACEOF
6673 # If no file are specified by the user, then we need to provide default
6674 # value. By we need to know if files were specified by the user.
6680 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6681 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6692 # Handling of the options.
6693 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6695 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6696 echo "$ac_cs_version"; exit ;;
6697 --debug |
--debu |
--deb |
--de |
--d |
-d )
6699 --file |
--fil |
--fi |
--f )
6701 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6702 ac_need_defaults
=false
;;
6703 --header |
--heade |
--head |
--hea )
6705 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6706 ac_need_defaults
=false
;;
6708 # Conflict between --help and --header
6709 { echo "$as_me: error: ambiguous option: $1
6710 Try \`$0 --help' for more information." >&2
6711 { (exit 1); exit 1; }; };;
6712 --help |
--hel |
-h )
6713 echo "$ac_cs_usage"; exit ;;
6714 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6715 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6719 -*) { echo "$as_me: error: unrecognized option: $1
6720 Try \`$0 --help' for more information." >&2
6721 { (exit 1); exit 1; }; } ;;
6723 *) ac_config_targets
="$ac_config_targets $1"
6724 ac_need_defaults
=false
;;
6730 ac_configure_extra_args
=
6732 if $ac_cs_silent; then
6734 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6738 cat >>$CONFIG_STATUS <<_ACEOF
6739 if \$ac_cs_recheck; then
6740 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6743 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6747 cat >>$CONFIG_STATUS <<\_ACEOF
6751 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6752 ## Running $as_me. ##
6758 cat >>$CONFIG_STATUS <<_ACEOF
6761 cat >>$CONFIG_STATUS <<\_ACEOF
6763 # Handling of arguments.
6764 for ac_config_target
in $ac_config_targets
6766 case $ac_config_target in
6767 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6768 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6770 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6771 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6772 { (exit 1); exit 1; }; };;
6777 # If the user did not use the arguments to specify the items to instantiate,
6778 # then the envvar interface is used. Set only those that are not.
6779 # We use the long form for the default assignment because of an extremely
6780 # bizarre bug on SunOS 4.1.3.
6781 if $ac_need_defaults; then
6782 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6783 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6786 # Have a temporary directory for convenience. Make it in the build tree
6787 # simply because there is no reason against having it here, and in addition,
6788 # creating and moving files from /tmp can sometimes cause problems.
6789 # Hook for its removal unless debugging.
6790 # Note that there is a small window in which the directory will not be cleaned:
6791 # after its creation but before its name has been assigned to `$tmp'.
6795 trap 'exit_status=$?
6796 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6798 trap '{ (exit 1); exit 1; }' 1 2 13 15
6800 # Create a (secure) tmp directory for tmp files.
6803 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6804 test -n "$tmp" && test -d "$tmp"
6807 tmp
=.
/conf$$
-$RANDOM
6808 (umask 077 && mkdir
"$tmp")
6811 echo "$me: cannot create a temporary directory in ." >&2
6812 { (exit 1); exit 1; }
6816 # Set up the sed scripts for CONFIG_FILES section.
6819 # No need to generate the scripts if there are no CONFIG_FILES.
6820 # This happens for instance when ./config.status config.h
6821 if test -n "$CONFIG_FILES"; then
6828 for ac_last_try
in false false false false false
:; do
6829 cat >conf$
$subs.
sed <<_ACEOF
6830 SHELL!$SHELL$ac_delim
6831 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6832 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6833 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6834 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6835 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6836 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6837 exec_prefix!$exec_prefix$ac_delim
6838 prefix!$prefix$ac_delim
6839 program_transform_name!$program_transform_name$ac_delim
6840 bindir!$bindir$ac_delim
6841 sbindir!$sbindir$ac_delim
6842 libexecdir!$libexecdir$ac_delim
6843 datarootdir!$datarootdir$ac_delim
6844 datadir!$datadir$ac_delim
6845 sysconfdir!$sysconfdir$ac_delim
6846 sharedstatedir!$sharedstatedir$ac_delim
6847 localstatedir!$localstatedir$ac_delim
6848 includedir!$includedir$ac_delim
6849 oldincludedir!$oldincludedir$ac_delim
6850 docdir!$docdir$ac_delim
6851 infodir!$infodir$ac_delim
6852 htmldir!$htmldir$ac_delim
6853 dvidir!$dvidir$ac_delim
6854 pdfdir!$pdfdir$ac_delim
6855 psdir!$psdir$ac_delim
6856 libdir!$libdir$ac_delim
6857 localedir!$localedir$ac_delim
6858 mandir!$mandir$ac_delim
6860 ECHO_C!$ECHO_C$ac_delim
6861 ECHO_N!$ECHO_N$ac_delim
6862 ECHO_T!$ECHO_T$ac_delim
6864 build_alias!$build_alias$ac_delim
6865 host_alias!$host_alias$ac_delim
6866 target_alias!$target_alias$ac_delim
6868 CFLAGS!$CFLAGS$ac_delim
6869 LDFLAGS!$LDFLAGS$ac_delim
6870 CPPFLAGS!$CPPFLAGS$ac_delim
6871 ac_ct_CC!$ac_ct_CC$ac_delim
6872 EXEEXT!$EXEEXT$ac_delim
6873 OBJEXT!$OBJEXT$ac_delim
6874 SIGNZONE_PROG!$SIGNZONE_PROG$ac_delim
6877 EGREP!$EGREP$ac_delim
6878 LIBOBJS!$LIBOBJS$ac_delim
6879 LTLIBOBJS!$LTLIBOBJS$ac_delim
6882 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then
6884 elif $ac_last_try; then
6885 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6886 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6887 { (exit 1); exit 1; }; }
6889 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
6893 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6894 if test -n "$ac_eof"; then
6895 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
6896 ac_eof
=`expr $ac_eof + 1`
6899 cat >>$CONFIG_STATUS <<_ACEOF
6900 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6901 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6904 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6905 s/^/s,@/; s/!/@,|#_!!_#|/
6908 s/'"$ac_delim"'$/,g/; t
6910 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6911 ' >>$CONFIG_STATUS <conf$
$subs.
sed
6912 rm -f conf$
$subs.
sed
6913 cat >>$CONFIG_STATUS <<_ACEOF
6920 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6921 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6922 # trailing colons and then remove the whole line if VPATH becomes empty
6923 # (actually we leave an empty line to preserve line numbers).
6924 if test "x$srcdir" = x.
; then
6925 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6929 s/^\([^=]*=[ ]*\):*/\1/
6935 cat >>$CONFIG_STATUS <<\_ACEOF
6936 fi # test -n "$CONFIG_FILES"
6939 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
6942 :[FHLC
]) ac_mode
=$ac_tag; continue;;
6944 case $ac_mode$ac_tag in
6946 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6947 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6948 { (exit 1); exit 1; }; };;
6949 :[FH
]-) ac_tag
=-:-;;
6950 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
6967 -) ac_f
="$tmp/stdin";;
6968 *) # Look for the file first in the build tree, then in the source tree
6969 # (if the path is not absolute). The absolute path cannot be DOS-style,
6970 # because $ac_f cannot contain `:'.
6974 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
6976 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6977 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6978 { (exit 1); exit 1; }; };;
6980 ac_file_inputs
="$ac_file_inputs $ac_f"
6983 # Let's still pretend it is `configure' which instantiates (i.e., don't
6984 # use $as_me), people would be surprised to read:
6985 # /* config.h. Generated by config.status. */
6986 configure_input
="Generated from "`IFS=:
6987 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6988 if test x
"$ac_file" != x-
; then
6989 configure_input
="$ac_file. $configure_input"
6990 { echo "$as_me:$LINENO: creating $ac_file" >&5
6991 echo "$as_me: creating $ac_file" >&6;}
6995 *:-:* |
*:-) cat >"$tmp/stdin";;
7000 ac_dir
=`$as_dirname -- "$ac_file" ||
7001 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7002 X"$ac_file" : 'X\(//\)[^/]' \| \
7003 X"$ac_file" : 'X\(//\)$' \| \
7004 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7025 -*) as_dir
=.
/$as_dir;;
7027 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
7031 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7032 *) as_qdir
=$as_dir;;
7034 as_dirs
="'$as_qdir' $as_dirs"
7035 as_dir
=`$as_dirname -- "$as_dir" ||
7036 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7037 X"$as_dir" : 'X\(//\)[^/]' \| \
7038 X"$as_dir" : 'X\(//\)$' \| \
7039 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7058 test -d "$as_dir" && break
7060 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7061 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7062 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7063 { (exit 1); exit 1; }; }; }
7067 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7069 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7070 # A ".." for each directory in $ac_dir_suffix.
7071 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7072 case $ac_top_builddir_sub in
7073 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7074 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7077 ac_abs_top_builddir
=$ac_pwd
7078 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7079 # for backward compatibility:
7080 ac_top_builddir
=$ac_top_build_prefix
7083 .
) # We are building in place.
7085 ac_top_srcdir
=$ac_top_builddir_sub
7086 ac_abs_top_srcdir
=$ac_pwd ;;
7087 [\\/]* | ?
:[\\/]* ) # Absolute name.
7088 ac_srcdir
=$srcdir$ac_dir_suffix;
7089 ac_top_srcdir
=$srcdir
7090 ac_abs_top_srcdir
=$srcdir ;;
7092 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7093 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7094 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7096 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7107 cat >>$CONFIG_STATUS <<\_ACEOF
7108 # If the template does not know about datarootdir, expand it.
7109 # FIXME: This hack should be removed a few years after 2.60.
7110 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7112 case `sed -n '/datarootdir/ {
7121 ' $ac_file_inputs` in
7122 *datarootdir
*) ac_datarootdir_seen
=yes;;
7123 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7124 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7125 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7127 cat >>$CONFIG_STATUS <<_ACEOF
7128 ac_datarootdir_hack='
7129 s&@datadir@&$datadir&g
7130 s&@docdir@&$docdir&g
7131 s&@infodir@&$infodir&g
7132 s&@localedir@&$localedir&g
7133 s&@mandir@&$mandir&g
7134 s&\\\${datarootdir}&$datarootdir&g' ;;
7138 # Neutralize VPATH when `$srcdir' = `.'.
7139 # Shell code in configure.ac might set extrasub.
7140 # FIXME: do we really want to maintain this feature?
7141 cat >>$CONFIG_STATUS <<_ACEOF
7145 cat >>$CONFIG_STATUS <<\_ACEOF
7147 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7148 s
&@configure_input@
&$configure_input&;t t
7149 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7150 s
&@srcdir@
&$ac_srcdir&;t t
7151 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7152 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7153 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7154 s
&@builddir@
&$ac_builddir&;t t
7155 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7156 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7157 $ac_datarootdir_hack
7158 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" >$tmp/out
7160 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7161 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7162 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7163 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7164 which seems to be undefined. Please make sure it is defined." >&5
7165 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7166 which seems to be undefined. Please make sure it is defined." >&2;}
7170 -) cat "$tmp/out"; rm -f "$tmp/out";;
7171 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7180 # Transform confdefs.h into a sed script `conftest.defines', that
7181 # substitutes the proper values into config.h.in to produce config.h.
7182 rm -f conftest.defines conftest.
tail
7183 # First, append a space to every undef/define line, to ease matching.
7184 echo 's/$/ /' >conftest.defines
7185 # Then, protect against being on the right side of a sed subst, or in
7186 # an unquoted here document, in config.status. If some macros were
7187 # called several times there might be several #defines for the same
7188 # symbol, which is useless. But do not sort them, since the last
7189 # AC_DEFINE must be honored.
7190 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
7191 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7192 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7193 # PARAMS is the parameter list in the macro definition--in most cases, it's
7194 # just an empty string.
7195 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7196 ac_dB
='\\)[ (].*,\\1define\\2'
7204 s/^[ ]*#[ ]*define[ ][ ]*//
7209 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7210 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7211 ' >>conftest.defines
7213 # Remove the space that was appended to ease matching.
7214 # Then replace #undef with comments. This is necessary, for
7215 # example, in the case of _POSIX_SOURCE, which is predefined and required
7216 # on some systems where configure will not decide to define it.
7217 # (The regexp can be short, since the line contains either #define or #undef.)
7219 s,^[ #]*u.*,/* & */,' >>conftest.defines
7221 # Break up conftest.defines:
7224 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7225 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7226 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7228 ac_in
='$ac_file_inputs'
7229 ac_out
='"$tmp/out1"'
7230 ac_nxt
='"$tmp/out2"'
7234 # Write a here document:
7235 cat >>$CONFIG_STATUS <<_ACEOF
7236 # First, check the format of the line:
7237 cat >"\$tmp/defines.sed" <<\\CEOF
7238 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7239 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7243 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
7245 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7246 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
7247 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
7248 grep . conftest.
tail >/dev
/null ||
break
7249 rm -f conftest.defines
7250 mv conftest.
tail conftest.defines
7252 rm -f conftest.defines conftest.
tail
7254 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7255 cat >>$CONFIG_STATUS <<\_ACEOF
7256 if test x
"$ac_file" != x-
; then
7257 echo "/* $configure_input */" >"$tmp/config.h"
7258 cat "$ac_result" >>"$tmp/config.h"
7259 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
7260 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7261 echo "$as_me: $ac_file is unchanged" >&6;}
7264 mv "$tmp/config.h" $ac_file
7267 echo "/* $configure_input */"
7279 { (exit 0); exit 0; }
7281 chmod +x
$CONFIG_STATUS
7282 ac_clean_files
=$ac_clean_files_save
7285 # configure is writing to config.log, and then calls config.status.
7286 # config.status does its own redirection, appending to config.log.
7287 # Unfortunately, on DOS this fails, as config.log is still kept open
7288 # by configure, so config.status won't be able to write to it; its
7289 # output is simply discarded. So we exec the FD to /dev/null,
7290 # effectively closing config.log, so it can be properly (re)opened and
7291 # appended to by config.status. When coming back to configure, we
7292 # need to make the FD available again.
7293 if test "$no_create" != yes; then
7295 ac_config_status_args
=
7296 test "$silent" = yes &&
7297 ac_config_status_args
="$ac_config_status_args --quiet"
7299 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7301 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7302 # would make configure fail if this is the last instruction.
7303 $ac_cs_success ||
{ (exit 1); exit 1; }