"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.ac" between
nsd-4.3.6.tar.gz and nsd-4.3.7.tar.gz

About: NSD is an authoritative only, high performance, simple name server daemon.

configure.ac  (nsd-4.3.6):configure.ac  (nsd-4.3.7)
dnl dnl
dnl Some global settings dnl Some global settings
dnl dnl
sinclude(acx_nlnetlabs.m4) sinclude(acx_nlnetlabs.m4)
sinclude(dnstap/dnstap.m4) sinclude(dnstap/dnstap.m4)
AC_INIT([NSD],[4.3.6],[nsd-bugs@nlnetlabs.nl]) AC_INIT([NSD],[4.3.7],[nsd-bugs@nlnetlabs.nl])
AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([config.h])
# #
# Setup the standard programs # Setup the standard programs
# https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Setting-O utput-Variables.html # https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Setting-O utput-Variables.html
AC_ARG_VAR(SED, [location of the sed program]) AC_ARG_VAR(SED, [location of the sed program])
AC_ARG_VAR(AWK, [location of the awk program]) AC_ARG_VAR(AWK, [location of the awk program])
AC_ARG_VAR(GREP, [location of the grep program]) AC_ARG_VAR(GREP, [location of the grep program])
AC_ARG_VAR(EGREP, [location of the egrep program]) AC_ARG_VAR(EGREP, [location of the egrep program])
skipping to change at line 254 skipping to change at line 254
f ("x"); f ("x");
]])],[ac_cv_c_unused_attribute="yes"],[ac_cv_c_unused_attribute="no"]) ]])],[ac_cv_c_unused_attribute="yes"],[ac_cv_c_unused_attribute="no"])
]) ])
AC_MSG_RESULT($ac_cv_c_unused_attribute) AC_MSG_RESULT($ac_cv_c_unused_attribute)
if test $ac_cv_c_unused_attribute = yes; then if test $ac_cv_c_unused_attribute = yes; then
AC_DEFINE(HAVE_ATTR_UNUSED, 1, [Whether the C compiler accepts the "unused" at tribute]) AC_DEFINE(HAVE_ATTR_UNUSED, 1, [Whether the C compiler accepts the "unused" at tribute])
fi fi
])dnl ])dnl
AC_DEFUN([CHECK_WEAK_ATTRIBUTE],
[AC_REQUIRE([AC_PROG_CC])
AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "weak" attribute)
AC_CACHE_VAL(ac_cv_c_weak_attribute,
[ac_cv_c_weak_attribute=no
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <stdio.h>
__attribute__((weak)) void f(int x) { printf("%d", x); }
]], [[
f(1);
]])],[ac_cv_c_weak_attribute="yes"],[ac_cv_c_weak_attribute="no"])
])
AC_MSG_RESULT($ac_cv_c_weak_attribute)
if test $ac_cv_c_weak_attribute = yes; then
AC_DEFINE(HAVE_ATTR_WEAK, 1, [Whether the C compiler accepts the "weak" attrib
ute])
AC_DEFINE(ATTR_WEAK, [__attribute__((weak))], [apply the weak attribute to a s
ymbol])
fi
])dnl End of CHECK_WEAK_ATTRIBUTE
AC_DEFUN([CHECK_NORETURN_ATTRIBUTE], AC_DEFUN([CHECK_NORETURN_ATTRIBUTE],
[AC_REQUIRE([AC_PROG_CC]) [AC_REQUIRE([AC_PROG_CC])
AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "noreturn" attribu te) AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "noreturn" attribu te)
AC_CACHE_VAL(ac_cv_c_noreturn_attribute, AC_CACHE_VAL(ac_cv_c_noreturn_attribute,
[ac_cv_c_noreturn_attribute=no [ac_cv_c_noreturn_attribute=no
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <stdio.h> AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <stdio.h>
__attribute__((noreturn)) void f(int x) { printf("%d", x); } __attribute__((noreturn)) void f(int x) { printf("%d", x); }
]], [[ ]], [[
f(1); f(1);
]])],[ac_cv_c_noreturn_attribute="yes"],[ac_cv_c_noreturn_attribute="no"]) ]])],[ac_cv_c_noreturn_attribute="yes"],[ac_cv_c_noreturn_attribute="no"])
skipping to change at line 335 skipping to change at line 354
fi fi
AC_C_CONST AC_C_CONST
AC_C_INLINE AC_C_INLINE
AC_TYPE_UID_T AC_TYPE_UID_T
AC_TYPE_PID_T AC_TYPE_PID_T
AC_TYPE_SIZE_T AC_TYPE_SIZE_T
AC_TYPE_OFF_T AC_TYPE_OFF_T
AC_CHECK_FORMAT_ATTRIBUTE AC_CHECK_FORMAT_ATTRIBUTE
AC_CHECK_UNUSED_ATTRIBUTE AC_CHECK_UNUSED_ATTRIBUTE
CHECK_WEAK_ATTRIBUTE
CHECK_NORETURN_ATTRIBUTE CHECK_NORETURN_ATTRIBUTE
ACX_CHECK_MEMCMP_SIGNED ACX_CHECK_MEMCMP_SIGNED
AC_CHECK_CTIME_R AC_CHECK_CTIME_R
# Checks for libraries. # Checks for libraries.
# Check for SSL, original taken from # Check for SSL, original taken from
# http://www.gnu.org/software/ac-archive/htmldoc/check_ssl.html and # http://www.gnu.org/software/ac-archive/htmldoc/check_ssl.html and
# modified for NSD. # modified for NSD.
AC_DEFUN([CHECK_SSL], [ AC_DEFUN([CHECK_SSL], [
skipping to change at line 799 skipping to change at line 819
AC_REPLACE_FUNCS(inet_ntop) AC_REPLACE_FUNCS(inet_ntop)
AC_REPLACE_FUNCS(snprintf) AC_REPLACE_FUNCS(snprintf)
AC_REPLACE_FUNCS(strlcat) AC_REPLACE_FUNCS(strlcat)
AC_REPLACE_FUNCS(strlcpy) AC_REPLACE_FUNCS(strlcpy)
AC_REPLACE_FUNCS(strptime) AC_REPLACE_FUNCS(strptime)
AC_REPLACE_FUNCS(b64_pton) AC_REPLACE_FUNCS(b64_pton)
AC_REPLACE_FUNCS(b64_ntop) AC_REPLACE_FUNCS(b64_ntop)
AC_REPLACE_FUNCS(pselect) AC_REPLACE_FUNCS(pselect)
AC_REPLACE_FUNCS(memmove) AC_REPLACE_FUNCS(memmove)
AC_REPLACE_FUNCS(setproctitle) AC_REPLACE_FUNCS(setproctitle)
AC_REPLACE_FUNCS(explicit_bzero)
AC_MSG_CHECKING([for reallocarray]) AC_MSG_CHECKING([for reallocarray])
AC_LINK_IFELSE([AC_LANG_SOURCE( AC_LINK_IFELSE([AC_LANG_SOURCE(
[[ [[
#ifndef _OPENBSD_SOURCE #ifndef _OPENBSD_SOURCE
#define _OPENBSD_SOURCE 1 #define _OPENBSD_SOURCE 1
#endif #endif
]] ]]
AC_INCLUDES_DEFAULT AC_INCLUDES_DEFAULT
[[ [[
#include <stdlib.h> #include <stdlib.h>
skipping to change at line 1019 skipping to change at line 1040
#ifdef HAVE_OPENSSL_CONF_H #ifdef HAVE_OPENSSL_CONF_H
#include <openssl/conf.h> #include <openssl/conf.h>
#endif #endif
#ifdef HAVE_OPENSSL_ENGINE_H #ifdef HAVE_OPENSSL_ENGINE_H
#include <openssl/engine.h> #include <openssl/engine.h>
#endif #endif
#include <openssl/ssl.h> #include <openssl/ssl.h>
#include <openssl/evp.h> #include <openssl/evp.h>
]) ])
AC_CHECK_DECL([TLS1_3_VERSION],
[AC_DEFINE([HAVE_TLS_1_3], [1], [Define if TLS 1.3 is supported b
y OpenSSL])],
[AC_MSG_WARN([No TLS 1.3, therefore XFR-over-TLS is disabled])],
[[#include <openssl/ssl.h>]])
BAKLIBS="$LIBS" BAKLIBS="$LIBS"
LIBS="-lssl $LIBS" LIBS="-lssl $LIBS"
AC_CHECK_FUNCS([OPENSSL_init_ssl]) AC_CHECK_FUNCS([OPENSSL_init_ssl])
LIBS="$BAKLIBS" LIBS="$BAKLIBS"
else else
AC_MSG_WARN([No SSL, therefore remote-control is disabled]) AC_MSG_WARN([No SSL, therefore remote-control is disabled])
AC_MSG_WARN([No SSL, therefore TLS is disabled]) AC_MSG_WARN([No SSL, therefore TLS is disabled])
fi fi
skipping to change at line 1262 skipping to change at line 1286
#endif /* HAVE_INET_PTON */ #endif /* HAVE_INET_PTON */
#ifndef HAVE_INET_NTOP #ifndef HAVE_INET_NTOP
const char *inet_ntop(int af, const void *src, char *dst, size_t size); const char *inet_ntop(int af, const void *src, char *dst, size_t size);
#endif #endif
#ifndef HAVE_INET_ATON #ifndef HAVE_INET_ATON
int inet_aton(const char *cp, struct in_addr *addr); int inet_aton(const char *cp, struct in_addr *addr);
#endif #endif
#ifndef HAVE_MEMMOVE #ifndef HAVE_MEMMOVE
void *memmove(void *dest, const void *src, size_t n); void *memmove(void *dest, const void *src, size_t n);
#endif #endif
#ifndef HAVE_EXPLICIT_BZERO
#define explicit_bzero nsd_explicit_bzero
void explicit_bzero(void* buf, size_t len);
#endif
#ifndef HAVE_STRLCAT #ifndef HAVE_STRLCAT
size_t strlcat(char *dst, const char *src, size_t siz); size_t strlcat(char *dst, const char *src, size_t siz);
#endif #endif
#ifndef HAVE_STRLCPY #ifndef HAVE_STRLCPY
size_t strlcpy(char *dst, const char *src, size_t siz); size_t strlcpy(char *dst, const char *src, size_t siz);
#endif #endif
#ifndef HAVE_REALLOCARRAY #ifndef HAVE_REALLOCARRAY
void* reallocarray(void *ptr, size_t nmemb, size_t size); void* reallocarray(void *ptr, size_t nmemb, size_t size);
#endif #endif
#ifndef HAVE_GETADDRINFO #ifndef HAVE_GETADDRINFO
 End of changes. 6 change blocks. 
1 lines changed or deleted 33 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)