configure revision e2d635d630f6f61fefd3d4475c45b097b16b8a2a
# Find who we are. Look in the path if we contain no directory separator. # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&
2 # Work around bugs in pre-3.0 UWIN ksh. # Required to use basename. test "X`expr 00001 : '.*\(...\)'`" =
X001;
then # Name of the executable. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || sed '/^.*\/\([^/][^/]*\)\/*$/{ echo as_func_success failed. echo as_func_failure succeeded. if as_func_ret_success; then echo as_func_ret_success failed. if as_func_ret_failure; then echo as_func_ret_failure succeeded. if ( set x; as_func_ret_success y && test x = \"\$1\" ); then echo positional parameters were not saved. test \$exitcode = 0) || { (exit 1); exit 1; } test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } # Try only shells that exist, to save several forks. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' (eval "as_func_return () { echo as_func_success failed. echo as_func_failure succeeded. if as_func_ret_success; then echo as_func_ret_success failed. if as_func_ret_failure; then echo as_func_ret_failure succeeded. if ( set x; as_func_ret_success y && test x = \"\$1\" ); then echo positional parameters were not saved. test \$exitcode = 0") ||
{ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). # Exit status is that of the last command. *c*)
ECHO_T=
' ';;
# ECHO_T is single tab character. test "X`expr 00001 : '.*\(...\)'`" =
X001;
then # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. test -d ./-p &&
rmdir ./-p
???[sx]*):;;*)false;;esac;fi # Sed expression to map a string onto a valid CPP name. # Sed expression to map a string onto a valid variable name. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # Identity of this package. # Factoring default headers for most tests. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # Initialize some variables set by options. # The variables have the same names as the options, with # dashes changed to underlines. # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) docdir=
'${datarootdir}/doc/${PACKAGE_TARNAME}' # If the previous option needs an argument, assign it. # Accept the important Cygnus configure options, so we can diagnose typos. # Reject names that are not valid shell variable names. # Reject names that are not valid shell variable names. | --
exec-
pref | --
exec-
pre | --
exec-
pr | --
exec-p | --
exec- \
| --
exec-
pref=* | --
exec-
pre=* | --
exec-
pr=* | --
exec-p=* | --
exec-=* \
| --
exec=* | --
exe=* | --
ex=*)
# Obsolete; use --with-gas. # Obsolete; use --without-fp. # Reject names that are not valid shell variable names. # Reject names that are not valid shell variable names. # Obsolete; use --with-x. | --x-
incl=* | --x-
inc=* | --x-
in=* | --x-i=*)
Try \`$0 --help' for more information." >&2 # Reject names that are not valid shell variable names. # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&
2 # Be sure to have absolute directory names. [\\/$]* | ?:[\\/]* )
continue;;
# There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. # FIXME: To remove some day. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used." >&
2 { echo "$as_me: error: Working directory cannot be determined" >&2 { echo "$as_me: error: pwd does not report name of working directory" >&2 # Find the source files, if location was not specified. # Try the directory containing this script, then the parent directory. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ # When building in place, set srcdir=. # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. # Report the --help message. # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. \`configure' configures ZKT 1.1.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/zkt] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] Report bugs to <Holger Zuleger hznet.de>. if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || continue .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix .) # We are building in place. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_abs_top_srcdir=$srcdir ;; ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 cd "$ac_pwd" || { ac_status=$?; break; } test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then generated by GNU Autoconf 2.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by ZKT $as_me 1.1.2, which was generated by GNU Autoconf 2.61. Invocation command line was hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` as_save_IFS=$IFS; IFS=$PATH_SEPARATOR test -z "$as_dir" && as_dir=. # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. # Save into config.log some information that might help in debugging. # The following way of writing the cache mishandles newlines in values, for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( "s/'\''/'\''\\\\'\'''\''/g; *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ## ------------------- ## ## File substitutions. ## ## ------------------- ## *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; for ac_signal in 1 2 13 15; do # confdefs.h avoids OS command line length limits that DEFS can exceed. # Predefined preprocessor variables. # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. elif test "x$prefix" != xNONE; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. # Check that the precious variables saved in the cache have kept the same eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. ### Files to test to check if src dir contains the package # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 ac_cv_prog_CC="$CC" # Let the user override the test. # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ac_cv_prog_ac_ct_CC="gcc" # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 ac_cv_prog_CC="$CC" # Let the user override the test. # Extract the first word of "cc", so it can be a program name with args. ac_cv_prog_CC="$CC" # Let the user override the test. # We found a bogon in the path, so make sure we never use it. # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. ac_cv_prog_CC="$CC" # Let the user override the test. # Extract the first word of "$ac_prog", so it can be a program name with args. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. echo "$as_me: error: no acceptable C compiler found in \$PATH # Provide some information about the compiler. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # List of possible output files, starting from the most likely. # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) # only as a last resort. b.out is created by i960 compilers. # The IRIX 6 linker writes into existing files which may not be # executable, retaining their permissions. Remove them first so a # subsequent execution test works. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; if { (ac_try="$ac_link_default" *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link_default") 2>&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # We found the default executable, but exeext='' is most # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of echo "$as_me: failed program was:" >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables echo "$as_me: error: C compiler cannot create executables { (exit 77); exit 77; }; } # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. If you meant to cross compile, use \`--host'. echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. echo "${ECHO_T}yes" >&6; } # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link echo "$as_me: error: cannot compute suffix of executables: cannot compile and link if test "${ac_cv_objext+set}" = set; then echo "$as_me: failed program was:" >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile echo "$as_me: error: cannot compute suffix of object files: cannot compile { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then echo "$as_me: failed program was:" >&5 if test "${ac_cv_prog_cc_g+set}" = set; then echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5 if test "${ac_cv_prog_cc_c89+set}" = set; then /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *f (char * (*g) (char **, int), char **p, ...) s = g (p, va_arg (v,int)); /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" echo "$as_me: failed program was:" >&5 echo "${ECHO_T}none needed" >&6; } ;; echo "${ECHO_T}unsupported" >&6; } ;; ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ### find out the path to BIND utils and version # Check whether --enable-bind_util_path was given. if test "${enable_bind_util_path+set}" = set; then { { echo "$as_me:$LINENO: error: *** 'BIND utility not found in $bind_util_path, please use --enable-bind_util_path= to set it manually' ***" >&5 echo "$as_me: error: *** 'BIND utility not found in $bind_util_path, please use --enable-bind_util_path= to set it manually' ***" >&2;} # Extract the first word of "dnssec-signzone", so it can be a program name with args. if test "${ac_cv_path_SIGNZONE_PROG+set}" = set; then echo "${ECHO_T}no" >&6; } { { echo "$as_me:$LINENO: error: *** 'could not determine BIND utility path, please use --enable-bind_util_path= ' to set it manually ***" >&5 echo "$as_me: error: *** 'could not determine BIND utility path, please use --enable-bind_util_path= ' to set it manually ***" >&2;} ### By now, we have a path. We'll use it. #define BIND_UTIL_PATH "$bind_util_path/" #define BIND_VERSION $bind_version ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then # Double quotes because CPP needs to be expanded # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # <limits.h> exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. echo "$as_me: failed program was:" >&5 # Broken: fails on valid input. # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. #include <ac_nonexistent.h> # Broken: success on invalid input. echo "$as_me: failed program was:" >&5 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. echo "${ECHO_T}$CPP" >&6; } # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # <limits.h> exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. echo "$as_me: failed program was:" >&5 # Broken: fails on valid input. # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. #include <ac_nonexistent.h> # Broken: success on invalid input. echo "$as_me: failed program was:" >&5 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } if test "${ac_cv_path_GREP+set}" = set; then # Extract the first word of "grep ggrep" to use in msg output if test "${ac_cv_path_GREP+set}" = set; then # Loop through the user's path and test for each of PROGNAME-LIST # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP # Best one so far, save it but keep looking for a better one # 10*(2^10) chars as input seems more than enough if test "${ac_cv_path_EGREP+set}" = set; then # Extract the first word of "egrep" to use in msg output if test "${ac_cv_path_EGREP+set}" = set; then # Loop through the user's path and test for each of PROGNAME-LIST # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP # Best one so far, save it but keep looking for a better one # 10*(2^10) chars as input seems more than enough if test "${ac_cv_header_stdc+set}" = set; then echo "$as_me: failed program was:" >&5 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 if test "${ac_cv_type_uint+set}" = set; then typedef uint ac__type_new_; if (sizeof (ac__type_new_)) echo "$as_me: failed program was:" >&5 #define uint unsigned int if test "${ac_cv_type_ulong+set}" = set; then typedef ulong ac__type_new_; if (sizeof (ac__type_new_)) echo "$as_me: failed program was:" >&5 #define ulong unsigned long if test "${ac_cv_type_ushort+set}" = set; then typedef ushort ac__type_new_; if (sizeof (ac__type_new_)) echo "$as_me: failed program was:" >&5 #define ushort unsigned short if test "${ac_cv_type_uchar+set}" = set; then typedef uchar ac__type_new_; if (sizeof (ac__type_new_)) echo "$as_me: failed program was:" >&5 #define uchar unsigned char ### define configure arguments # Check whether --enable-color_mode was given. if test "${enable_color_mode+set}" = set; then # Check whether --with-curses was given. if test "${with_curses+set}" = set; then if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ echo "$as_me: failed program was:" >&5 #define HAVE_LIBNCURSES 1 #define COLOR_MODE $color_mode # Check whether --enable-printtimezone was given. if test "${enable_printtimezone+set}" = set; then #define PRINT_TIMEZONE $printtimezone # Check whether --enable-printyear was given. if test "${enable_printyear+set}" = set; then #define PRINT_AGE_WITH_YEAR $printyear # Check whether --enable-logprogname was given. if test "${enable_logprogname+set}" = set; then #define LOG_WITH_PROGNAME $logprogname # Check whether --enable-logtimestamp was given. if test "${enable_logtimestamp+set}" = set; then #define LOG_WITH_TIMESTAMP $logtimestamp # Check whether --enable-loglevel was given. if test "${enable_loglevel+set}" = set; then #define LOG_WITH_LEVEL $loglevel # Check whether --enable-ttl_in_keyfile was given. if test "${enable_ttl_in_keyfile+set}" = set; then #define TTL_IN_KEYFILE_ALLOWED $ttl_in_keyfile # Check whether --enable-configpath was given. if test "${enable_configpath+set}" = set; then #define CONFIG_PATH "$configpath/" # Check whether --enable-tree was given. if test "${enable_tree+set}" = set; then #define USE_TREE $usetree #define ZKT_VERSION "$t$PACKAGE_VERSION" #define ZKT_COPYRIGHT "(c) Feb 2005 - Nov 2012 Holger Zuleger hznet.de" ### Checks for libraries. ### Checks for header files. echo "$as_me: failed program was:" >&5 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. { echo "$as_me:$LINENO: checking for library containing opendir" >&5 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } if test "${ac_cv_search_opendir+set}" = set; then /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ echo "$as_me: failed program was:" >&5 if test "${ac_cv_search_opendir+set}" = set; then if test "${ac_cv_search_opendir+set}" = set; then { echo "$as_me:$LINENO: checking for library containing opendir" >&5 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } if test "${ac_cv_search_opendir+set}" = set; then /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ echo "$as_me: failed program was:" >&5 if test "${ac_cv_search_opendir+set}" = set; then if test "${ac_cv_search_opendir+set}" = set; then if test "${ac_cv_header_stdc+set}" = set; then echo "$as_me: failed program was:" >&5 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) echo "$as_me: failed program was:" >&5 # Is the header compilable? echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5 # So? What about this header? echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ## -------------------------------------- ## ## Report this to Holger Zuleger hznet.de ## ## -------------------------------------- ## #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 ### Checks for typedefs, structures, and compiler characteristics. { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } if test "${ac_cv_c_const+set}" = set; then /* FIXME: Include the comments suggested by Paul. */ /* Ultrix mips cc rejects this. */ /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant const char *g = "string"; pcpcc = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ pcpcc = (char const *const *) ppc; { /* SCO 3.2v4 cc rejects this. */ char const *s = 0 ? (char *) 0 : (char const *) 0; { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ return !cs[0] && !zero.x; echo "$as_me: failed program was:" >&5 if test "${ac_cv_type_size_t+set}" = set; then typedef size_t ac__type_new_; if (sizeof (ac__type_new_)) echo "$as_me: failed program was:" >&5 #define size_t unsigned int if test "${ac_cv_header_time+set}" = set; then echo "$as_me: failed program was:" >&5 #define TIME_WITH_SYS_TIME 1 if test "${ac_cv_struct_tm+set}" = set; then echo "$as_me: failed program was:" >&5 if test "${ac_cv_type_uid_t+set}" = set; then ### Checks for library functions. { echo "$as_me:$LINENO: checking whether closedir returns void" >&5 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; } if test "${ac_cv_func_closedir_void+set}" = set; then #include <$ac_header_dirent> return closedir (opendir (".")) != 0; echo "$as_me: failed program was:" >&5 if test "${ac_cv_lib_error_at_line+set}" = set; then error_at_line (0, 0, "", 0, "an error occurred"); echo "$as_me: failed program was:" >&5 # Is the header compilable? echo "$as_me: failed program was:" >&5 echo "$as_me: failed program was:" >&5 # So? What about this header? echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ## -------------------------------------- ## ## Report this to Holger Zuleger hznet.de ## ## -------------------------------------- ## #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. For example, HP-UX 11i <limits.h> declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func echo "$as_me: failed program was:" >&5 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 if test "${ac_cv_func_working_mktime+set}" = set; then /* Test program from Paul Eggert and Tony Leneis. */ #ifdef TIME_WITH_SYS_TIME # define alarm(X) /* empty */ /* Work around redefinition to rpl_putenv by other config tests. */ static time_t time_t_max; static time_t time_t_min; /* Values we'll use to set the TZ environment variable. */ static char *tz_strings[] = { (char *) 0, "TZ=GMT0", "TZ=JST-9", "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) /* Return 0 if mktime fails to convert a date in the spring-forward gap. Based on a problem report from Andreas Jaeger. */ /* glibc (up to about 1998-10-07) failed this test. */ /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" instead of "TZ=America/Vancouver" in order to detect the bug even on systems that don't support the Olson extension, or don't have the full zoneinfo tables installed. */ putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); return mktime (&tm) != (time_t) -1; return ! (lt = localtime (&now)) || mktime (lt) == now; return (mktime_test1 (now) && mktime_test1 ((time_t) (time_t_max - now)) && mktime_test1 ((time_t) (time_t_min + now))); /* Based on code from Ariel Faigon. */ return tm.tm_mon == 2 && tm.tm_mday == 31; tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; struct tm *lt = localtime (&now); && lt->tm_year == tm.tm_year && lt->tm_mon == tm.tm_mon && lt->tm_mday == tm.tm_mday && lt->tm_hour == tm.tm_hour && lt->tm_min == tm.tm_min && lt->tm_sec == tm.tm_sec && lt->tm_yday == tm.tm_yday && lt->tm_wday == tm.tm_wday && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) /* The correct answer for 2050-02-01 00:00:00 in Pacific time, ignoring leap seconds. */ unsigned long int answer = 2527315200UL; tm.tm_year = 2050 - 1900; tm.tm_hour = tm.tm_min = tm.tm_sec = 0; /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" instead of "TZ=America/Vancouver" in order to detect the bug even on systems that don't support the Olson extension, or don't have the full zoneinfo tables installed. */ putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); /* Check that the result is either a failure, or close enough to the correct answer that we can assume the discrepancy is || (0 < t && answer - 120 <= t && t <= answer + 120)); /* This test makes some buggy mktime implementations loop. Give up after 60 seconds; a mktime slower than that isn't worth using anyway. */ for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2) delta = time_t_max / 997; /* a suitable prime number */ for (i = 0; i < N_STRINGS; i++) for (t = 0; t <= time_t_max - delta; t += delta) if (! (mktime_test ((time_t) 1) && mktime_test ((time_t) (60 * 60)) && mktime_test ((time_t) (60 * 60 * 24)))) for (j = 1; 0 < j; j *= 2) if (! bigtime_test (j - 1)) return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); echo "$as_me: failed program was:" >&5 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; } if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then /* Linux will dereference the symlink and fail. That is better in the sense that it means we will not have to compile and use the lstat wrapper. */ return lstat ("conftest.sym/", &sbuf) == 0; echo "$as_me: failed program was:" >&5 # If the `ln -s' command failed, then we probably don't even # have an lstat function. #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; } if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then return stat ("", &sbuf) == 0; echo "$as_me: failed program was:" >&5 #define HAVE_STAT_EMPTY_STRING_BUG 1 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. For example, HP-UX 11i <limits.h> declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func echo "$as_me: failed program was:" >&5 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 # strftime is in -lintl on SCO UNIX. if test "${ac_cv_lib_intl_strftime+set}" = set; then /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ echo "$as_me: failed program was:" >&5 { echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5 echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6; } if test "${ac_cv_func_utime_null+set}" = set; then # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong. return ! (stat ("conftest.data", &s) == 0 && utime ("conftest.data", 0) == 0 && stat ("conftest.data", &t) == 0 && t.st_mtime >= s.st_mtime && t.st_mtime - s.st_mtime < 120); echo "$as_me: failed program was:" >&5 #define HAVE_UTIME_NULL 1 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. For example, HP-UX 11i <limits.h> declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func echo "$as_me: failed program was:" >&5 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 if test "${ac_cv_func__doprnt+set}" = set; then /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. For example, HP-UX 11i <limits.h> declares gettimeofday. */ #define _doprnt innocuous__doprnt /* System header to define __stub macros and hopefully few prototypes, which can conflict with char _doprnt (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub__doprnt || defined __stub____doprnt echo "$as_me: failed program was:" >&5 # 2008-07-04 getopt_long added # 2009-07-30 timegm added /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. For example, HP-UX 11i <limits.h> declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since <limits.h> exists even on freestanding compilers. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func echo "$as_me: failed program was:" >&5 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; case $as_nl`(ac_space=' '; set) 2>&1` in #( # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). # `set' quotes correctly as required by POSIX, so do not add quotes. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ # Let make expand exec_prefix. # 1. Remove the extension, and $U if already installed. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. SHELL=\${CONFIG_SHELL-$SHELL} ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' # Avoid depending upon Character Ranges. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Support unset when possible. # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) # Find who we are. Look in the path if we contain no directory separator. # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 # Work around bugs in pre-3.0 UWIN ksh. # Required to use basename. test "X`expr 00001 : '.*\(...\)'`" = X001; then # Name of the executable. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || sed '/^.*\/\([^/][^/]*\)\/*$/{ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). # Exit status is that of the last command. *c*) ECHO_T=' ';; # ECHO_T is single tab character. test "X`expr 00001 : '.*\(...\)'`" = X001; then # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. test -d ./-p && rmdir ./-p ???[sx]*):;;*)false;;esac;fi # Sed expression to map a string onto a valid CPP name. # Sed expression to map a string onto a valid variable name. # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. This file was extended by ZKT $as_me 1.1.2, which was generated by GNU Autoconf 2.61. Invocation command line was # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" \`$as_me' instantiates files from templates according to the Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions instantiate the configuration file FILE instantiate the configuration header FILE Report bugs to <bug-autoconf@gnu.org>." configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2006 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. # Handling of the options. # Conflict between --help and --header { echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; -*) { echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX { (exit 1); exit 1; }; };; # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status trap '{ (exit 1); exit 1; }' 1 2 13 15 # Create a (secure) tmp directory for tmp files. echo "$me: cannot create a temporary directory in ." >&2 # Set up the sed scripts for CONFIG_FILES section. # No need to generate the scripts if there are no CONFIG_FILES. PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim PACKAGE_NAME!$PACKAGE_NAME$ac_delim PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim PACKAGE_STRING!$PACKAGE_STRING$ac_delim PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim exec_prefix!$exec_prefix$ac_delim program_transform_name!$program_transform_name$ac_delim sbindir!$sbindir$ac_delim libexecdir!$libexecdir$ac_delim datarootdir!$datarootdir$ac_delim datadir!$datadir$ac_delim sysconfdir!$sysconfdir$ac_delim sharedstatedir!$sharedstatedir$ac_delim localstatedir!$localstatedir$ac_delim includedir!$includedir$ac_delim oldincludedir!$oldincludedir$ac_delim infodir!$infodir$ac_delim htmldir!$htmldir$ac_delim localedir!$localedir$ac_delim build_alias!$build_alias$ac_delim host_alias!$host_alias$ac_delim target_alias!$target_alias$ac_delim LDFLAGS!$LDFLAGS$ac_delim CPPFLAGS!$CPPFLAGS$ac_delim ac_ct_CC!$ac_ct_CC$ac_delim SIGNZONE_PROG!$SIGNZONE_PROG$ac_delim LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). fi # test -n "$CONFIG_FILES" { (exit 1); exit 1; }; };; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ { (exit 1); exit 1; }; }; } # A ".." for each directory in $ac_dir_suffix. # for backward compatibility: .) # We are building in place. [\\/]* | ?:[\\/]* ) # Absolute name. # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. case `sed -n '/datarootdir/ { s&@localedir@&$localedir&g s&\\\${datarootdir}&$datarootdir&g' ;; # Neutralize VPATH when `$srcdir' = `.'. # FIXME: do we really want to maintain this feature? { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && which seems to be undefined. Please make sure it is defined." >&5 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' # First, append a space to every undef/define line, to ease matching. # Then, protect against being on the right side of a sed subst, or in # an unquoted here document, in config.status. If some macros were # called several times there might be several #defines for the same # symbol, which is useless. But do not sort them, since the last # AC_DEFINE must be honored. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where # NAME is the cpp macro being defined, VALUE is the value it is being given. # PARAMS is the parameter list in the macro definition--in most cases, it's ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' ac_dB='\\)[ (].*,\\1define\\2' s/^[ ]*#[ ]*define[ ][ ]*// # Remove the space that was appended to ease matching. # Then replace #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. # (The regexp can be short, since the line contains either #define or #undef.) # First, check the format of the line: cat >"\$tmp/defines.sed" <<\\CEOF /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction.