"Fossies" - the Fresh Open Source Software Archive  

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

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

configure.ac  (nsd-4.3.5):configure.ac  (nsd-4.3.6)
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.5],[nsd-bugs@nlnetlabs.nl]) AC_INIT([NSD],[4.3.6],[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 452 skipping to change at line 452
AC_CHECK_FUNCS([event_base_new]) # only in libevent 1.4.1 and later AC_CHECK_FUNCS([event_base_new]) # only in libevent 1.4.1 and later
AC_CHECK_FUNCS([event_base_get_method]) # only in libevent 1.4.3 and late r AC_CHECK_FUNCS([event_base_get_method]) # only in libevent 1.4.3 and late r
AC_CHECK_FUNCS([ev_loop]) # only in libev. (tested on 3.51) AC_CHECK_FUNCS([ev_loop]) # only in libev. (tested on 3.51)
AC_CHECK_FUNCS([ev_default_loop]) # only in libev. (tested on 4.00) AC_CHECK_FUNCS([ev_default_loop]) # only in libev. (tested on 4.00)
else else
AC_DEFINE(USE_MINI_EVENT, 1, [Define if you want to use internal select b ased events]) AC_DEFINE(USE_MINI_EVENT, 1, [Define if you want to use internal select b ased events])
fi fi
# Checks for header files. # Checks for header files.
AC_HEADER_SYS_WAIT AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([time.h arpa/inet.h signal.h string.h strings.h fcntl.h limits. h netinet/in.h netinet/tcp.h stddef.h sys/param.h sys/socket.h sys/un.h syslog.h unistd.h sys/select.h stdarg.h stdint.h netdb.h sys/bitypes.h tcpd.h glob.h grp .h endian.h sys/random.h]) AC_CHECK_HEADERS([time.h arpa/inet.h signal.h string.h strings.h fcntl.h limits. h netinet/in.h netinet/tcp.h stddef.h sys/param.h sys/socket.h sys/un.h syslog.h unistd.h sys/select.h stdarg.h stdint.h netdb.h sys/bitypes.h tcpd.h glob.h grp .h endian.h sys/random.h ifaddrs.h],,, [AC_INCLUDES_DEFAULT])
AC_DEFUN([CHECK_VALIST_DEF], AC_DEFUN([CHECK_VALIST_DEF],
[ [
AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_PROG_CC])
AC_MSG_CHECKING(for double definition of struct va_list) AC_MSG_CHECKING(for double definition of struct va_list)
AC_CACHE_VAL(ac_cv_c_va_list_def, AC_CACHE_VAL(ac_cv_c_va_list_def,
[ [
cat >conftest.c <<EOF cat >conftest.c <<EOF
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
skipping to change at line 637 skipping to change at line 637
# Checks for library functions. # Checks for library functions.
AC_FUNC_CHOWN AC_FUNC_CHOWN
AC_FUNC_FORK AC_FUNC_FORK
AC_FUNC_MALLOC AC_FUNC_MALLOC
AC_DEFINE(RETSIGTYPE,void,[Return type of signal handlers, but autoconf 2.70 say s 'your code may safely assume C89 semantics that RETSIGTYPE is void.']) AC_DEFINE(RETSIGTYPE,void,[Return type of signal handlers, but autoconf 2.70 say s 'your code may safely assume C89 semantics that RETSIGTYPE is void.'])
AC_FUNC_FSEEKO AC_FUNC_FSEEKO
AC_SYS_LARGEFILE AC_SYS_LARGEFILE
AC_CHECK_SIZEOF(void*) AC_CHECK_SIZEOF(void*)
AC_CHECK_SIZEOF(off_t) AC_CHECK_SIZEOF(off_t)
AC_CHECK_FUNCS([getrandom arc4random arc4random_uniform]) AC_CHECK_FUNCS([getrandom arc4random arc4random_uniform])
AC_SEARCH_LIBS([setusercontext],[util],[AC_CHECK_HEADERS([login_cap.h])]) AC_SEARCH_LIBS([setusercontext],[util],[AC_CHECK_HEADERS([login_cap.h],,, [AC_IN CLUDES_DEFAULT])])
AC_CHECK_FUNCS([tzset alarm chroot dup2 endpwent gethostname memset memcpy pwrit e socket strcasecmp strchr strdup strerror strncasecmp strtol writev getaddrinfo getnameinfo freeaddrinfo gai_strerror sigaction sigprocmask strptime strftime l ocaltime_r setusercontext glob initgroups setresuid setreuid setresgid setregid getpwnam mmap ppoll clock_gettime accept4 getifaddrs]) AC_CHECK_FUNCS([tzset alarm chroot dup2 endpwent gethostname memset memcpy pwrit e socket strcasecmp strchr strdup strerror strncasecmp strtol writev getaddrinfo getnameinfo freeaddrinfo gai_strerror sigaction sigprocmask strptime strftime l ocaltime_r setusercontext glob initgroups setresuid setreuid setresgid setregid getpwnam mmap ppoll clock_gettime accept4 getifaddrs])
AC_CHECK_TYPE([struct mmsghdr], AC_DEFINE(HAVE_MMSGHDR, 1, [If sys/socket.h has a struct mmsghdr.]), [], [ AC_CHECK_TYPE([struct mmsghdr], AC_DEFINE(HAVE_MMSGHDR, 1, [If sys/socket.h has a struct mmsghdr.]), [], [
AC_INCLUDES_DEFAULT AC_INCLUDES_DEFAULT
#include <sys/socket.h> #include <sys/socket.h>
]) ])
AC_ARG_ENABLE(recvmmsg, AS_HELP_STRING([--enable-recvmmsg],[Enable recvmmsg and sendmmsg compilation, faster but some kernel versions may have implementation pr oblems for IPv6])) AC_ARG_ENABLE(recvmmsg, AS_HELP_STRING([--enable-recvmmsg],[Enable recvmmsg and sendmmsg compilation, faster but some kernel versions may have implementation pr oblems for IPv6]))
case "$enable_recvmmsg" in case "$enable_recvmmsg" in
yes) yes)
skipping to change at line 697 skipping to change at line 697
if echo $target_os | $GREP -i darwin8 > /dev/null; then if echo $target_os | $GREP -i darwin8 > /dev/null; then
AC_DEFINE(DARWIN_BROKEN_SETREUID, 1, [Define this if on macOSX10.4-darwin 8 and setreuid and setregid do not work]) AC_DEFINE(DARWIN_BROKEN_SETREUID, 1, [Define this if on macOSX10.4-darwin 8 and setreuid and setregid do not work])
fi fi
# GNU HURD needs _GNU_SOURCE defined for cpu affinity gear # GNU HURD needs _GNU_SOURCE defined for cpu affinity gear
if echo $target_os | $EGREP -i 'linux|hurd' > /dev/null; then if echo $target_os | $EGREP -i 'linux|hurd' > /dev/null; then
AC_DEFINE([_GNU_SOURCE, 1, [Define this if on Linux or GNU Hurd for cpu affini ty interface]]) AC_DEFINE([_GNU_SOURCE, 1, [Define this if on Linux or GNU Hurd for cpu affini ty interface]])
fi fi
# see comment on _GNU_SOURCE above # see comment on _GNU_SOURCE above
AC_CHECK_HEADERS([sched.h sys/cpuset.h]) AC_CHECK_HEADERS([sched.h sys/cpuset.h],,, [AC_INCLUDES_DEFAULT])
# Check for cpu_set_t (Linux) and cpuset_t (FreeBSD and NetBSD) # Check for cpu_set_t (Linux) and cpuset_t (FreeBSD and NetBSD)
AC_CHECK_TYPES([cpu_set_t, cpuset_t, cpuid_t],,,[ AC_CHECK_TYPES([cpu_set_t, cpuset_t, cpuid_t],,,[
AC_INCLUDES_DEFAULT AC_INCLUDES_DEFAULT
#if HAVE_SCHED_H #if HAVE_SCHED_H
# include <sched.h> # include <sched.h>
#endif #endif
#if HAVE_SYS_CPUSET_H #if HAVE_SYS_CPUSET_H
# include <sys/cpuset.h> # include <sys/cpuset.h>
#endif #endif
skipping to change at line 1058 skipping to change at line 1058
no) no)
;; ;;
yes|*) yes|*)
AC_DEFINE_UNQUOTED([MINIMAL_RESPONSES], [], [Define this to enabl e response minimalization to reduce truncation.]) AC_DEFINE_UNQUOTED([MINIMAL_RESPONSES], [], [Define this to enabl e response minimalization to reduce truncation.])
;; ;;
esac esac
AC_ARG_ENABLE(mmap, AS_HELP_STRING([--enable-mmap],[Use mmap instead of malloc. Experimental.])) AC_ARG_ENABLE(mmap, AS_HELP_STRING([--enable-mmap],[Use mmap instead of malloc. Experimental.]))
case "$enable_mmap" in case "$enable_mmap" in
yes) yes)
AC_CHECK_HEADERS([sys/mman.h]) AC_CHECK_HEADERS([sys/mman.h],,, [AC_INCLUDES_DEFAULT])
AC_LIBGTOP_CHECK_TYPE(uintptr_t, void*) AC_LIBGTOP_CHECK_TYPE(uintptr_t, void*)
AC_CHECK_FUNCS([mmap munmap]) AC_CHECK_FUNCS([mmap munmap])
AC_DEFINE_UNQUOTED([USE_MMAP_ALLOC], [], [Define this to enable m map instead of malloc. Experimental.]) AC_DEFINE_UNQUOTED([USE_MMAP_ALLOC], [], [Define this to enable m map instead of malloc. Experimental.])
;; ;;
no|*) no|*)
;; ;;
esac esac
AC_ARG_ENABLE(radix-tree, AS_HELP_STRING([--disable-radix-tree],[You can disable the radix tree and use the red-black tree for the main lookups, the red-black t ree uses less memory, but uses some more CPU.])) AC_ARG_ENABLE(radix-tree, AS_HELP_STRING([--disable-radix-tree],[You can disable the radix tree and use the red-black tree for the main lookups, the red-black t ree uses less memory, but uses some more CPU.]))
case "$enable_radix_tree" in case "$enable_radix_tree" in
 End of changes. 5 change blocks. 
5 lines changed or deleted 5 lines changed or added

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