2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ZKT 1.1.3.
5 # Report bugs to <Holger Zuleger hznet.de>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and Holger Zuleger
270 $0: hznet.de about your system, including any error
271 $0: possibly output before this message. Then install a
272 $0: modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='zkt'
583 PACKAGE_VERSION
='1.1.3'
584 PACKAGE_STRING
='ZKT 1.1.3'
585 PACKAGE_BUGREPORT
='Holger Zuleger hznet.de'
588 ac_unique_file
="zkt-signer.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
627 ac_subst_vars
='LTLIBOBJS
667 program_transform_name
680 enable_option_checking
681 enable_bind_util_path
689 enable_ttl_in_keyfile
693 ac_precious_vars
='build_alias
704 # Initialize some variables set by options.
706 ac_init_version
=false
707 ac_unrecognized_opts
=
709 # The variables have the same names as the options, with
710 # dashes changed to underlines.
718 program_transform_name
=s
,x
,x
,
726 # Installation directory options.
727 # These are left unexpanded so users can "make install exec_prefix=/foo"
728 # and all the variables that are supposed to be based on exec_prefix
729 # by default will actually change.
730 # Use braces instead of parens because sh, perl, etc. also accept them.
731 # (The list follows the same order as the GNU Coding Standards.)
732 bindir
='${exec_prefix}/bin'
733 sbindir
='${exec_prefix}/sbin'
734 libexecdir
='${exec_prefix}/libexec'
735 datarootdir
='${prefix}/share'
736 datadir
='${datarootdir}'
737 sysconfdir
='${prefix}/etc'
738 sharedstatedir
='${prefix}/com'
739 localstatedir
='${prefix}/var'
740 includedir
='${prefix}/include'
741 oldincludedir
='/usr/include'
742 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
743 infodir
='${datarootdir}/info'
748 libdir
='${exec_prefix}/lib'
749 localedir
='${datarootdir}/locale'
750 mandir
='${datarootdir}/man'
756 # If the previous option needs an argument, assign it.
757 if test -n "$ac_prev"; then
758 eval $ac_prev=\
$ac_option
764 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
769 # Accept the important Cygnus configure options, so we can diagnose typos.
771 case $ac_dashdash$ac_option in
775 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
777 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
780 -build |
--build |
--buil |
--bui |
--bu)
781 ac_prev
=build_alias
;;
782 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
783 build_alias
=$ac_optarg ;;
785 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
786 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
787 ac_prev
=cache_file
;;
788 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
789 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
790 cache_file
=$ac_optarg ;;
793 cache_file
=config.cache
;;
795 -datadir |
--datadir |
--datadi |
--datad)
797 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
798 datadir
=$ac_optarg ;;
800 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
801 |
--dataroo |
--dataro |
--datar)
802 ac_prev
=datarootdir
;;
803 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
804 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
805 datarootdir
=$ac_optarg ;;
807 -disable-* |
--disable-*)
808 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
809 # Reject names that are not valid shell variable names.
810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
811 as_fn_error $?
"invalid feature name: $ac_useropt"
812 ac_useropt_orig
=$ac_useropt
813 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
814 case $ac_user_opts in
818 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
819 ac_unrecognized_sep
=', ';;
821 eval enable_
$ac_useropt=no
;;
823 -docdir |
--docdir |
--docdi |
--doc |
--do)
825 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
828 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
830 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
833 -enable-* |
--enable-*)
834 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
835 # Reject names that are not valid shell variable names.
836 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
837 as_fn_error $?
"invalid feature name: $ac_useropt"
838 ac_useropt_orig
=$ac_useropt
839 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
840 case $ac_user_opts in
844 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
845 ac_unrecognized_sep
=', ';;
847 eval enable_
$ac_useropt=\
$ac_optarg ;;
849 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
850 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
851 |
--exec |
--exe |
--ex)
852 ac_prev
=exec_prefix
;;
853 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
854 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
855 |
--exec=* |
--exe=* |
--ex=*)
856 exec_prefix
=$ac_optarg ;;
858 -gas |
--gas |
--ga |
--g)
859 # Obsolete; use --with-gas.
862 -help |
--help |
--hel |
--he |
-h)
864 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
865 ac_init_help
=recursive
;;
866 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
867 ac_init_help
=short
;;
869 -host |
--host |
--hos |
--ho)
870 ac_prev
=host_alias
;;
871 -host=* |
--host=* |
--hos=* |
--ho=*)
872 host_alias
=$ac_optarg ;;
874 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
876 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
878 htmldir
=$ac_optarg ;;
880 -includedir |
--includedir |
--includedi |
--included |
--include \
881 |
--includ |
--inclu |
--incl |
--inc)
882 ac_prev
=includedir
;;
883 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
884 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
885 includedir
=$ac_optarg ;;
887 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
889 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
890 infodir
=$ac_optarg ;;
892 -libdir |
--libdir |
--libdi |
--libd)
894 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
897 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
898 |
--libexe |
--libex |
--libe)
899 ac_prev
=libexecdir
;;
900 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
901 |
--libexe=* |
--libex=* |
--libe=*)
902 libexecdir
=$ac_optarg ;;
904 -localedir |
--localedir |
--localedi |
--localed |
--locale)
906 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
907 localedir
=$ac_optarg ;;
909 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
910 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
911 ac_prev
=localstatedir
;;
912 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
913 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
914 localstatedir
=$ac_optarg ;;
916 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
918 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
922 # Obsolete; use --without-fp.
925 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
926 |
--no-cr |
--no-c |
-n)
929 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
930 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
933 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
934 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
935 |
--oldin |
--oldi |
--old |
--ol |
--o)
936 ac_prev
=oldincludedir
;;
937 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
938 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
939 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
940 oldincludedir
=$ac_optarg ;;
942 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
944 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
947 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
948 |
--program-pre |
--program-pr |
--program-p)
949 ac_prev
=program_prefix
;;
950 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
951 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
952 program_prefix
=$ac_optarg ;;
954 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
955 |
--program-suf |
--program-su |
--program-s)
956 ac_prev
=program_suffix
;;
957 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
958 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
959 program_suffix
=$ac_optarg ;;
961 -program-transform-name |
--program-transform-name \
962 |
--program-transform-nam |
--program-transform-na \
963 |
--program-transform-n |
--program-transform- \
964 |
--program-transform |
--program-transfor \
965 |
--program-transfo |
--program-transf \
966 |
--program-trans |
--program-tran \
967 |
--progr-tra |
--program-tr |
--program-t)
968 ac_prev
=program_transform_name
;;
969 -program-transform-name=* |
--program-transform-name=* \
970 |
--program-transform-nam=* |
--program-transform-na=* \
971 |
--program-transform-n=* |
--program-transform-=* \
972 |
--program-transform=* |
--program-transfor=* \
973 |
--program-transfo=* |
--program-transf=* \
974 |
--program-trans=* |
--program-tran=* \
975 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
976 program_transform_name
=$ac_optarg ;;
978 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
980 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
983 -psdir |
--psdir |
--psdi |
--psd |
--ps)
985 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
988 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
989 |
-silent |
--silent |
--silen |
--sile |
--sil)
992 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
994 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
996 sbindir
=$ac_optarg ;;
998 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
999 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1000 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1002 ac_prev
=sharedstatedir
;;
1003 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1004 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1005 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1007 sharedstatedir
=$ac_optarg ;;
1009 -site |
--site |
--sit)
1011 -site=* |
--site=* |
--sit=*)
1014 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1016 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1017 srcdir
=$ac_optarg ;;
1019 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1020 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1021 ac_prev
=sysconfdir
;;
1022 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1023 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1024 sysconfdir
=$ac_optarg ;;
1026 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1027 ac_prev
=target_alias
;;
1028 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1029 target_alias
=$ac_optarg ;;
1031 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1034 -version |
--version |
--versio |
--versi |
--vers |
-V)
1035 ac_init_version
=: ;;
1038 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1041 as_fn_error $?
"invalid package name: $ac_useropt"
1042 ac_useropt_orig
=$ac_useropt
1043 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044 case $ac_user_opts in
1048 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1049 ac_unrecognized_sep
=', ';;
1051 eval with_
$ac_useropt=\
$ac_optarg ;;
1053 -without-* |
--without-*)
1054 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1055 # Reject names that are not valid shell variable names.
1056 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1057 as_fn_error $?
"invalid package name: $ac_useropt"
1058 ac_useropt_orig
=$ac_useropt
1059 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1060 case $ac_user_opts in
1064 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1065 ac_unrecognized_sep
=', ';;
1067 eval with_
$ac_useropt=no
;;
1070 # Obsolete; use --with-x.
1073 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1074 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1075 ac_prev
=x_includes
;;
1076 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1077 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1078 x_includes
=$ac_optarg ;;
1080 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1081 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1082 ac_prev
=x_libraries
;;
1083 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1084 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1085 x_libraries
=$ac_optarg ;;
1087 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1088 Try \`$0 --help' for more information"
1092 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1093 # Reject names that are not valid shell variable names.
1094 case $ac_envvar in #(
1095 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1096 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1098 eval $ac_envvar=\
$ac_optarg
1099 export $ac_envvar ;;
1102 # FIXME: should be removed in autoconf 3.0.
1103 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1104 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1105 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1106 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1112 if test -n "$ac_prev"; then
1113 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1114 as_fn_error $?
"missing argument to $ac_option"
1117 if test -n "$ac_unrecognized_opts"; then
1118 case $enable_option_checking in
1120 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1121 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1125 # Check all directory arguments for consistency.
1126 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1127 datadir sysconfdir sharedstatedir localstatedir includedir \
1128 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1129 libdir localedir mandir
1131 eval ac_val
=\$
$ac_var
1132 # Remove trailing slashes.
1135 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1136 eval $ac_var=\
$ac_val;;
1138 # Be sure to have absolute directory names.
1140 [\\/$
]* | ?
:[\\/]* ) continue;;
1141 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1143 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1146 # There might be people who depend on the old broken behavior: `$host'
1147 # used to hold the argument of --host etc.
1148 # FIXME: To remove some day.
1151 target
=$target_alias
1153 # FIXME: To remove some day.
1154 if test "x$host_alias" != x
; then
1155 if test "x$build_alias" = x
; then
1156 cross_compiling
=maybe
1157 elif test "x$build_alias" != "x$host_alias"; then
1163 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1165 test "$silent" = yes && exec 6>/dev
/null
1168 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1169 ac_ls_di
=`ls -di .` &&
1170 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1171 as_fn_error $?
"working directory cannot be determined"
1172 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1173 as_fn_error $?
"pwd does not report name of working directory"
1176 # Find the source files, if location was not specified.
1177 if test -z "$srcdir"; then
1178 ac_srcdir_defaulted
=yes
1179 # Try the directory containing this script, then the parent directory.
1180 ac_confdir
=`$as_dirname -- "$as_myself" ||
1181 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1182 X"$as_myself" : 'X\(//\)[^/]' \| \
1183 X"$as_myself" : 'X\(//\)$' \| \
1184 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1185 $as_echo X"$as_myself" |
1186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1208 ac_srcdir_defaulted
=no
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1211 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1212 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1214 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1216 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1218 # When building in place, set srcdir=.
1219 if test "$ac_abs_confdir" = "$ac_pwd"; then
1222 # Remove unnecessary trailing slashes from srcdir.
1223 # Double slashes in file names in object file debugging info
1224 # mess up M-x gdb in Emacs.
1226 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1228 for ac_var
in $ac_precious_vars; do
1229 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1230 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1231 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1232 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1236 # Report the --help message.
1238 if test "$ac_init_help" = "long"; then
1239 # Omit some internal or obsolete options to make the list less imposing.
1240 # This message is too long to be a string in the A/UX 3.1 sh.
1242 \`configure' configures ZKT 1.1.3 to adapt to many kinds of systems.
1244 Usage: $0 [OPTION]... [VAR=VALUE]...
1246 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1247 VAR=VALUE. See below for descriptions of some of the useful variables.
1249 Defaults for the options are specified in brackets.
1252 -h, --help display this help and exit
1253 --help=short display options specific to this package
1254 --help=recursive display the short help of all the included packages
1255 -V, --version display version information and exit
1256 -q, --quiet, --silent do not print \`checking ...' messages
1257 --cache-file=FILE cache test results in FILE [disabled]
1258 -C, --config-cache alias for \`--cache-file=config.cache'
1259 -n, --no-create do not create output files
1260 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1262 Installation directories:
1263 --prefix=PREFIX install architecture-independent files in PREFIX
1264 [$ac_default_prefix]
1265 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1268 By default, \`make install' will install all the files in
1269 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1270 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1271 for instance \`--prefix=\$HOME'.
1273 For better control, use the options below.
1275 Fine tuning of the installation directories:
1276 --bindir=DIR user executables [EPREFIX/bin]
1277 --sbindir=DIR system admin executables [EPREFIX/sbin]
1278 --libexecdir=DIR program executables [EPREFIX/libexec]
1279 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1280 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1281 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1282 --libdir=DIR object code libraries [EPREFIX/lib]
1283 --includedir=DIR C header files [PREFIX/include]
1284 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1285 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1286 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1287 --infodir=DIR info documentation [DATAROOTDIR/info]
1288 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1289 --mandir=DIR man documentation [DATAROOTDIR/man]
1290 --docdir=DIR documentation root [DATAROOTDIR/doc/zkt]
1291 --htmldir=DIR html documentation [DOCDIR]
1292 --dvidir=DIR dvi documentation [DOCDIR]
1293 --pdfdir=DIR pdf documentation [DOCDIR]
1294 --psdir=DIR ps documentation [DOCDIR]
1301 if test -n "$ac_init_help"; then
1302 case $ac_init_help in
1303 short | recursive
) echo "Configuration of ZKT 1.1.3:";;
1308 --disable-option-checking ignore unrecognized
--enable/--with options
1309 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1310 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1311 --enable-bind_util_path=PATH
1312 Define path to BIND utilities
, default is path to
1314 --disable-color-mode zkt without colors
1315 --enable-print-timezone print out timezone
1316 --enable-print-age print age with year
1317 --enable-log-progname log with progname
1318 --disable-log-timestamp do not log with timestamp
1319 --disable-log-level do not log with level
1320 --disable-ttl-in-keyfiles
1321 do not allow TTL values
in keyfiles
1322 --enable-configpath=PATH
1323 set path of config
file (defaults to
/var
/named
)
1324 --disable-tree use single linked list instead of binary tree data
1325 structure
for dnssec-zkt
1328 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1329 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1330 --without-curses Ignore presence of curses and disable color mode
1332 Some influential environment variables
:
1333 CC C compiler
command
1334 CFLAGS C compiler flags
1335 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1336 nonstandard directory
<lib dir
>
1337 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1338 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1339 you have headers
in a nonstandard directory
<include dir
>
1342 Use these variables to override the choices made by
`configure' or to help
1343 it to find libraries and programs with nonstandard names/locations.
1345 Report bugs to <Holger Zuleger hznet.de>.
1350 if test "$ac_init_help" = "recursive"; then
1351 # If there are subdirs, report their specific --help.
1352 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1353 test -d "$ac_dir" ||
1354 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1359 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1361 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1362 # A ".." for each directory in $ac_dir_suffix.
1363 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1364 case $ac_top_builddir_sub in
1365 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1366 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1369 ac_abs_top_builddir=$ac_pwd
1370 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1371 # for backward compatibility:
1372 ac_top_builddir=$ac_top_build_prefix
1375 .) # We are building in place.
1377 ac_top_srcdir=$ac_top_builddir_sub
1378 ac_abs_top_srcdir=$ac_pwd ;;
1379 [\\/]* | ?:[\\/]* ) # Absolute name.
1380 ac_srcdir=$srcdir$ac_dir_suffix;
1381 ac_top_srcdir=$srcdir
1382 ac_abs_top_srcdir=$srcdir ;;
1384 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1385 ac_top_srcdir=$ac_top_build_prefix$srcdir
1386 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1388 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1390 cd "$ac_dir" || { ac_status=$?; continue; }
1391 # Check for guested configure.
1392 if test -f "$ac_srcdir/configure.gnu"; then
1394 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1395 elif test -f "$ac_srcdir/configure"; then
1397 $SHELL "$ac_srcdir/configure" --help=recursive
1399 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1401 cd "$ac_pwd" || { ac_status=$?; break; }
1405 test -n "$ac_init_help" && exit $ac_status
1406 if $ac_init_version; then
1409 generated by GNU Autoconf 2.69
1411 Copyright (C) 2012 Free Software Foundation, Inc.
1412 This configure script is free software; the Free Software Foundation
1413 gives unlimited permission to copy, distribute and modify it.
1418 ## ------------------------ ##
1419 ## Autoconf initialization. ##
1420 ## ------------------------ ##
1422 # ac_fn_c_try_compile LINENO
1423 # --------------------------
1424 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1425 ac_fn_c_try_compile ()
1427 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1428 rm -f conftest.$ac_objext
1429 if { { ac_try="$ac_compile"
1431 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1432 *) ac_try_echo
=$ac_try;;
1434 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1435 $as_echo "$ac_try_echo"; } >&5
1436 (eval "$ac_compile") 2>conftest.err
1438 if test -s conftest.err
; then
1439 grep -v '^ *+' conftest.err
>conftest.er1
1440 cat conftest.er1
>&5
1441 mv -f conftest.er1 conftest.err
1443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1444 test $ac_status = 0; } && {
1445 test -z "$ac_c_werror_flag" ||
1446 test ! -s conftest.err
1447 } && test -s conftest.
$ac_objext; then :
1450 $as_echo "$as_me: failed program was:" >&5
1451 sed 's/^/| /' conftest.
$ac_ext >&5
1455 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1456 as_fn_set_status
$ac_retval
1458 } # ac_fn_c_try_compile
1460 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1461 # -------------------------------------------
1462 # Tests whether TYPE exists after having included INCLUDES, setting cache
1463 # variable VAR accordingly.
1464 ac_fn_c_check_type
()
1466 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1468 $as_echo_n "checking for $2... " >&6; }
1469 if eval \
${$3+:} false
; then :
1470 $as_echo_n "(cached) " >&6
1473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1474 /* end confdefs.h. */
1485 if ac_fn_c_try_compile
"$LINENO"; then :
1486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1487 /* end confdefs.h. */
1498 if ac_fn_c_try_compile
"$LINENO"; then :
1503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1509 $as_echo "$ac_res" >&6; }
1510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1512 } # ac_fn_c_check_type
1514 # ac_fn_c_try_cpp LINENO
1515 # ----------------------
1516 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1519 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1520 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1522 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1523 *) ac_try_echo=$ac_try;;
1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1526 $as_echo "$ac_try_echo"; } >&5
1527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1529 if test -s conftest.err; then
1530 grep -v '^ *+' conftest.err >conftest.er1
1531 cat conftest.er1 >&5
1532 mv -f conftest.er1 conftest.err
1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1535 test $ac_status = 0; } > conftest.i && {
1536 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1537 test ! -s conftest.err
1541 $as_echo "$as_me: failed program was:" >&5
1542 sed 's/^/| /' conftest.$ac_ext >&5
1546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1547 as_fn_set_status $ac_retval
1551 # ac_fn_c_try_run LINENO
1552 # ----------------------
1553 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1554 # that executables *can* be run.
1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558 if { { ac_try="$ac_link"
1560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1561 *) ac_try_echo
=$ac_try;;
1563 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564 $as_echo "$ac_try_echo"; } >&5
1565 (eval "$ac_link") 2>&5
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1569 { { case "(($ac_try" in
1570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1571 *) ac_try_echo=$ac_try;;
1573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1574 $as_echo "$ac_try_echo"; } >&5
1575 (eval "$ac_try") 2>&5
1577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578 test $ac_status = 0; }; }; then :
1581 $as_echo "$as_me: program exited with status $ac_status" >&5
1582 $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.$ac_ext >&5
1585 ac_retval=$ac_status
1587 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589 as_fn_set_status $ac_retval
1593 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1594 # -------------------------------------------------------
1595 # Tests whether HEADER exists and can be compiled using the include files in
1596 # INCLUDES, setting the cache variable VAR accordingly.
1597 ac_fn_c_check_header_compile ()
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1601 $as_echo_n "checking for $2... " >&6; }
1602 if eval \${$3+:} false; then :
1603 $as_echo_n "(cached) " >&6
1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1606 /* end confdefs.h. */
1610 if ac_fn_c_try_compile "$LINENO"; then :
1615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1619 $as_echo "$ac_res" >&6; }
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622 } # ac_fn_c_check_header_compile
1624 # ac_fn_c_try_link LINENO
1625 # -----------------------
1626 # Try to link conftest.$ac_ext, and return whether this succeeded.
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 rm -f conftest.$ac_objext conftest$ac_exeext
1631 if { { ac_try="$ac_link"
1633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1634 *) ac_try_echo
=$ac_try;;
1636 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_link") 2>conftest.err
1640 if test -s conftest.err
; then
1641 grep -v '^ *+' conftest.err
>conftest.er1
1642 cat conftest.er1
>&5
1643 mv -f conftest.er1 conftest.err
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } && {
1647 test -z "$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1649 } && test -s conftest
$ac_exeext && {
1650 test "$cross_compiling" = yes ||
1651 test -x conftest
$ac_exeext
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.
$ac_ext >&5
1660 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1661 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1662 # interfere with the next link command; also delete a directory that is
1663 # left behind by Apple's compiler. We do this before executing the actions.
1664 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 as_fn_set_status
$ac_retval
1668 } # ac_fn_c_try_link
1670 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1671 # -------------------------------------------------------
1672 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1673 # the include files in INCLUDES and setting the cache variable VAR
1675 ac_fn_c_check_header_mongrel
()
1677 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1678 if eval \
${$3+:} false
; then :
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if eval \
${$3+:} false
; then :
1682 $as_echo_n "(cached) " >&6
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1686 $as_echo "$ac_res" >&6; }
1688 # Is the header compilable?
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1690 $as_echo_n "checking $2 usability... " >&6; }
1691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1692 /* end confdefs.h. */
1696 if ac_fn_c_try_compile
"$LINENO"; then :
1697 ac_header_compiler
=yes
1699 ac_header_compiler
=no
1701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1703 $as_echo "$ac_header_compiler" >&6; }
1705 # Is the header present?
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1707 $as_echo_n "checking $2 presence... " >&6; }
1708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1709 /* end confdefs.h. */
1712 if ac_fn_c_try_cpp
"$LINENO"; then :
1713 ac_header_preproc
=yes
1715 ac_header_preproc
=no
1717 rm -f conftest.err conftest.i conftest.
$ac_ext
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1719 $as_echo "$ac_header_preproc" >&6; }
1721 # So? What about this header?
1722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1725 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1727 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1731 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1733 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1735 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1737 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1739 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1740 ( $as_echo "## -------------------------------------- ##
1741 ## Report this to Holger Zuleger hznet.de ##
1742 ## -------------------------------------- ##"
1743 ) |
sed "s/^/$as_me: WARNING: /" >&2
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if eval \
${$3+:} false
; then :
1749 $as_echo_n "(cached) " >&6
1751 eval "$3=\$ac_header_compiler"
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1755 $as_echo "$ac_res" >&6; }
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 } # ac_fn_c_check_header_mongrel
1761 # ac_fn_c_check_func LINENO FUNC VAR
1762 # ----------------------------------
1763 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1764 ac_fn_c_check_func
()
1766 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768 $as_echo_n "checking for $2... " >&6; }
1769 if eval \
${$3+:} false
; then :
1770 $as_echo_n "(cached) " >&6
1772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h. */
1774 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1776 #define $2 innocuous_$2
1778 /* System header to define __stub macros and hopefully few prototypes,
1779 which can conflict with char $2 (); below.
1780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1781 <limits.h> exists even on freestanding compilers. */
1784 # include <limits.h>
1786 # include <assert.h>
1791 /* Override any GCC internal prototype to avoid an error.
1792 Use char because int might match the return type of a GCC
1793 builtin and then its argument prototype would still apply. */
1798 /* The GNU C library defines this for functions which it implements
1799 to always fail with ENOSYS. Some functions are actually named
1800 something starting with __ and the normal name is an alias. */
1801 #if defined __stub_$2 || defined __stub___$2
1813 if ac_fn_c_try_link
"$LINENO"; then :
1818 rm -f core conftest.err conftest.
$ac_objext \
1819 conftest
$ac_exeext conftest.
$ac_ext
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826 } # ac_fn_c_check_func
1827 cat >config.log
<<_ACEOF
1828 This file contains any messages produced by compilers while
1829 running configure, to aid debugging if configure makes a mistake.
1831 It was created by ZKT $as_me 1.1.3, which was
1832 generated by GNU Autoconf 2.69. Invocation command line was
1844 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1845 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1846 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1847 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1848 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1850 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1851 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1853 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1854 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1855 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1856 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1857 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1858 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1859 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1867 test -z "$as_dir" && as_dir
=.
1868 $as_echo "PATH: $as_dir"
1884 # Keep a trace of the command line.
1885 # Strip out --no-create and --no-recursion so they do not pile up.
1886 # Strip out --silent because we don't want to record it for future runs.
1887 # Also quote any args containing shell meta-characters.
1888 # Make two passes to allow for proper duplicate-argument suppression.
1892 ac_must_keep_next
=false
1898 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1899 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1900 |
-silent |
--silent |
--silen |
--sile |
--sil)
1903 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1906 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1908 as_fn_append ac_configure_args1
" '$ac_arg'"
1909 if test $ac_must_keep_next = true
; then
1910 ac_must_keep_next
=false
# Got value, back to normal.
1913 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1914 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1915 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1916 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1917 case "$ac_configure_args0 " in
1918 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1921 -* ) ac_must_keep_next
=true
;;
1924 as_fn_append ac_configure_args
" '$ac_arg'"
1929 { ac_configure_args0
=; unset ac_configure_args0
;}
1930 { ac_configure_args1
=; unset ac_configure_args1
;}
1932 # When interrupted or exit'd, cleanup temporary files, and complete
1933 # config.log. We remove comments because anyway the quotes in there
1934 # would cause problems or look ugly.
1935 # WARNING: Use '\'' to represent an apostrophe within the trap.
1936 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1937 trap 'exit_status=$?
1938 # Save into config.log some information that might help in debugging.
1942 $as_echo "## ---------------- ##
1943 ## Cache variables. ##
1944 ## ---------------- ##"
1946 # The following way of writing the cache mishandles newlines in values,
1948 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1949 eval ac_val=\$$ac_var
1953 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1954 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1957 _ | IFS | as_nl) ;; #(
1958 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1959 *) { eval $ac_var=; unset $ac_var;} ;;
1964 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1965 *${as_nl}ac_space=\ *)
1967 "s/'\''/'\''\\\\'\'''\''/g;
1968 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1971 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1978 $as_echo "## ----------------- ##
1979 ## Output variables. ##
1980 ## ----------------- ##"
1982 for ac_var in $ac_subst_vars
1984 eval ac_val=\$$ac_var
1986 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1988 $as_echo "$ac_var='\''$ac_val'\''"
1992 if test -n "$ac_subst_files"; then
1993 $as_echo "## ------------------- ##
1994 ## File substitutions. ##
1995 ## ------------------- ##"
1997 for ac_var
in $ac_subst_files
1999 eval ac_val
=\$
$ac_var
2001 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2003 $as_echo "$ac_var='\''$ac_val'\''"
2008 if test -s confdefs.h; then
2009 $as_echo "## ----------- ##
2016 test "$ac_signal" != 0 &&
2017 $as_echo "$as_me: caught signal $ac_signal"
2018 $as_echo "$as_me: exit $exit_status"
2020 rm -f core *.core core.conftest.* &&
2021 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2024 for ac_signal
in 1 2 13 15; do
2025 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2029 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2030 rm -f -r conftest
* confdefs.h
2032 $as_echo "/* confdefs.h */" > confdefs.h
2034 # Predefined preprocessor variables.
2036 cat >>confdefs.h
<<_ACEOF
2037 #define PACKAGE_NAME "$PACKAGE_NAME"
2040 cat >>confdefs.h
<<_ACEOF
2041 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2044 cat >>confdefs.h
<<_ACEOF
2045 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2048 cat >>confdefs.h
<<_ACEOF
2049 #define PACKAGE_STRING "$PACKAGE_STRING"
2052 cat >>confdefs.h
<<_ACEOF
2053 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2056 cat >>confdefs.h
<<_ACEOF
2057 #define PACKAGE_URL "$PACKAGE_URL"
2061 # Let the site file select an alternate cache file if it wants to.
2062 # Prefer an explicitly selected file to automatically selected ones.
2065 if test -n "$CONFIG_SITE"; then
2066 # We do not want a PATH search for config.site.
2067 case $CONFIG_SITE in #((
2068 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2069 */*) ac_site_file1
=$CONFIG_SITE;;
2070 *) ac_site_file1
=.
/$CONFIG_SITE;;
2072 elif test "x$prefix" != xNONE
; then
2073 ac_site_file1
=$prefix/share
/config.site
2074 ac_site_file2
=$prefix/etc
/config.site
2076 ac_site_file1
=$ac_default_prefix/share
/config.site
2077 ac_site_file2
=$ac_default_prefix/etc
/config.site
2079 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2081 test "x$ac_site_file" = xNONE
&& continue
2082 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2084 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2085 sed 's/^/| /' "$ac_site_file" >&5
2087 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2089 as_fn_error $?
"failed to load site script $ac_site_file
2090 See \`config.log' for more details" "$LINENO" 5; }
2094 if test -r "$cache_file"; then
2095 # Some versions of bash will fail to source /dev/null (special files
2096 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2097 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2099 $as_echo "$as_me: loading cache $cache_file" >&6;}
2101 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2102 *) .
"./$cache_file";;
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2107 $as_echo "$as_me: creating cache $cache_file" >&6;}
2111 as_fn_append ac_header_list
" sys/time.h"
2112 as_fn_append ac_header_list
" unistd.h"
2113 as_fn_append ac_func_list
" alarm"
2114 as_fn_append ac_header_list
" utime.h"
2115 # Check that the precious variables saved in the cache have kept the same
2117 ac_cache_corrupted
=false
2118 for ac_var
in $ac_precious_vars; do
2119 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2120 eval ac_new_set
=\
$ac_env_${ac_var}_set
2121 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2122 eval ac_new_val
=\
$ac_env_${ac_var}_value
2123 case $ac_old_set,$ac_new_set in
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2126 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2127 ac_cache_corrupted
=: ;;
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2130 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2131 ac_cache_corrupted
=: ;;
2134 if test "x$ac_old_val" != "x$ac_new_val"; then
2135 # differences in whitespace do not lead to failure.
2136 ac_old_val_w
=`echo x $ac_old_val`
2137 ac_new_val_w
=`echo x $ac_new_val`
2138 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2140 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2141 ac_cache_corrupted
=:
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2144 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2145 eval $ac_var=\
$ac_old_val
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2148 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2150 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2153 # Pass precious variables to config.status.
2154 if test "$ac_new_set" = set; then
2156 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2157 *) ac_arg
=$ac_var=$ac_new_val ;;
2159 case " $ac_configure_args " in
2160 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2161 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2165 if $ac_cache_corrupted; then
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2169 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2170 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2172 ## -------------------- ##
2173 ## Main body of script. ##
2174 ## -------------------- ##
2177 ac_cpp
='$CPP $CPPFLAGS'
2178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2184 ### Files to test to check if src dir contains the package
2186 ac_config_headers
="$ac_config_headers config.h"
2190 ### Checks for programs.
2192 ac_cpp
='$CPP $CPPFLAGS'
2193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2196 if test -n "$ac_tool_prefix"; then
2197 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2198 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2200 $as_echo_n "checking for $ac_word... " >&6; }
2201 if ${ac_cv_prog_CC+:} false
; then :
2202 $as_echo_n "(cached) " >&6
2204 if test -n "$CC"; then
2205 ac_cv_prog_CC
="$CC" # Let the user override the test.
2207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir
=.
2212 for ac_exec_ext
in '' $ac_executable_extensions; do
2213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2214 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 if test -n "$CC"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2227 $as_echo "$CC" >&6; }
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2230 $as_echo "no" >&6; }
2235 if test -z "$ac_cv_prog_CC"; then
2237 # Extract the first word of "gcc", so it can be a program name with args.
2238 set dummy gcc
; ac_word
=$2
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2240 $as_echo_n "checking for $ac_word... " >&6; }
2241 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2242 $as_echo_n "(cached) " >&6
2244 if test -n "$ac_ct_CC"; then
2245 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2251 test -z "$as_dir" && as_dir
=.
2252 for ac_exec_ext
in '' $ac_executable_extensions; do
2253 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2254 ac_cv_prog_ac_ct_CC
="gcc"
2255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2264 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2265 if test -n "$ac_ct_CC"; then
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2267 $as_echo "$ac_ct_CC" >&6; }
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2270 $as_echo "no" >&6; }
2273 if test "x$ac_ct_CC" = x
; then
2276 case $cross_compiling:$ac_tool_warned in
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2280 ac_tool_warned
=yes ;;
2288 if test -z "$CC"; then
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2291 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2293 $as_echo_n "checking for $ac_word... " >&6; }
2294 if ${ac_cv_prog_CC+:} false
; then :
2295 $as_echo_n "(cached) " >&6
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC
="$CC" # Let the user override the test.
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2307 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 if test -n "$CC"; then
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2320 $as_echo "$CC" >&6; }
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2323 $as_echo "no" >&6; }
2329 if test -z "$CC"; then
2330 # Extract the first word of "cc", so it can be a program name with args.
2331 set dummy cc
; ac_word
=$2
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2333 $as_echo_n "checking for $ac_word... " >&6; }
2334 if ${ac_cv_prog_CC+:} false
; then :
2335 $as_echo_n "(cached) " >&6
2337 if test -n "$CC"; then
2338 ac_cv_prog_CC
="$CC" # Let the user override the test.
2341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2345 test -z "$as_dir" && as_dir
=.
2346 for ac_exec_ext
in '' $ac_executable_extensions; do
2347 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2348 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2349 ac_prog_rejected
=yes
2353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2360 if test $ac_prog_rejected = yes; then
2361 # We found a bogon in the path, so make sure we never use it.
2362 set dummy
$ac_cv_prog_CC
2364 if test $# != 0; then
2365 # We chose a different compiler from the bogus one.
2366 # However, it has the same basename, so the bogon will be chosen
2367 # first if we set CC to just the basename; use the full file name.
2369 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2375 if test -n "$CC"; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2377 $as_echo "$CC" >&6; }
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2380 $as_echo "no" >&6; }
2385 if test -z "$CC"; then
2386 if test -n "$ac_tool_prefix"; then
2387 for ac_prog
in cl.exe
2389 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2390 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2392 $as_echo_n "checking for $ac_word... " >&6; }
2393 if ${ac_cv_prog_CC+:} false
; then :
2394 $as_echo_n "(cached) " >&6
2396 if test -n "$CC"; then
2397 ac_cv_prog_CC
="$CC" # Let the user override the test.
2399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2403 test -z "$as_dir" && as_dir
=.
2404 for ac_exec_ext
in '' $ac_executable_extensions; do
2405 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2406 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2417 if test -n "$CC"; then
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2419 $as_echo "$CC" >&6; }
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2422 $as_echo "no" >&6; }
2426 test -n "$CC" && break
2429 if test -z "$CC"; then
2431 for ac_prog
in cl.exe
2433 # Extract the first word of "$ac_prog", so it can be a program name with args.
2434 set dummy
$ac_prog; ac_word
=$2
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2436 $as_echo_n "checking for $ac_word... " >&6; }
2437 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2438 $as_echo_n "(cached) " >&6
2440 if test -n "$ac_ct_CC"; then
2441 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2447 test -z "$as_dir" && as_dir
=.
2448 for ac_exec_ext
in '' $ac_executable_extensions; do
2449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2450 ac_cv_prog_ac_ct_CC
="$ac_prog"
2451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2460 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2461 if test -n "$ac_ct_CC"; then
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2463 $as_echo "$ac_ct_CC" >&6; }
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2466 $as_echo "no" >&6; }
2470 test -n "$ac_ct_CC" && break
2473 if test "x$ac_ct_CC" = x
; then
2476 case $cross_compiling:$ac_tool_warned in
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2480 ac_tool_warned
=yes ;;
2489 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2491 as_fn_error $?
"no acceptable C compiler found in \$PATH
2492 See \`config.log' for more details" "$LINENO" 5; }
2494 # Provide some information about the compiler.
2495 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2498 for ac_option
in --version -v -V -qversion; do
2499 { { ac_try
="$ac_compiler $ac_option >&5"
2501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2502 *) ac_try_echo=$ac_try;;
2504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2505 $as_echo "$ac_try_echo"; } >&5
2506 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2508 if test -s conftest.err; then
2510 ... rest of stderr output deleted ...
2511 10q' conftest.err >conftest.er1
2512 cat conftest.er1 >&5
2514 rm -f conftest.er1 conftest.err
2515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2516 test $ac_status = 0; }
2519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520 /* end confdefs.h. */
2530 ac_clean_files_save=$ac_clean_files
2531 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2532 # Try to create an executable without -o first, disregard a.out.
2533 # It will help us diagnose broken compilers, and finding out an intuition
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2536 $as_echo_n "checking whether the C compiler works... " >&6; }
2537 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2539 # The possible output files:
2540 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2543 for ac_file in $ac_files
2546 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2547 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2552 if { { ac_try="$ac_link_default"
2554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2555 *) ac_try_echo
=$ac_try;;
2557 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2558 $as_echo "$ac_try_echo"; } >&5
2559 (eval "$ac_link_default") 2>&5
2561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562 test $ac_status = 0; }; then :
2563 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2564 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2565 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2566 # so that the user can short-circuit this test for compilers unknown to
2568 for ac_file
in $ac_files ''
2570 test -f "$ac_file" ||
continue
2572 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2575 # We found the default executable, but exeext='' is most
2579 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2581 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2583 # We set ac_cv_exeext here because the later test for it is not
2584 # safe: cross compilers may not add the suffix if given an `-o'
2585 # argument, so we may need to know it at that point already.
2586 # Even if this section looks crufty: it has the advantage of
2593 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2598 if test -z "$ac_file"; then :
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 $as_echo "no" >&6; }
2601 $as_echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.
$ac_ext >&5
2604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2606 as_fn_error
77 "C compiler cannot create executables
2607 See \`config.log' for more details" "$LINENO" 5; }
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2610 $as_echo "yes" >&6; }
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2613 $as_echo_n "checking for C compiler default output file name... " >&6; }
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2615 $as_echo "$ac_file" >&6; }
2616 ac_exeext
=$ac_cv_exeext
2618 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2619 ac_clean_files
=$ac_clean_files_save
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2621 $as_echo_n "checking for suffix of executables... " >&6; }
2622 if { { ac_try
="$ac_link"
2624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2625 *) ac_try_echo=$ac_try;;
2627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2628 $as_echo "$ac_try_echo"; } >&5
2629 (eval "$ac_link") 2>&5
2631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2632 test $ac_status = 0; }; then :
2633 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2634 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2635 # work properly (i.e., refer to `conftest.exe'), while it won't with
2637 for ac_file
in conftest.exe conftest conftest.
*; do
2638 test -f "$ac_file" ||
continue
2640 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2641 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2649 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2650 See \`config.log' for more details" "$LINENO" 5; }
2652 rm -f conftest conftest
$ac_cv_exeext
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2654 $as_echo "$ac_cv_exeext" >&6; }
2656 rm -f conftest.
$ac_ext
2657 EXEEXT
=$ac_cv_exeext
2659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2665 FILE *f = fopen ("conftest.out", "w");
2666 return ferror (f) || fclose (f) != 0;
2672 ac_clean_files
="$ac_clean_files conftest.out"
2673 # Check that the compiler produces executables we can run. If not, either
2674 # the compiler is broken, or we cross compile.
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2676 $as_echo_n "checking whether we are cross compiling... " >&6; }
2677 if test "$cross_compiling" != yes; then
2678 { { ac_try
="$ac_link"
2680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2681 *) ac_try_echo=$ac_try;;
2683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2684 $as_echo "$ac_try_echo"; } >&5
2685 (eval "$ac_link") 2>&5
2687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2688 test $ac_status = 0; }
2689 if { ac_try='./conftest$ac_cv_exeext'
2690 { { case "(($ac_try" in
2691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2692 *) ac_try_echo
=$ac_try;;
2694 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696 (eval "$ac_try") 2>&5
2698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699 test $ac_status = 0; }; }; then
2702 if test "$cross_compiling" = maybe
; then
2705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2707 as_fn_error $?
"cannot run C compiled programs.
2708 If you meant to cross compile, use \`--host'.
2709 See \`config.log' for more details" "$LINENO" 5; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2714 $as_echo "$cross_compiling" >&6; }
2716 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2717 ac_clean_files
=$ac_clean_files_save
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2719 $as_echo_n "checking for suffix of object files... " >&6; }
2720 if ${ac_cv_objext+:} false
; then :
2721 $as_echo_n "(cached) " >&6
2723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2724 /* end confdefs.h. */
2734 rm -f conftest.o conftest.obj
2735 if { { ac_try
="$ac_compile"
2737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742 (eval "$ac_compile") 2>&5
2744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; }; then :
2746 for ac_file in conftest.o conftest.obj conftest.*; do
2747 test -f "$ac_file" || continue;
2749 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2750 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2755 $as_echo "$as_me: failed program was:" >&5
2756 sed 's/^/| /' conftest.$ac_ext >&5
2758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2759 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2760 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2761 See \
`config.log' for more details" "$LINENO" 5; }
2763 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2766 $as_echo "$ac_cv_objext" >&6; }
2767 OBJEXT=$ac_cv_objext
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2770 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2771 if ${ac_cv_c_compiler_gnu+:} false; then :
2772 $as_echo_n "(cached) " >&6
2774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2775 /* end confdefs.h. */
2788 if ac_fn_c_try_compile "$LINENO"; then :
2793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2794 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2798 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2799 if test $ac_compiler_gnu = yes; then
2804 ac_test_CFLAGS=${CFLAGS+set}
2805 ac_save_CFLAGS=$CFLAGS
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2807 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2808 if ${ac_cv_prog_cc_g+:} false; then :
2809 $as_echo_n "(cached) " >&6
2811 ac_save_c_werror_flag=$ac_c_werror_flag
2812 ac_c_werror_flag=yes
2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2826 if ac_fn_c_try_compile "$LINENO"; then :
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */
2841 if ac_fn_c_try_compile "$LINENO"; then :
2844 ac_c_werror_flag=$ac_save_c_werror_flag
2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2857 if ac_fn_c_try_compile "$LINENO"; then :
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 ac_c_werror_flag=$ac_save_c_werror_flag
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2868 $as_echo "$ac_cv_prog_cc_g" >&6; }
2869 if test "$ac_test_CFLAGS" = set; then
2870 CFLAGS=$ac_save_CFLAGS
2871 elif test $ac_cv_prog_cc_g = yes; then
2872 if test "$GCC" = yes; then
2878 if test "$GCC" = yes; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2885 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2886 if ${ac_cv_prog_cc_c89+:} false; then :
2887 $as_echo_n "(cached) " >&6
2889 ac_cv_prog_cc_c89=no
2891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2892 /* end confdefs.h. */
2896 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2897 struct buf { int x; };
2898 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2899 static char *e (p, i)
2905 static char *f (char * (*g) (char **, int), char **p, ...)
2910 s = g (p, va_arg (v,int));
2915 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2916 function prototypes and stuff, but not '\xHH' hex character constants.
2917 These don't provoke an error unfortunately, instead are silently treated
2918 as 'x'. The following induces an error, until -std is added to get
2919 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2920 array size at least. It's necessary to write '\x00'==0 to get something
2921 that's true only with -std. */
2922 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2924 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2925 inside strings and character constants. */
2927 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2929 int test (int i, double x);
2930 struct s1 {int (*f) (int a);};
2931 struct s2 {int (*f) (double a);};
2932 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2938 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2943 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2944 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2946 CC="$ac_save_CC $ac_arg"
2947 if ac_fn_c_try_compile "$LINENO"; then :
2948 ac_cv_prog_cc_c89=$ac_arg
2950 rm -f core conftest.err conftest.$ac_objext
2951 test "x$ac_cv_prog_cc_c89" != "xno" && break
2953 rm -f conftest.$ac_ext
2958 case "x$ac_cv_prog_cc_c89" in
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2961 $as_echo "none needed" >&6; } ;;
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2964 $as_echo "unsupported" >&6; } ;;
2966 CC="$CC $ac_cv_prog_cc_c89"
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2968 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2970 if test "x$ac_cv_prog_cc_c89" != xno; then :
2975 ac_cpp='$CPP $CPPFLAGS'
2976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2981 ### find out the path to BIND utils and version
2982 # Check whether --enable-bind_util_path was given.
2983 if test "${enable_bind_util_path+set}" = set; then :
2984 enableval=$enable_bind_util_path; bind_util_path=$enableval
2987 if test -n "$bind_util_path"
2989 if test -x "$bind_util_path/dnssec-signzone"
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: BIND utilities path successfully set to $bind_util_path." >&5
2992 $as_echo "$as_me: BIND utilities path successfully set to $bind_util_path." >&6;}
2993 SIGNZONE_PROG=$bind_util_path/dnssec-signzone
2995 as_fn_error $? "*** 'BIND utility not found in $bind_util_path, please use --enable-bind_util_path= to set it manually' ***" "$LINENO" 5
2998 # Extract the first word of "dnssec-signzone", so it can be a program name with args.
2999 set dummy dnssec-signzone; ac_word=$2
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001 $as_echo_n "checking for $ac_word... " >&6; }
3002 if ${ac_cv_path_SIGNZONE_PROG+:} false; then :
3003 $as_echo_n "(cached) " >&6
3005 case $SIGNZONE_PROG in
3007 ac_cv_path_SIGNZONE_PROG="$SIGNZONE_PROG" # Let the user override the test with a path.
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir=.
3015 for ac_exec_ext in '' $ac_executable_extensions; do
3016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017 ac_cv_path_SIGNZONE_PROG="$as_dir/$ac_word$ac_exec_ext"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 SIGNZONE_PROG=$ac_cv_path_SIGNZONE_PROG
3029 if test -n "$SIGNZONE_PROG"; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SIGNZONE_PROG" >&5
3031 $as_echo "$SIGNZONE_PROG" >&6; }
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3034 $as_echo "no" >&6; }
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: BIND utility $SIGNZONE_PROG found" >&5
3039 $as_echo "$as_me: BIND utility $SIGNZONE_PROG found" >&6;}
3040 if test -n "$SIGNZONE_PROG"
3042 bind_util_path=`dirname "$SIGNZONE_PROG"`
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: BIND utilities path automatically set to $bind_util_path." >&5
3044 $as_echo "$as_me: BIND utilities path automatically set to $bind_util_path." >&6;}
3046 as_fn_error $? "*** 'could not determine BIND utility path, please use --enable-bind_util_path= ' to set it manually ***" "$LINENO" 5
3049 ### By now, we have a path. We'll use it.
3050 # define BIND_UTIL_PATH in config.h.in
3052 cat >>confdefs.h <<_ACEOF
3053 #define BIND_UTIL_PATH "$bind_util_path/"
3057 # define BIND_VERSION in config.h.in
3058 bind_version=`$SIGNZONE_PROG 2>&1 |
awk -F: '/^Version:/ { split ($2, v, "."); printf ("%2d%02d%02d\n", atoi (v[1]), atoi (v[2]), atoi (v[3])); };'`
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: BIND_VERSION string set to $bind_version." >&5
3060 $as_echo "$as_me: BIND_VERSION string set to $bind_version." >&6;}
3062 cat >>confdefs.h <<_ACEOF
3063 #define BIND_VERSION $bind_version
3066 if test $bind_version -lt "90800"
3068 as_fn_error $? "*** 'This version of ZKT requires a BIND version greater 9.7' ***" "$LINENO" 5
3074 ac_cpp='$CPP $CPPFLAGS'
3075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3079 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3080 # On Suns, sometimes $CPP names a directory.
3081 if test -n "$CPP" && test -d "$CPP"; then
3084 if test -z "$CPP"; then
3085 if ${ac_cv_prog_CPP+:} false; then :
3086 $as_echo_n "(cached) " >&6
3088 # Double quotes because CPP needs to be expanded
3089 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3092 for ac_c_preproc_warn_flag in '' yes
3094 # Use a header file that comes with gcc, so configuring glibc
3095 # with a fresh cross-compiler works.
3096 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3097 # <limits.h> exists even on freestanding compilers.
3098 # On the NeXT, cc -E runs the code through the compiler's parser,
3099 # not just through cpp. "Syntax error" is here to catch this case.
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3103 # include <limits.h>
3105 # include <assert.h>
3109 if ac_fn_c_try_cpp "$LINENO"; then :
3112 # Broken: fails on valid input.
3115 rm -f conftest.err conftest.i conftest.$ac_ext
3117 # OK, works on sane cases. Now check whether nonexistent headers
3118 # can be detected and how.
3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3120 /* end confdefs.h. */
3121 #include <ac_nonexistent.h>
3123 if ac_fn_c_try_cpp "$LINENO"; then :
3124 # Broken: success on invalid input.
3127 # Passes both tests.
3131 rm -f conftest.err conftest.i conftest.$ac_ext
3134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3135 rm -f conftest.i conftest.err conftest.
$ac_ext
3136 if $ac_preproc_ok; then :
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3149 $as_echo "$CPP" >&6; }
3151 for ac_c_preproc_warn_flag
in '' yes
3153 # Use a header file that comes with gcc, so configuring glibc
3154 # with a fresh cross-compiler works.
3155 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3156 # <limits.h> exists even on freestanding compilers.
3157 # On the NeXT, cc -E runs the code through the compiler's parser,
3158 # not just through cpp. "Syntax error" is here to catch this case.
3159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h. */
3162 # include <limits.h>
3164 # include <assert.h>
3168 if ac_fn_c_try_cpp
"$LINENO"; then :
3171 # Broken: fails on valid input.
3174 rm -f conftest.err conftest.i conftest.
$ac_ext
3176 # OK, works on sane cases. Now check whether nonexistent headers
3177 # can be detected and how.
3178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3179 /* end confdefs.h. */
3180 #include <ac_nonexistent.h>
3182 if ac_fn_c_try_cpp
"$LINENO"; then :
3183 # Broken: success on invalid input.
3186 # Passes both tests.
3190 rm -f conftest.err conftest.i conftest.
$ac_ext
3193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3194 rm -f conftest.i conftest.err conftest.
$ac_ext
3195 if $ac_preproc_ok; then :
3198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3200 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3201 See \`config.log' for more details" "$LINENO" 5; }
3205 ac_cpp
='$CPP $CPPFLAGS'
3206 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3207 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3208 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3212 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3213 if ${ac_cv_path_GREP+:} false
; then :
3214 $as_echo_n "(cached) " >&6
3216 if test -z "$GREP"; then
3217 ac_path_GREP_found
=false
3218 # Loop through the user's path and test for each of PROGNAME-LIST
3219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3220 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3223 test -z "$as_dir" && as_dir
=.
3224 for ac_prog
in grep ggrep
; do
3225 for ac_exec_ext
in '' $ac_executable_extensions; do
3226 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3227 as_fn_executable_p
"$ac_path_GREP" ||
continue
3228 # Check for GNU ac_path_GREP and select it if it is found.
3229 # Check for GNU $ac_path_GREP
3230 case `"$ac_path_GREP" --version 2>&1` in
3232 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3235 $as_echo_n 0123456789 >"conftest.in"
3238 cat "conftest.in" "conftest.in" >"conftest.tmp"
3239 mv "conftest.tmp" "conftest.in"
3240 cp "conftest.in" "conftest.nl"
3241 $as_echo 'GREP' >> "conftest.nl"
3242 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3243 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3244 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3245 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3246 # Best one so far, save it but keep looking for a better one
3247 ac_cv_path_GREP
="$ac_path_GREP"
3248 ac_path_GREP_max
=$ac_count
3250 # 10*(2^10) chars as input seems more than enough
3251 test $ac_count -gt 10 && break
3253 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3256 $ac_path_GREP_found && break 3
3261 if test -z "$ac_cv_path_GREP"; then
3262 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3265 ac_cv_path_GREP
=$GREP
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3270 $as_echo "$ac_cv_path_GREP" >&6; }
3271 GREP
="$ac_cv_path_GREP"
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3275 $as_echo_n "checking for egrep... " >&6; }
3276 if ${ac_cv_path_EGREP+:} false
; then :
3277 $as_echo_n "(cached) " >&6
3279 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3280 then ac_cv_path_EGREP
="$GREP -E"
3282 if test -z "$EGREP"; then
3283 ac_path_EGREP_found
=false
3284 # Loop through the user's path and test for each of PROGNAME-LIST
3285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3286 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3289 test -z "$as_dir" && as_dir
=.
3290 for ac_prog
in egrep; do
3291 for ac_exec_ext
in '' $ac_executable_extensions; do
3292 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3293 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3294 # Check for GNU ac_path_EGREP and select it if it is found.
3295 # Check for GNU $ac_path_EGREP
3296 case `"$ac_path_EGREP" --version 2>&1` in
3298 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3301 $as_echo_n 0123456789 >"conftest.in"
3304 cat "conftest.in" "conftest.in" >"conftest.tmp"
3305 mv "conftest.tmp" "conftest.in"
3306 cp "conftest.in" "conftest.nl"
3307 $as_echo 'EGREP' >> "conftest.nl"
3308 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3309 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3310 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3311 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3312 # Best one so far, save it but keep looking for a better one
3313 ac_cv_path_EGREP
="$ac_path_EGREP"
3314 ac_path_EGREP_max
=$ac_count
3316 # 10*(2^10) chars as input seems more than enough
3317 test $ac_count -gt 10 && break
3319 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3322 $ac_path_EGREP_found && break 3
3327 if test -z "$ac_cv_path_EGREP"; then
3328 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3331 ac_cv_path_EGREP
=$EGREP
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3337 $as_echo "$ac_cv_path_EGREP" >&6; }
3338 EGREP
="$ac_cv_path_EGREP"
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3342 $as_echo_n "checking for ANSI C header files... " >&6; }
3343 if ${ac_cv_header_stdc+:} false
; then :
3344 $as_echo_n "(cached) " >&6
3346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3361 if ac_fn_c_try_compile
"$LINENO"; then :
3362 ac_cv_header_stdc
=yes
3364 ac_cv_header_stdc
=no
3366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3368 if test $ac_cv_header_stdc = yes; then
3369 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3371 /* end confdefs.h. */
3375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3376 $EGREP "memchr" >/dev
/null
2>&1; then :
3379 ac_cv_header_stdc
=no
3385 if test $ac_cv_header_stdc = yes; then
3386 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3388 /* end confdefs.h. */
3392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3393 $EGREP "free" >/dev
/null
2>&1; then :
3396 ac_cv_header_stdc
=no
3402 if test $ac_cv_header_stdc = yes; then
3403 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3404 if test "$cross_compiling" = yes; then :
3407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3411 #if ((' ' & 0x0FF) == 0x020)
3412 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3413 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3415 # define ISLOWER(c) \
3416 (('a' <= (c) && (c) <= 'i') \
3417 || ('j' <= (c) && (c) <= 'r') \
3418 || ('s' <= (c) && (c) <= 'z'))
3419 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3422 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3427 for (i = 0; i < 256; i++)
3428 if (XOR (islower (i), ISLOWER (i))
3429 || toupper (i) != TOUPPER (i))
3434 if ac_fn_c_try_run
"$LINENO"; then :
3437 ac_cv_header_stdc
=no
3439 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3440 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3446 $as_echo "$ac_cv_header_stdc" >&6; }
3447 if test $ac_cv_header_stdc = yes; then
3449 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3453 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3454 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3455 inttypes.h stdint.h unistd.h
3457 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3458 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3460 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3461 cat >>confdefs.h
<<_ACEOF
3462 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3470 ac_fn_c_check_type
"$LINENO" "uint" "ac_cv_type_uint" "$ac_includes_default"
3471 if test "x$ac_cv_type_uint" = xyes
; then :
3475 cat >>confdefs.h
<<_ACEOF
3476 #define uint unsigned int
3481 ac_fn_c_check_type
"$LINENO" "ulong" "ac_cv_type_ulong" "$ac_includes_default"
3482 if test "x$ac_cv_type_ulong" = xyes
; then :
3486 cat >>confdefs.h
<<_ACEOF
3487 #define ulong unsigned long
3492 ac_fn_c_check_type
"$LINENO" "ushort" "ac_cv_type_ushort" "$ac_includes_default"
3493 if test "x$ac_cv_type_ushort" = xyes
; then :
3497 cat >>confdefs.h
<<_ACEOF
3498 #define ushort unsigned short
3503 ac_fn_c_check_type
"$LINENO" "uchar" "ac_cv_type_uchar" "$ac_includes_default"
3504 if test "x$ac_cv_type_uchar" = xyes
; then :
3508 cat >>confdefs.h
<<_ACEOF
3509 #define uchar unsigned char
3515 ### define configure arguments
3516 # Check whether --enable-color_mode was given.
3517 if test "${enable_color_mode+set}" = set; then :
3518 enableval
=$enable_color_mode;
3522 if test "$enable_color_mode" = "no"; then :
3527 # Check whether --with-curses was given.
3528 if test "${with_curses+set}" = set; then :
3529 withval
=$with_curses;
3533 if test "x$with_curses" != "xno"; then :
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5
3535 $as_echo_n "checking for tgetent in -lncurses... " >&6; }
3536 if ${ac_cv_lib_ncurses_tgetent+:} false
; then :
3537 $as_echo_n "(cached) " >&6
3539 ac_check_lib_save_LIBS
=$LIBS
3540 LIBS
="-lncurses $LIBS"
3541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3544 /* Override any GCC internal prototype to avoid an error.
3545 Use char because int might match the return type of a GCC
3546 builtin and then its argument prototype would still apply. */
3559 if ac_fn_c_try_link
"$LINENO"; then :
3560 ac_cv_lib_ncurses_tgetent
=yes
3562 ac_cv_lib_ncurses_tgetent
=no
3564 rm -f core conftest.err conftest.
$ac_objext \
3565 conftest
$ac_exeext conftest.
$ac_ext
3566 LIBS
=$ac_check_lib_save_LIBS
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5
3569 $as_echo "$ac_cv_lib_ncurses_tgetent" >&6; }
3570 if test "x$ac_cv_lib_ncurses_tgetent" = xyes
; then :
3571 cat >>confdefs.h
<<_ACEOF
3572 #define HAVE_LIBNCURSES 1
3575 LIBS
="-lncurses $LIBS"
3580 HAVE_LIB_NCURSES
=0; color_mode
=0
3584 cat >>confdefs.h
<<_ACEOF
3585 #define COLOR_MODE $color_mode
3590 # Check whether --enable-printtimezone was given.
3591 if test "${enable_printtimezone+set}" = set; then :
3592 enableval
=$enable_printtimezone;
3596 if test "$enable_printtimezone" = "yes"; then :
3600 cat >>confdefs.h
<<_ACEOF
3601 #define PRINT_TIMEZONE $printtimezone
3605 # Check whether --enable-printyear was given.
3606 if test "${enable_printyear+set}" = set; then :
3607 enableval
=$enable_printyear;
3611 if test "$enable_printyear" = "yes"; then :
3615 cat >>confdefs.h
<<_ACEOF
3616 #define PRINT_AGE_WITH_YEAR $printyear
3620 # Check whether --enable-logprogname was given.
3621 if test "${enable_logprogname+set}" = set; then :
3622 enableval
=$enable_logprogname;
3626 if test "$enable_logprogname" = "yes"; then :
3630 cat >>confdefs.h
<<_ACEOF
3631 #define LOG_WITH_PROGNAME $logprogname
3635 # Check whether --enable-logtimestamp was given.
3636 if test "${enable_logtimestamp+set}" = set; then :
3637 enableval
=$enable_logtimestamp;
3641 if test "$enable_logtimestamp" = "no"; then :
3645 cat >>confdefs.h
<<_ACEOF
3646 #define LOG_WITH_TIMESTAMP $logtimestamp
3650 # Check whether --enable-loglevel was given.
3651 if test "${enable_loglevel+set}" = set; then :
3652 enableval
=$enable_loglevel;
3656 if test "$enable_loglevel" = "no"; then :
3660 cat >>confdefs.h
<<_ACEOF
3661 #define LOG_WITH_LEVEL $loglevel
3665 # Check whether --enable-ttl_in_keyfile was given.
3666 if test "${enable_ttl_in_keyfile+set}" = set; then :
3667 enableval
=$enable_ttl_in_keyfile;
3671 if test "$enable_ttl_in_keyfile" = "no"; then :
3675 cat >>confdefs.h
<<_ACEOF
3676 #define TTL_IN_KEYFILE_ALLOWED $ttl_in_keyfile
3680 configpath
="/var/named"
3681 # Check whether --enable-configpath was given.
3682 if test "${enable_configpath+set}" = set; then :
3683 enableval
=$enable_configpath; configpath
=$enableval
3686 case "$configpath" in
3688 configpath
="/var/named"
3697 cat >>confdefs.h
<<_ACEOF
3698 #define CONFIG_PATH "$configpath/"
3704 # Check whether --enable-tree was given.
3705 if test "${enable_tree+set}" = set; then :
3706 enableval
=$enable_tree; usetree
=$enableval
3709 if test "$usetree" = no
3715 cat >>confdefs.h
<<_ACEOF
3716 #define USE_TREE $usetree
3721 cat >>confdefs.h
<<_ACEOF
3722 #define ZKT_VERSION "$t$PACKAGE_VERSION"
3726 cat >>confdefs.h
<<_ACEOF
3727 #define ZKT_COPYRIGHT "(c) Feb 2005 - Nov 2012 Holger Zuleger hznet.de"
3731 ### Checks for libraries.
3733 ### Checks for header files.
3735 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
3736 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
3738 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
3739 if eval \
${$as_ac_Header+:} false
; then :
3740 $as_echo_n "(cached) " >&6
3742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3743 /* end confdefs.h. */
3744 #include <sys/types.h>
3756 if ac_fn_c_try_compile
"$LINENO"; then :
3757 eval "$as_ac_Header=yes"
3759 eval "$as_ac_Header=no"
3761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3763 eval ac_res
=\$
$as_ac_Header
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3765 $as_echo "$ac_res" >&6; }
3766 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3767 cat >>confdefs.h
<<_ACEOF
3768 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3771 ac_header_dirent
=$ac_hdr; break
3775 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3776 if test $ac_header_dirent = dirent.h
; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3778 $as_echo_n "checking for library containing opendir... " >&6; }
3779 if ${ac_cv_search_opendir+:} false
; then :
3780 $as_echo_n "(cached) " >&6
3782 ac_func_search_save_LIBS
=$LIBS
3783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h. */
3786 /* Override any GCC internal prototype to avoid an error.
3787 Use char because int might match the return type of a GCC
3788 builtin and then its argument prototype would still apply. */
3801 for ac_lib
in '' dir
; do
3802 if test -z "$ac_lib"; then
3803 ac_res
="none required"
3806 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3808 if ac_fn_c_try_link
"$LINENO"; then :
3809 ac_cv_search_opendir
=$ac_res
3811 rm -f core conftest.err conftest.
$ac_objext \
3813 if ${ac_cv_search_opendir+:} false
; then :
3817 if ${ac_cv_search_opendir+:} false
; then :
3820 ac_cv_search_opendir
=no
3823 LIBS
=$ac_func_search_save_LIBS
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3826 $as_echo "$ac_cv_search_opendir" >&6; }
3827 ac_res
=$ac_cv_search_opendir
3828 if test "$ac_res" != no
; then :
3829 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3835 $as_echo_n "checking for library containing opendir... " >&6; }
3836 if ${ac_cv_search_opendir+:} false
; then :
3837 $as_echo_n "(cached) " >&6
3839 ac_func_search_save_LIBS
=$LIBS
3840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3843 /* Override any GCC internal prototype to avoid an error.
3844 Use char because int might match the return type of a GCC
3845 builtin and then its argument prototype would still apply. */
3858 for ac_lib
in '' x
; do
3859 if test -z "$ac_lib"; then
3860 ac_res
="none required"
3863 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3865 if ac_fn_c_try_link
"$LINENO"; then :
3866 ac_cv_search_opendir
=$ac_res
3868 rm -f core conftest.err conftest.
$ac_objext \
3870 if ${ac_cv_search_opendir+:} false
; then :
3874 if ${ac_cv_search_opendir+:} false
; then :
3877 ac_cv_search_opendir
=no
3880 LIBS
=$ac_func_search_save_LIBS
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3883 $as_echo "$ac_cv_search_opendir" >&6; }
3884 ac_res
=$ac_cv_search_opendir
3885 if test "$ac_res" != no
; then :
3886 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3893 $as_echo_n "checking for ANSI C header files... " >&6; }
3894 if ${ac_cv_header_stdc+:} false
; then :
3895 $as_echo_n "(cached) " >&6
3897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3912 if ac_fn_c_try_compile
"$LINENO"; then :
3913 ac_cv_header_stdc
=yes
3915 ac_cv_header_stdc
=no
3917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3919 if test $ac_cv_header_stdc = yes; then
3920 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3927 $EGREP "memchr" >/dev
/null
2>&1; then :
3930 ac_cv_header_stdc
=no
3936 if test $ac_cv_header_stdc = yes; then
3937 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3939 /* end confdefs.h. */
3943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3944 $EGREP "free" >/dev
/null
2>&1; then :
3947 ac_cv_header_stdc
=no
3953 if test $ac_cv_header_stdc = yes; then
3954 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3955 if test "$cross_compiling" = yes; then :
3958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3959 /* end confdefs.h. */
3962 #if ((' ' & 0x0FF) == 0x020)
3963 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3964 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3966 # define ISLOWER(c) \
3967 (('a' <= (c) && (c) <= 'i') \
3968 || ('j' <= (c) && (c) <= 'r') \
3969 || ('s' <= (c) && (c) <= 'z'))
3970 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3973 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3978 for (i = 0; i < 256; i++)
3979 if (XOR (islower (i), ISLOWER (i))
3980 || toupper (i) != TOUPPER (i))
3985 if ac_fn_c_try_run
"$LINENO"; then :
3988 ac_cv_header_stdc
=no
3990 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3991 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3997 $as_echo "$ac_cv_header_stdc" >&6; }
3998 if test $ac_cv_header_stdc = yes; then
4000 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4004 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 term.h curses.h
4006 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4007 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4008 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4009 cat >>confdefs.h
<<_ACEOF
4010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4019 ### Checks for typedefs, structures, and compiler characteristics.
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4021 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4022 if ${ac_cv_c_const+:} false
; then :
4023 $as_echo_n "(cached) " >&6
4025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4033 /* Ultrix mips cc rejects this sort of thing. */
4034 typedef int charset[2];
4035 const charset cs = { 0, 0 };
4036 /* SunOS 4.1.1 cc rejects this. */
4037 char const *const *pcpcc;
4039 /* NEC SVR4.0.2 mips cc rejects this. */
4040 struct point {int x, y;};
4041 static struct point const zero = {0,0};
4042 /* AIX XL C 1.02.0.0 rejects this.
4043 It does not let you subtract one const X* pointer from another in
4044 an arm of an if-expression whose if-part is not a constant
4046 const char *g = "string";
4047 pcpcc = &g + (g ? g-g : 0);
4048 /* HPUX 7.0 cc rejects these. */
4050 ppc = (char**) pcpcc;
4051 pcpcc = (char const *const *) ppc;
4052 { /* SCO 3.2v4 cc rejects this sort of thing. */
4055 char const *s = 0 ? (char *) 0 : (char const *) 0;
4060 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4062 const int *foo = &x[0];
4065 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4066 typedef const int *iptr;
4070 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4071 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4072 struct s { int j; const int *ap[3]; } bx;
4073 struct s *b = &bx; b->j = 5;
4075 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4079 return !cs[0] && !zero.x;
4086 if ac_fn_c_try_compile
"$LINENO"; then :
4091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4094 $as_echo "$ac_cv_c_const" >&6; }
4095 if test $ac_cv_c_const = no
; then
4097 $as_echo "#define const /**/" >>confdefs.h
4101 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4102 if test "x$ac_cv_type_size_t" = xyes
; then :
4106 cat >>confdefs.h
<<_ACEOF
4107 #define size_t unsigned int
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4113 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4114 if ${ac_cv_header_time+:} false
; then :
4115 $as_echo_n "(cached) " >&6
4117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4119 #include <sys/types.h>
4120 #include <sys/time.h>
4126 if ((struct tm *) 0)
4132 if ac_fn_c_try_compile
"$LINENO"; then :
4133 ac_cv_header_time
=yes
4135 ac_cv_header_time
=no
4137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4140 $as_echo "$ac_cv_header_time" >&6; }
4141 if test $ac_cv_header_time = yes; then
4143 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
4148 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
4149 if ${ac_cv_struct_tm+:} false
; then :
4150 $as_echo_n "(cached) " >&6
4152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4154 #include <sys/types.h>
4161 int *p = &tm.tm_sec;
4167 if ac_fn_c_try_compile
"$LINENO"; then :
4168 ac_cv_struct_tm
=time.h
4170 ac_cv_struct_tm
=sys
/time.h
4172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
4175 $as_echo "$ac_cv_struct_tm" >&6; }
4176 if test $ac_cv_struct_tm = sys
/time.h
; then
4178 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
4183 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
4184 if ${ac_cv_type_uid_t+:} false
; then :
4185 $as_echo_n "(cached) " >&6
4187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4189 #include <sys/types.h>
4192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4193 $EGREP "uid_t" >/dev
/null
2>&1; then :
4194 ac_cv_type_uid_t
=yes
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
4202 $as_echo "$ac_cv_type_uid_t" >&6; }
4203 if test $ac_cv_type_uid_t = no
; then
4205 $as_echo "#define uid_t int" >>confdefs.h
4208 $as_echo "#define gid_t int" >>confdefs.h
4214 ### Checks for library functions.
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
4216 $as_echo_n "checking whether closedir returns void... " >&6; }
4217 if ${ac_cv_func_closedir_void+:} false
; then :
4218 $as_echo_n "(cached) " >&6
4220 if test "$cross_compiling" = yes; then :
4221 ac_cv_func_closedir_void
=yes
4223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4224 /* end confdefs.h. */
4225 $ac_includes_default
4226 #include <$ac_header_dirent>
4234 return closedir (opendir (".")) != 0;
4239 if ac_fn_c_try_run
"$LINENO"; then :
4240 ac_cv_func_closedir_void
=no
4242 ac_cv_func_closedir_void
=yes
4244 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4245 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
4250 $as_echo "$ac_cv_func_closedir_void" >&6; }
4251 if test $ac_cv_func_closedir_void = yes; then
4253 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
4258 $as_echo_n "checking for error_at_line... " >&6; }
4259 if ${ac_cv_lib_error_at_line+:} false
; then :
4260 $as_echo_n "(cached) " >&6
4262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4268 error_at_line (0, 0, "", 0, "an error occurred");
4273 if ac_fn_c_try_link
"$LINENO"; then :
4274 ac_cv_lib_error_at_line
=yes
4276 ac_cv_lib_error_at_line
=no
4278 rm -f core conftest.err conftest.
$ac_objext \
4279 conftest
$ac_exeext conftest.
$ac_ext
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
4282 $as_echo "$ac_cv_lib_error_at_line" >&6; }
4283 if test $ac_cv_lib_error_at_line = no
; then
4284 case " $LIBOBJS " in
4285 *" error.$ac_objext "* ) ;;
4286 *) LIBOBJS
="$LIBOBJS error.$ac_objext"
4295 for ac_header
in $ac_header_list
4297 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4298 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4300 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
4301 cat >>confdefs.h
<<_ACEOF
4302 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4316 for ac_func
in $ac_func_list
4318 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4319 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4320 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4321 cat >>confdefs.h
<<_ACEOF
4322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
4333 $as_echo_n "checking for working mktime... " >&6; }
4334 if ${ac_cv_func_working_mktime+:} false
; then :
4335 $as_echo_n "(cached) " >&6
4337 if test "$cross_compiling" = yes; then :
4338 ac_cv_func_working_mktime
=no
4340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4342 /* Test program from Paul Eggert and Tony Leneis. */
4343 #ifdef TIME_WITH_SYS_TIME
4344 # include <sys/time.h>
4347 # ifdef HAVE_SYS_TIME_H
4348 # include <sys/time.h>
4357 #ifdef HAVE_UNISTD_H
4358 # include <unistd.h>
4362 # define alarm(X) /* empty */
4365 /* Work around redefinition to rpl_putenv by other config tests. */
4368 static time_t time_t_max;
4369 static time_t time_t_min;
4371 /* Values we'll use to set the TZ environment variable. */
4372 static const char *tz_strings[] = {
4373 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
4374 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
4376 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
4378 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
4379 Based on a problem report from Andreas Jaeger. */
4381 spring_forward_gap ()
4383 /* glibc (up to about 1998-10-07) failed this test. */
4386 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
4387 instead of "TZ=America/Vancouver" in order to detect the bug even
4388 on systems that don't support the Olson extension, or don't have the
4389 full zoneinfo tables installed. */
4390 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
4399 return mktime (&tm) != (time_t) -1;
4403 mktime_test1 (time_t now)
4406 return ! (lt = localtime (&now)) || mktime (lt) == now;
4410 mktime_test (time_t now)
4412 return (mktime_test1 (now)
4413 && mktime_test1 ((time_t) (time_t_max - now))
4414 && mktime_test1 ((time_t) (time_t_min + now)));
4420 /* Based on code from Ariel Faigon. */
4430 return tm.tm_mon == 2 && tm.tm_mday == 31;
4434 bigtime_test (int j)
4438 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
4440 if (now != (time_t) -1)
4442 struct tm *lt = localtime (&now);
4444 && lt->tm_year == tm.tm_year
4445 && lt->tm_mon == tm.tm_mon
4446 && lt->tm_mday == tm.tm_mday
4447 && lt->tm_hour == tm.tm_hour
4448 && lt->tm_min == tm.tm_min
4449 && lt->tm_sec == tm.tm_sec
4450 && lt->tm_yday == tm.tm_yday
4451 && lt->tm_wday == tm.tm_wday
4452 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
4453 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
4462 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
4463 ignoring leap seconds. */
4464 unsigned long int answer = 2527315200UL;
4468 tm.tm_year = 2050 - 1900;
4471 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
4474 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
4475 instead of "TZ=America/Vancouver" in order to detect the bug even
4476 on systems that don't support the Olson extension, or don't have the
4477 full zoneinfo tables installed. */
4478 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
4482 /* Check that the result is either a failure, or close enough
4483 to the correct answer that we can assume the discrepancy is
4484 due to leap seconds. */
4485 return (t == (time_t) -1
4486 || (0 < t && answer - 120 <= t && t <= answer + 120));
4495 /* This test makes some buggy mktime implementations loop.
4496 Give up after 60 seconds; a mktime slower than that
4497 isn't worth using anyway. */
4502 t = (time_t_max << 1) + 1;
4503 if (t <= time_t_max)
4507 time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
4509 delta = time_t_max / 997; /* a suitable prime number */
4510 for (i = 0; i < N_STRINGS; i++)
4513 putenv ((char*) tz_strings[i]);
4515 for (t = 0; t <= time_t_max - delta; t += delta)
4516 if (! mktime_test (t))
4518 if (! (mktime_test ((time_t) 1)
4519 && mktime_test ((time_t) (60 * 60))
4520 && mktime_test ((time_t) (60 * 60 * 24))))
4523 for (j = 1; ; j <<= 1)
4524 if (! bigtime_test (j))
4526 else if (INT_MAX / 2 < j)
4528 if (! bigtime_test (INT_MAX))
4531 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
4534 if ac_fn_c_try_run
"$LINENO"; then :
4535 ac_cv_func_working_mktime
=yes
4537 ac_cv_func_working_mktime
=no
4539 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4540 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
4545 $as_echo "$ac_cv_func_working_mktime" >&6; }
4546 if test $ac_cv_func_working_mktime = no
; then
4547 case " $LIBOBJS " in
4548 *" mktime.$ac_objext "* ) ;;
4549 *) LIBOBJS
="$LIBOBJS mktime.$ac_objext"
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
4556 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
4557 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false
; then :
4558 $as_echo_n "(cached) " >&6
4560 rm -f conftest.sym conftest.
file
4562 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
4563 if test "$cross_compiling" = yes; then :
4564 ac_cv_func_lstat_dereferences_slashed_symlink
=no
4566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4568 $ac_includes_default
4573 /* Linux will dereference the symlink and fail, as required by POSIX.
4574 That is better in the sense that it means we will not
4575 have to compile and use the lstat wrapper. */
4576 return lstat ("conftest.sym/", &sbuf) == 0;
4581 if ac_fn_c_try_run
"$LINENO"; then :
4582 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
4584 ac_cv_func_lstat_dereferences_slashed_symlink
=no
4586 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4587 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4591 # If the `ln -s' command failed, then we probably don't even
4592 # have an lstat function.
4593 ac_cv_func_lstat_dereferences_slashed_symlink
=no
4595 rm -f conftest.sym conftest.
file
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
4599 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
4601 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
4603 cat >>confdefs.h
<<_ACEOF
4604 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
4608 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
4609 case " $LIBOBJS " in
4610 *" lstat.$ac_objext "* ) ;;
4611 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
4618 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
4619 if ${ac_cv_func_stat_empty_string_bug+:} false
; then :
4620 $as_echo_n "(cached) " >&6
4622 if test "$cross_compiling" = yes; then :
4623 ac_cv_func_stat_empty_string_bug
=yes
4625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4627 $ac_includes_default
4632 return stat ("", &sbuf) == 0;
4637 if ac_fn_c_try_run
"$LINENO"; then :
4638 ac_cv_func_stat_empty_string_bug
=no
4640 ac_cv_func_stat_empty_string_bug
=yes
4642 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4643 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
4648 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
4649 if test $ac_cv_func_stat_empty_string_bug = yes; then
4650 case " $LIBOBJS " in
4651 *" stat.$ac_objext "* ) ;;
4652 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
4657 cat >>confdefs.h
<<_ACEOF
4658 #define HAVE_STAT_EMPTY_STRING_BUG 1
4663 for ac_func
in strftime
4665 ac_fn_c_check_func
"$LINENO" "strftime" "ac_cv_func_strftime"
4666 if test "x$ac_cv_func_strftime" = xyes
; then :
4667 cat >>confdefs.h
<<_ACEOF
4668 #define HAVE_STRFTIME 1
4672 # strftime is in -lintl on SCO UNIX.
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
4674 $as_echo_n "checking for strftime in -lintl... " >&6; }
4675 if ${ac_cv_lib_intl_strftime+:} false
; then :
4676 $as_echo_n "(cached) " >&6
4678 ac_check_lib_save_LIBS
=$LIBS
4680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h. */
4683 /* Override any GCC internal prototype to avoid an error.
4684 Use char because int might match the return type of a GCC
4685 builtin and then its argument prototype would still apply. */
4698 if ac_fn_c_try_link
"$LINENO"; then :
4699 ac_cv_lib_intl_strftime
=yes
4701 ac_cv_lib_intl_strftime
=no
4703 rm -f core conftest.err conftest.
$ac_objext \
4704 conftest
$ac_exeext conftest.
$ac_ext
4705 LIBS
=$ac_check_lib_save_LIBS
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
4708 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
4709 if test "x$ac_cv_lib_intl_strftime" = xyes
; then :
4710 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5
4722 $as_echo_n "checking whether utime accepts a null argument... " >&6; }
4723 if ${ac_cv_func_utime_null+:} false
; then :
4724 $as_echo_n "(cached) " >&6
4726 rm -f conftest.data
; >conftest.data
4727 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
4728 if test "$cross_compiling" = yes; then :
4729 ac_cv_func_utime_null
='guessing yes'
4731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4733 $ac_includes_default
4741 return ! (stat ("conftest.data", &s) == 0
4742 && utime ("conftest.data", 0) == 0
4743 && stat ("conftest.data", &t) == 0
4744 && t.st_mtime >= s.st_mtime
4745 && t.st_mtime - s.st_mtime < 120);
4750 if ac_fn_c_try_run
"$LINENO"; then :
4751 ac_cv_func_utime_null
=yes
4753 ac_cv_func_utime_null
=no
4755 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4756 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_utime_null" >&5
4761 $as_echo "$ac_cv_func_utime_null" >&6; }
4762 if test "x$ac_cv_func_utime_null" != xno
; then
4763 ac_cv_func_utime_null
=yes
4765 $as_echo "#define HAVE_UTIME_NULL 1" >>confdefs.h
4770 for ac_func
in vprintf
4772 ac_fn_c_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
4773 if test "x$ac_cv_func_vprintf" = xyes
; then :
4774 cat >>confdefs.h
<<_ACEOF
4775 #define HAVE_VPRINTF 1
4778 ac_fn_c_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
4779 if test "x$ac_cv_func__doprnt" = xyes
; then :
4781 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
4789 # 2008-07-04 getopt_long added
4790 # 2009-07-30 timegm added
4791 for ac_func
in getopt_long gettimeofday memset putenv socket strcasecmp strchr strdup strerror strncasecmp strrchr tzset utime getuid timegm
4793 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4794 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
4795 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
4796 cat >>confdefs.h
<<_ACEOF
4797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4805 ac_config_files
="$ac_config_files Makefile"
4807 cat >confcache
<<\_ACEOF
4808 # This file is a shell script that caches the results of configure
4809 # tests run on this system so they can be shared between configure
4810 # scripts and configure runs, see configure's option --config-cache.
4811 # It is not useful on other systems. If it contains results you don't
4812 # want to keep, you may remove or edit it.
4814 # config.status only pays attention to the cache file if you give it
4815 # the --recheck option to rerun configure.
4817 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4818 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4823 # The following way of writing the cache mishandles newlines in values,
4824 # but we know of no workaround that is simple, portable, and efficient.
4825 # So, we kill variables containing newlines.
4826 # Ultrix sh set writes to stderr and can't be redirected directly,
4827 # and sets the high bit in the cache file unless we assign to the vars.
4829 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4830 eval ac_val
=\$
$ac_var
4834 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4835 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4838 _ | IFS | as_nl
) ;; #(
4839 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4840 *) { eval $ac_var=; unset $ac_var;} ;;
4846 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4847 *${as_nl}ac_space
=\
*)
4848 # `set' does not quote correctly, so add quotes: double-quote
4849 # substitution turns \\\\ into \\, and sed turns \\ into \.
4852 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4855 # `set' quotes correctly as required by POSIX, so do not add quotes.
4856 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4865 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4867 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4869 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4870 if test -w "$cache_file"; then
4871 if test "x$cache_file" != "x/dev/null"; then
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4873 $as_echo "$as_me: updating cache $cache_file" >&6;}
4874 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4875 cat confcache
>"$cache_file"
4877 case $cache_file in #(
4879 mv -f confcache
"$cache_file"$$
&&
4880 mv -f "$cache_file"$$
"$cache_file" ;; #(
4882 mv -f confcache
"$cache_file" ;;
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4888 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4893 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4894 # Let make expand exec_prefix.
4895 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4897 DEFS
=-DHAVE_CONFIG_H
4902 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4903 # 1. Remove the extension, and $U if already installed.
4904 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4905 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4906 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4907 # will be set to the directory where LIBOBJS objects are built.
4908 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4909 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4913 LTLIBOBJS
=$ac_ltlibobjs
4917 : "${CONFIG_STATUS=./config.status}"
4919 ac_clean_files_save
=$ac_clean_files
4920 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4922 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4924 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4926 # Generated by $as_me.
4927 # Run this file to recreate the current configuration.
4928 # Compiler output produced by configure, useful for debugging
4929 # configure, is in config.log if it exists.
4935 SHELL=\${CONFIG_SHELL-$SHELL}
4938 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4939 ## -------------------- ##
4940 ## M4sh Initialization. ##
4941 ## -------------------- ##
4943 # Be more Bourne compatible
4944 DUALCASE
=1; export DUALCASE
# for MKS sh
4945 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4948 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4949 # is contrary to our usage. Disable this feature.
4950 alias -g '${1+"$@"}'='"$@"'
4951 setopt NO_GLOB_SUBST
4953 case `(set -o) 2>/dev/null` in #(
4965 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4966 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4967 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4968 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4969 # Prefer a ksh shell builtin over an external printf program on Solaris,
4970 # but without wasting forks for bash or zsh.
4971 if test -z "$BASH_VERSION$ZSH_VERSION" \
4972 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4973 as_echo='print
-r --'
4974 as_echo_n='print
-rn --'
4975 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4976 as_echo='printf %s
\n'
4977 as_echo_n='printf %s
'
4979 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4980 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4981 as_echo_n='/usr
/ucb
/echo -n'
4983 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4984 as_echo_n_body='eval
4988 expr "X$arg" : "X\\(.*\\)$as_nl";
4989 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4991 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4993 export as_echo_n_body
4994 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4997 as_echo='sh
-c $as_echo_body as_echo
'
5000 # The user is always right.
5001 if test "${PATH_SEPARATOR+set}" != set; then
5003 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5004 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5011 # We need space, tab and new line, in precisely that order. Quoting is
5012 # there to prevent editors from complaining about space-tab.
5013 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5014 # splitting by setting IFS to empty value.)
5017 # Find who we are. Look in the path if we contain no directory separator.
5020 *[\\/]* ) as_myself=$0 ;;
5021 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025 test -z "$as_dir" && as_dir=.
5026 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5032 # We did not find ourselves, most probably we were run as `sh COMMAND'
5033 # in which case we are not to be found in the path.
5034 if test "x$as_myself" = x
; then
5037 if test ! -f "$as_myself"; then
5038 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5042 # Unset variables that we do not need and which cause bugs (e.g. in
5043 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5044 # suppresses any "Segmentation fault" message there. '((' could
5045 # trigger a bug in pdksh 5.2.14.
5046 for as_var
in BASH_ENV ENV MAIL MAILPATH
5047 do eval test x\
${$as_var+set} = xset \
5048 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
5061 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
5064 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5065 # ----------------------------------------
5066 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5067 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5068 # script with STATUS, using 1 if that was 0.
5071 as_status
=$1; test $as_status -eq 0 && as_status
=1
5073 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5074 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5076 $as_echo "$as_me: error: $2" >&2
5077 as_fn_exit
$as_status
5081 # as_fn_set_status STATUS
5082 # -----------------------
5083 # Set $? to STATUS, without forking.
5087 } # as_fn_set_status
5091 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5101 # Portably unset VAR.
5104 { eval $1=; unset $1;}
5106 as_unset
=as_fn_unset
5107 # as_fn_append VAR VALUE
5108 # ----------------------
5109 # Append the text in VALUE to the end of the definition contained in VAR. Take
5110 # advantage of any shell optimizations that allow amortized linear growth over
5111 # repeated appends, instead of the typical quadratic growth present in naive
5113 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5114 eval 'as_fn_append ()
5125 # as_fn_arith ARG...
5126 # ------------------
5127 # Perform arithmetic evaluation on the ARGs, and store the result in the
5128 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5129 # must be portable across $(()) and expr.
5130 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5131 eval 'as_fn_arith ()
5138 as_val
=`expr "$@" || test $? -eq 1`
5143 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5144 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5150 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5151 as_basename
=basename
5156 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5162 as_me
=`$as_basename -- "$0" ||
5163 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5164 X"$0" : 'X\(//\)$' \| \
5165 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5167 sed '/^.*\/\([^/][^/]*\)\/*$/{
5181 # Avoid depending upon Character Ranges.
5182 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5183 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5184 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5185 as_cr_digits
='0123456789'
5186 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5188 ECHO_C
= ECHO_N
= ECHO_T
=
5189 case `echo -n x` in #(((((
5191 case `echo 'xy\c'` in
5192 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5194 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5201 rm -f conf$$ conf$$.exe conf$$.
file
5202 if test -d conf$$.dir
; then
5203 rm -f conf$$.dir
/conf$$.
file
5206 mkdir conf$$.dir
2>/dev
/null
5208 if (echo >conf$$.
file) 2>/dev
/null
; then
5209 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5211 # ... but there are two gotchas:
5212 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5213 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5214 # In both cases, we have to default to `cp -pR'.
5215 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5217 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5225 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5226 rmdir conf$$.dir
2>/dev
/null
5231 # Create "$as_dir" as a directory, including parents if necessary.
5236 -*) as_dir
=.
/$as_dir;;
5238 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5242 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5243 *) as_qdir
=$as_dir;;
5245 as_dirs
="'$as_qdir' $as_dirs"
5246 as_dir
=`$as_dirname -- "$as_dir" ||
5247 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5248 X"$as_dir" : 'X\(//\)[^/]' \| \
5249 X"$as_dir" : 'X\(//\)$' \| \
5250 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5251 $as_echo X"$as_dir" |
5252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5269 test -d "$as_dir" && break
5271 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5272 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5276 if mkdir
-p .
2>/dev
/null
; then
5277 as_mkdir_p
='mkdir -p "$as_dir"'
5279 test -d .
/-p && rmdir .
/-p
5284 # as_fn_executable_p FILE
5285 # -----------------------
5286 # Test if FILE is an executable regular file.
5287 as_fn_executable_p
()
5289 test -f "$1" && test -x "$1"
5290 } # as_fn_executable_p
5292 as_executable_p
=as_fn_executable_p
5294 # Sed expression to map a string onto a valid CPP name.
5295 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5297 # Sed expression to map a string onto a valid variable name.
5298 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5302 ## ----------------------------------- ##
5303 ## Main body of $CONFIG_STATUS script. ##
5304 ## ----------------------------------- ##
5306 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5309 # Save the log message, to keep $0 and so on meaningful, and to
5310 # report actual input values of CONFIG_FILES etc. instead of their
5311 # values after options handling.
5313 This file was extended by ZKT $as_me 1.1.3, which was
5314 generated by GNU Autoconf 2.69. Invocation command line was
5316 CONFIG_FILES = $CONFIG_FILES
5317 CONFIG_HEADERS = $CONFIG_HEADERS
5318 CONFIG_LINKS = $CONFIG_LINKS
5319 CONFIG_COMMANDS = $CONFIG_COMMANDS
5322 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5327 case $ac_config_files in *"
5328 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
5331 case $ac_config_headers in *"
5332 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5337 # Files that config.status was made for.
5338 config_files="$ac_config_files"
5339 config_headers="$ac_config_headers"
5343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5345 \`$as_me' instantiates files and other configuration actions
5346 from templates according to the current configuration. Unless the files
5347 and actions are specified as TAGs, all are instantiated by default.
5349 Usage: $0 [OPTION]... [TAG]...
5351 -h, --help print this help, then exit
5352 -V, --version print version number and configuration settings, then exit
5353 --config print configuration, then exit
5354 -q, --quiet, --silent
5355 do not print progress messages
5356 -d, --debug don't remove temporary files
5357 --recheck update $as_me by reconfiguring in the same conditions
5358 --file=FILE[:TEMPLATE]
5359 instantiate the configuration file FILE
5360 --header=FILE[:TEMPLATE]
5361 instantiate the configuration header FILE
5363 Configuration files:
5366 Configuration headers:
5369 Report bugs to <Holger Zuleger hznet.de>."
5372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5373 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5375 ZKT config.status 1.1.3
5376 configured by $0, generated by GNU Autoconf 2.69,
5377 with options \\"\$ac_cs_config\\"
5379 Copyright (C) 2012 Free Software Foundation, Inc.
5380 This config.status script is free software; the Free Software Foundation
5381 gives unlimited permission to copy, distribute and modify it."
5385 test -n "\$AWK" || AWK=awk
5388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5389 # The default lists apply if the user does not specify any file.
5395 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5396 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5400 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5412 # Handling of the options.
5413 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5415 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5416 $as_echo "$ac_cs_version"; exit ;;
5417 --config |
--confi |
--conf |
--con |
--co |
--c )
5418 $as_echo "$ac_cs_config"; exit ;;
5419 --debug |
--debu |
--deb |
--de |
--d |
-d )
5421 --file |
--fil |
--fi |
--f )
5424 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5425 '') as_fn_error $?
"missing file argument" ;;
5427 as_fn_append CONFIG_FILES
" '$ac_optarg'"
5428 ac_need_defaults
=false
;;
5429 --header |
--heade |
--head |
--hea )
5432 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5434 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5435 ac_need_defaults
=false
;;
5437 # Conflict between --help and --header
5438 as_fn_error $?
"ambiguous option: \`$1'
5439 Try \`$0 --help' for more information.";;
5440 --help |
--hel |
-h )
5441 $as_echo "$ac_cs_usage"; exit ;;
5442 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5443 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5447 -*) as_fn_error $?
"unrecognized option: \`$1'
5448 Try \`$0 --help' for more information." ;;
5450 *) as_fn_append ac_config_targets
" $1"
5451 ac_need_defaults
=false
;;
5457 ac_configure_extra_args
=
5459 if $ac_cs_silent; then
5461 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5466 if \$ac_cs_recheck; then
5467 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5469 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5470 CONFIG_SHELL='$SHELL'
5476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5480 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5481 ## Running $as_me. ##
5487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5492 # Handling of arguments.
5493 for ac_config_target
in $ac_config_targets
5495 case $ac_config_target in
5496 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5497 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5499 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5504 # If the user did not use the arguments to specify the items to instantiate,
5505 # then the envvar interface is used. Set only those that are not.
5506 # We use the long form for the default assignment because of an extremely
5507 # bizarre bug on SunOS 4.1.3.
5508 if $ac_need_defaults; then
5509 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5510 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5513 # Have a temporary directory for convenience. Make it in the build tree
5514 # simply because there is no reason against having it here, and in addition,
5515 # creating and moving files from /tmp can sometimes cause problems.
5516 # Hook for its removal unless debugging.
5517 # Note that there is a small window in which the directory will not be cleaned:
5518 # after its creation but before its name has been assigned to `$tmp'.
5522 trap 'exit_status=$?
5524 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5526 trap 'as_fn_exit 1' 1 2 13 15
5528 # Create a (secure) tmp directory for tmp files.
5531 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5535 tmp
=.
/conf$$
-$RANDOM
5536 (umask 077 && mkdir
"$tmp")
5537 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5540 # Set up the scripts for CONFIG_FILES section.
5541 # No need to generate them if there are no CONFIG_FILES.
5542 # This happens for instance with `./config.status config.h'.
5543 if test -n "$CONFIG_FILES"; then
5546 ac_cr
=`echo X | tr X '\015'`
5547 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5548 # But we know of no other shell where ac_cr would be empty at this
5549 # point, so we can use a bashism as a fallback.
5550 if test "x$ac_cr" = x
; then
5551 eval ac_cr
=\$
\'\\r
\'
5553 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5554 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5560 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5565 echo "cat >conf$$subs.awk <<_ACEOF" &&
5566 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5569 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5570 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5572 for ac_last_try in false false false false false :; do
5573 . ./conf$$subs.sh ||
5574 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5576 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
5577 if test $ac_delim_n = $ac_delim_num; then
5579 elif $ac_last_try; then
5580 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
5582 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5588 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
5592 s/^/S["/; s
/!.
*/"]=/
5602 s/\(.\{148\}\)..*/\1/
5604 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
5609 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5616 s/\(.\{148\}\)..*/\1/
5618 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
5622 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
5627 ' <conf$$subs.awk | sed '
5632 ' >>$CONFIG_STATUS || ac_write_fail=1
5633 rm -f conf$$subs.awk
5634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5636 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
5637 for (key in S) S_is_set[key] = 1
5643 nfields = split(line, field, "@
")
5645 len = length(field[1])
5646 for (i = 2; i < nfields; i++) {
5648 keylen = length(key)
5649 if (S_is_set[key]) {
5651 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5652 len += length(value) + length(field[++i])
5663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5664 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5665 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
5668 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
5669 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
5672 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5673 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
5674 # trailing colons and then remove the whole line if VPATH becomes empty
5675 # (actually we leave an empty line to preserve line numbers).
5676 if test "x
$srcdir" = x.; then
5677 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5696 fi # test -n "$CONFIG_FILES"
5698 # Set up the scripts for CONFIG_HEADERS section.
5699 # No need to generate them if there are no CONFIG_HEADERS.
5700 # This happens for instance with `./config.status Makefile'.
5701 if test -n "$CONFIG_HEADERS"; then
5702 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
5706 # Transform confdefs.h into an awk script `defines.awk', embedded as
5707 # here-document in config.status, that substitutes the proper values into
5708 # config.h.in to produce config.h.
5710 # Create a delimiter string that does not exist in confdefs.h, to ease
5711 # handling of long lines.
5713 for ac_last_try in false false :; do
5714 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
5715 if test -z "$ac_tt"; then
5717 elif $ac_last_try; then
5718 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
5720 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
5724 # For the awk script, D is an array of macro values keyed by name,
5725 # likewise P contains macro parameters if any. Preserve backslash
5726 # newline sequences.
5728 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5730 s/.\{148\}/&'"$ac_delim"'/g
5733 s/^[ ]*#[ ]*define[ ][ ]*/ /
5740 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
5742 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
5746 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
5747 D["\
1"]=" \
3\\\\\\n
"\\/p
5749 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
5754 s/.\{148\}/&'"$ac_delim"'/g
5759 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
5762 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
5764 ' <confdefs.h | sed '
5765 s/'"$ac_delim"'/"\\\
5766 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5769 for (key in D) D_is_set[key] = 1
5772 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5774 split(line, arg, " ")
5775 if (arg[1] == "#") {
5779 defundef
= substr
(arg
[1], 2)
5782 split(mac1
, mac2
, "(") #)
5784 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
5785 if (D_is_set
[macro
]) {
5786 # Preserve the white space surrounding the "#".
5787 print prefix
"define", macro P
[macro
] D
[macro
]
5790 # Replace #undef with comments. This is necessary, for example,
5791 # in the case of _POSIX_SOURCE, which is predefined and required
5792 # on some systems where configure will not decide to define it.
5793 if (defundef
== "undef") {
5794 print
"/*", prefix defundef
, macro
, "*/"
5802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5803 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
5804 fi # test -n "$CONFIG_HEADERS"
5807 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
5812 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5814 case $ac_mode$ac_tag in
5816 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5817 :[FH
]-) ac_tag
=-:-;;
5818 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5835 -) ac_f
="$ac_tmp/stdin";;
5836 *) # Look for the file first in the build tree, then in the source tree
5837 # (if the path is not absolute). The absolute path cannot be DOS-style,
5838 # because $ac_f cannot contain `:'.
5842 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5844 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5846 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5847 as_fn_append ac_file_inputs
" '$ac_f'"
5850 # Let's still pretend it is `configure' which instantiates (i.e., don't
5851 # use $as_me), people would be surprised to read:
5852 # /* config.h. Generated by config.status. */
5853 configure_input
='Generated from '`
5854 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5856 if test x
"$ac_file" != x-
; then
5857 configure_input
="$ac_file. $configure_input"
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5859 $as_echo "$as_me: creating $ac_file" >&6;}
5861 # Neutralize special characters interpreted by sed in replacement strings.
5862 case $configure_input in #(
5863 *\
&* |
*\|
* |
*\\* )
5864 ac_sed_conf_input
=`$as_echo "$configure_input" |
5865 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5866 *) ac_sed_conf_input
=$configure_input;;
5870 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
5871 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
5876 ac_dir
=`$as_dirname -- "$ac_file" ||
5877 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5878 X"$ac_file" : 'X\(//\)[^/]' \| \
5879 X"$ac_file" : 'X\(//\)$' \| \
5880 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5881 $as_echo X"$ac_file" |
5882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5899 as_dir
="$ac_dir"; as_fn_mkdir_p
5903 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5905 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5906 # A ".." for each directory in $ac_dir_suffix.
5907 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5908 case $ac_top_builddir_sub in
5909 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5910 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5913 ac_abs_top_builddir
=$ac_pwd
5914 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5915 # for backward compatibility:
5916 ac_top_builddir
=$ac_top_build_prefix
5919 .
) # We are building in place.
5921 ac_top_srcdir
=$ac_top_builddir_sub
5922 ac_abs_top_srcdir
=$ac_pwd ;;
5923 [\\/]* | ?
:[\\/]* ) # Absolute name.
5924 ac_srcdir
=$srcdir$ac_dir_suffix;
5925 ac_top_srcdir
=$srcdir
5926 ac_abs_top_srcdir
=$srcdir ;;
5928 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5929 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5930 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5932 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5944 # If the template does not know about datarootdir, expand it.
5945 # FIXME: This hack should be removed a few years after 2.60.
5946 ac_datarootdir_hack
=; ac_datarootdir_seen
=
5957 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5958 *datarootdir
*) ac_datarootdir_seen
=yes;;
5959 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5961 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5964 ac_datarootdir_hack='
5965 s&@datadir@&$datadir&g
5966 s&@docdir@&$docdir&g
5967 s&@infodir@&$infodir&g
5968 s&@localedir@&$localedir&g
5969 s&@mandir@&$mandir&g
5970 s&\\\${datarootdir}&$datarootdir&g' ;;
5974 # Neutralize VPATH when `$srcdir' = `.'.
5975 # Shell code in configure.ac might set extrasub.
5976 # FIXME: do we really want to maintain this feature?
5977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5978 ac_sed_extra="$ac_vpsub
5981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5983 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5984 s|@configure_input@|
$ac_sed_conf_input|
;t t
5985 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
5986 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
5987 s
&@srcdir@
&$ac_srcdir&;t t
5988 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
5989 s
&@top_srcdir@
&$ac_top_srcdir&;t t
5990 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
5991 s
&@builddir@
&$ac_builddir&;t t
5992 s
&@abs_builddir@
&$ac_abs_builddir&;t t
5993 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
5994 $ac_datarootdir_hack
5996 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
5997 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
5999 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6000 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
6001 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6002 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
6004 which seems to be undefined. Please make sure it is defined" >&5
6005 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
6006 which seems to be undefined. Please make sure it is defined" >&2;}
6008 rm -f "$ac_tmp/stdin"
6010 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6011 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6013 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6019 if test x"$ac_file" != x-; then
6021 $as_echo "/* $configure_input */" \
6022 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6023 } >"$ac_tmp/config.h" \
6024 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6025 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6027 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6030 mv "$ac_tmp/config.h" "$ac_file" \
6031 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6034 $as_echo "/* $configure_input */" \
6035 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6036 || as_fn_error $? "could not create -" "$LINENO" 5
6048 ac_clean_files=$ac_clean_files_save
6050 test $ac_write_fail = 0 ||
6051 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6054 # configure is writing to config.log, and then calls config.status.
6055 # config.status does its own redirection, appending to config.log.
6056 # Unfortunately, on DOS this fails, as config.log is still kept open
6057 # by configure, so config.status won't be able to
write to it
; its
6058 # output is simply discarded. So we exec the FD to /dev/null,
6059 # effectively closing config.log, so it can be properly (re)opened and
6060 # appended to by config.status. When coming back to configure, we
6061 # need to make the FD available again.
6062 if test "$no_create" != yes; then
6064 ac_config_status_args
=
6065 test "$silent" = yes &&
6066 ac_config_status_args
="$ac_config_status_args --quiet"
6068 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6070 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6071 # would make configure fail if this is the last instruction.
6072 $ac_cs_success || as_fn_exit
1
6074 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6076 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}