summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2015-12-17 13:37:05 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2015-12-17 13:37:05 +0000
commit456e85c6ff561ff45643865d2f8a7098f8560f56 (patch)
treef32c5e023aec7d989aa6a86c02265ea64f904e29
parent33836c6b77352ac1fc5badc12b06ab4535074bed (diff)
regen NSD's autoconf script, forgotten with the update - noticed by Brad
-rw-r--r--usr.sbin/nsd/configure159
1 files changed, 91 insertions, 68 deletions
diff --git a/usr.sbin/nsd/configure b/usr.sbin/nsd/configure
index 70dca096b86..68bdc870762 100644
--- a/usr.sbin/nsd/configure
+++ b/usr.sbin/nsd/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for NSD 4.1.6.
+# Generated by GNU Autoconf 2.69 for NSD 4.1.7.
#
# Report bugs to <nsd-bugs@nlnetlabs.nl>.
#
@@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='NSD'
PACKAGE_TARNAME='nsd'
-PACKAGE_VERSION='4.1.6'
-PACKAGE_STRING='NSD 4.1.6'
+PACKAGE_VERSION='4.1.7'
+PACKAGE_STRING='NSD 4.1.7'
PACKAGE_BUGREPORT='nsd-bugs@nlnetlabs.nl'
PACKAGE_URL=''
@@ -624,6 +624,7 @@ ac_includes_default="\
ac_subst_vars='LTLIBOBJS
SSL_LIBS
HAVE_SSL
+ratelimit_default
ratelimit
LIBOBJS
YFLAGS
@@ -725,6 +726,7 @@ enable_bind8_stats
enable_zone_stats
enable_checking
enable_ratelimit
+enable_ratelimit_default_is_off
with_ssl
enable_nsec3
enable_minimal_responses
@@ -1281,7 +1283,7 @@ if test "$ac_init_help" = "long"; then
# 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.
cat <<_ACEOF
-\`configure' configures NSD 4.1.6 to adapt to many kinds of systems.
+\`configure' configures NSD 4.1.7 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1342,7 +1344,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of NSD 4.1.6:";;
+ short | recursive ) echo "Configuration of NSD 4.1.7:";;
esac
cat <<\_ACEOF
@@ -1367,6 +1369,10 @@ Optional Features:
--enable-bind8-stats)
--enable-checking Enable internal runtime checks
--enable-ratelimit Enable rate limiting
+ --enable-ratelimit-default-is-off
+ Enable this to set default of ratelimit to off
+ (enable in nsd.conf), otherwise ratelimit is enabled
+ by default if --enable-ratelimit is enabled
--disable-nsec3 Disable NSEC3 support
--disable-minimal-responses
Disable response minimization. More truncation.
@@ -1481,7 +1487,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-NSD configure 4.1.6
+NSD configure 4.1.7
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2190,7 +2196,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by NSD $as_me 4.1.6, which was
+It was created by NSD $as_me 4.1.7, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3903,7 +3909,9 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
-dbdir=`dirname $dbfile`
+if test -n "$dbfile"; then
+ dbdir=`dirname $dbfile`
+fi
piddir=`dirname $pidfile`
@@ -6473,14 +6481,6 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-# see if reuseport is enabled by default (also a config option).
-# freebsd can compile the option, but it does not work, it works on Linux.
-if test "`uname`" = "Linux"; then
-
-$as_echo "#define REUSEPORT_BY_DEFAULT 1" >>confdefs.h
-
-fi
-
# set -I. and -Isrcdir
if test -n "$CPPFLAGS"; then
CPPFLAGS="$CPPFLAGS -I."
@@ -7921,7 +7921,7 @@ _ACEOF
fi
done
-for ac_func in tzset alarm chroot dup2 endpwent gethostname memset memcpy pwrite socket strcasecmp strchr strdup strerror strncasecmp strtol writev getaddrinfo getnameinfo freeaddrinfo gai_strerror sigaction sigprocmask strptime strftime localtime_r setusercontext glob initgroups setresuid setreuid setresgid setregid getpwnam mmap
+for ac_func in tzset alarm chroot dup2 endpwent gethostname memset memcpy pwrite socket strcasecmp strchr strdup strerror strncasecmp strtol writev getaddrinfo getnameinfo freeaddrinfo gai_strerror sigaction sigprocmask strptime strftime localtime_r setusercontext glob initgroups setresuid setreuid setresgid setregid getpwnam mmap ppoll
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -8636,6 +8636,27 @@ _ACEOF
esac
+# Check whether --enable-ratelimit-default-is-off was given.
+if test "${enable_ratelimit_default_is_off+set}" = set; then :
+ enableval=$enable_ratelimit_default_is_off;
+fi
+
+case "$enable_ratelimit_default_is_off" in
+ yes)
+
+cat >>confdefs.h <<_ACEOF
+#define RATELIMIT_DEFAULT_OFF /**/
+_ACEOF
+
+ ratelimit_default="off"
+ ;;
+ no|*)
+ ratelimit_default="on"
+ ;;
+esac
+
+
+
# we need SSL for TSIG (and maybe also for NSEC3).
@@ -8682,55 +8703,6 @@ $as_echo "found in $ssldir" >&6; }
if test x_$ssldir = x_/usr/sfw; then
LDFLAGS="$LDFLAGS -R$ssldir/lib";
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_CTX_init in -lcrypto" >&5
-$as_echo_n "checking for HMAC_CTX_init in -lcrypto... " >&6; }
-if ${ac_cv_lib_crypto_HMAC_CTX_init+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcrypto $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* 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. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char HMAC_CTX_init ();
-int
-main ()
-{
-return HMAC_CTX_init ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_crypto_HMAC_CTX_init=yes
-else
- ac_cv_lib_crypto_HMAC_CTX_init=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_CTX_init" >&5
-$as_echo "$ac_cv_lib_crypto_HMAC_CTX_init" >&6; }
-if test "x$ac_cv_lib_crypto_HMAC_CTX_init" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBCRYPTO 1
-_ACEOF
-
- LIBS="-lcrypto $LIBS"
-
-else
-
- as_fn_error $? "OpenSSL found in $ssldir, but version 0.9.7 or higher is required" "$LINENO" 5
-
-fi
-
fi
fi
@@ -8831,6 +8803,57 @@ fi
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
+ if test -n "$ssldir"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HMAC_CTX_init in -lcrypto" >&5
+$as_echo_n "checking for HMAC_CTX_init in -lcrypto... " >&6; }
+if ${ac_cv_lib_crypto_HMAC_CTX_init+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lcrypto $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* 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. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char HMAC_CTX_init ();
+int
+main ()
+{
+return HMAC_CTX_init ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_crypto_HMAC_CTX_init=yes
+else
+ ac_cv_lib_crypto_HMAC_CTX_init=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_HMAC_CTX_init" >&5
+$as_echo "$ac_cv_lib_crypto_HMAC_CTX_init" >&6; }
+if test "x$ac_cv_lib_crypto_HMAC_CTX_init" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBCRYPTO 1
+_ACEOF
+
+ LIBS="-lcrypto $LIBS"
+
+else
+
+ as_fn_error $? "OpenSSL found in $ssldir, but version 0.9.7 or higher is required" "$LINENO" 5
+
+fi
+
+ fi
SSL_LIBS="-lssl"
for ac_header in openssl/ssl.h
@@ -9563,7 +9586,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by NSD $as_me 4.1.6, which was
+This file was extended by NSD $as_me 4.1.7, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -9625,7 +9648,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-NSD config.status 4.1.6
+NSD config.status 4.1.7
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"