Deleted Added
full compact
configure.ac (361435) configure.ac (366095)
1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3AC_PREREQ(2.56)
4sinclude(acx_nlnetlabs.m4)
5sinclude(ax_pthread.m4)
6sinclude(acx_python.m4)
7sinclude(ac_pkg_swig.m4)
8sinclude(dnstap/dnstap.m4)
9sinclude(dnscrypt/dnscrypt.m4)
10
11# must be numbers. ac_defun because of later processing
12m4_define([VERSION_MAJOR],[1])
1# -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3AC_PREREQ(2.56)
4sinclude(acx_nlnetlabs.m4)
5sinclude(ax_pthread.m4)
6sinclude(acx_python.m4)
7sinclude(ac_pkg_swig.m4)
8sinclude(dnstap/dnstap.m4)
9sinclude(dnscrypt/dnscrypt.m4)
10
11# must be numbers. ac_defun because of later processing
12m4_define([VERSION_MAJOR],[1])
13m4_define([VERSION_MINOR],[10])
14m4_define([VERSION_MICRO],[1])
13m4_define([VERSION_MINOR],[11])
14m4_define([VERSION_MICRO],[0])
15AC_INIT(unbound, m4_defn([VERSION_MAJOR]).m4_defn([VERSION_MINOR]).m4_defn([VERSION_MICRO]), unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues, unbound)
16AC_SUBST(UNBOUND_VERSION_MAJOR, [VERSION_MAJOR])
17AC_SUBST(UNBOUND_VERSION_MINOR, [VERSION_MINOR])
18AC_SUBST(UNBOUND_VERSION_MICRO, [VERSION_MICRO])
19
20LIBUNBOUND_CURRENT=9
15AC_INIT(unbound, m4_defn([VERSION_MAJOR]).m4_defn([VERSION_MINOR]).m4_defn([VERSION_MICRO]), unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues, unbound)
16AC_SUBST(UNBOUND_VERSION_MAJOR, [VERSION_MAJOR])
17AC_SUBST(UNBOUND_VERSION_MINOR, [VERSION_MINOR])
18AC_SUBST(UNBOUND_VERSION_MICRO, [VERSION_MICRO])
19
20LIBUNBOUND_CURRENT=9
21LIBUNBOUND_REVISION=8
21LIBUNBOUND_REVISION=9
22LIBUNBOUND_AGE=1
23# 1.0.0 had 0:12:0
24# 1.0.1 had 0:13:0
25# 1.0.2 had 0:14:0
26# 1.1.0 had 0:15:0
27# 1.1.1 had 0:16:0
28# 1.2.0 had 0:17:0
29# 1.2.1 had 0:18:0

--- 59 unchanged lines hidden (view full) ---

89# 1.9.1 had 9:1:1
90# 1.9.2 had 9:2:1
91# 1.9.3 had 9:3:1
92# 1.9.4 had 9:4:1
93# 1.9.5 had 9:5:1
94# 1.9.6 had 9:6:1
95# 1.10.0 had 9:7:1
96# 1.10.1 had 9:8:1
22LIBUNBOUND_AGE=1
23# 1.0.0 had 0:12:0
24# 1.0.1 had 0:13:0
25# 1.0.2 had 0:14:0
26# 1.1.0 had 0:15:0
27# 1.1.1 had 0:16:0
28# 1.2.0 had 0:17:0
29# 1.2.1 had 0:18:0

--- 59 unchanged lines hidden (view full) ---

89# 1.9.1 had 9:1:1
90# 1.9.2 had 9:2:1
91# 1.9.3 had 9:3:1
92# 1.9.4 had 9:4:1
93# 1.9.5 had 9:5:1
94# 1.9.6 had 9:6:1
95# 1.10.0 had 9:7:1
96# 1.10.1 had 9:8:1
97# 1.11.0 had 9:9:1
97
98# Current -- the number of the binary API that we're implementing
99# Revision -- which iteration of the implementation of the binary
100# API are we supplying?
101# Age -- How many previous binary API versions do we also
102# support?
103#
104# If we release a new version that does not change the binary API,

--- 289 unchanged lines hidden (view full) ---

394AC_CHECK_TOOL(STRIP, strip)
395ACX_LIBTOOL_C_ONLY
396
397PKG_PROG_PKG_CONFIG
398
399# Checks for header files.
400AC_CHECK_HEADERS([stdarg.h stdbool.h netinet/in.h netinet/tcp.h sys/param.h sys/socket.h sys/un.h sys/uio.h sys/resource.h arpa/inet.h syslog.h netdb.h sys/wait.h pwd.h glob.h grp.h login_cap.h winsock2.h ws2tcpip.h endian.h sys/endian.h libkern/OSByteOrder.h sys/ipc.h sys/shm.h],,, [AC_INCLUDES_DEFAULT])
401
98
99# Current -- the number of the binary API that we're implementing
100# Revision -- which iteration of the implementation of the binary
101# API are we supplying?
102# Age -- How many previous binary API versions do we also
103# support?
104#
105# If we release a new version that does not change the binary API,

--- 289 unchanged lines hidden (view full) ---

395AC_CHECK_TOOL(STRIP, strip)
396ACX_LIBTOOL_C_ONLY
397
398PKG_PROG_PKG_CONFIG
399
400# Checks for header files.
401AC_CHECK_HEADERS([stdarg.h stdbool.h netinet/in.h netinet/tcp.h sys/param.h sys/socket.h sys/un.h sys/uio.h sys/resource.h arpa/inet.h syslog.h netdb.h sys/wait.h pwd.h glob.h grp.h login_cap.h winsock2.h ws2tcpip.h endian.h sys/endian.h libkern/OSByteOrder.h sys/ipc.h sys/shm.h],,, [AC_INCLUDES_DEFAULT])
402
403# Check for Apple header. This uncovers TARGET_OS_IPHONE, TARGET_OS_TV or TARGET_OS_WATCH
404AC_CHECK_HEADERS([TargetConditionals.h])
405
402# check for types.
403# Using own tests for int64* because autoconf builtin only give 32bit.
404AC_CHECK_TYPE(int8_t, signed char)
405AC_CHECK_TYPE(int16_t, short)
406AC_CHECK_TYPE(int32_t, int)
407AC_CHECK_TYPE(int64_t, long long)
408AC_CHECK_TYPE(uint8_t, unsigned char)
409AC_CHECK_TYPE(uint16_t, unsigned short)

--- 209 unchanged lines hidden (view full) ---

619
620 LOCAL[[0-7]]) UNBOUND_SYSLOG_FACILITY="LOG_${UNBOUND_SYSLOG_FACILITY}" ;;
621
622 *) UNBOUND_SYSLOG_FACILITY="LOG_DAEMON" ;;
623
624esac
625AC_DEFINE_UNQUOTED(UB_SYSLOG_FACILITY,${UNBOUND_SYSLOG_FACILITY},[the SYSLOG_FACILITY to use, default LOG_DAEMON])
626
406# check for types.
407# Using own tests for int64* because autoconf builtin only give 32bit.
408AC_CHECK_TYPE(int8_t, signed char)
409AC_CHECK_TYPE(int16_t, short)
410AC_CHECK_TYPE(int32_t, int)
411AC_CHECK_TYPE(int64_t, long long)
412AC_CHECK_TYPE(uint8_t, unsigned char)
413AC_CHECK_TYPE(uint16_t, unsigned short)

--- 209 unchanged lines hidden (view full) ---

623
624 LOCAL[[0-7]]) UNBOUND_SYSLOG_FACILITY="LOG_${UNBOUND_SYSLOG_FACILITY}" ;;
625
626 *) UNBOUND_SYSLOG_FACILITY="LOG_DAEMON" ;;
627
628esac
629AC_DEFINE_UNQUOTED(UB_SYSLOG_FACILITY,${UNBOUND_SYSLOG_FACILITY},[the SYSLOG_FACILITY to use, default LOG_DAEMON])
630
631# Check for dynamic library module
632AC_ARG_WITH(dynlibmodule,
633 AC_HELP_STRING([--with-dynlibmodule],
634 [build dynamic library module, or --without-dynlibmodule to disable it. (default=no)]),
635 [], [ withval="no" ])
636
637if test x_$withval != x_no; then
638 AC_DEFINE(WITH_DYNLIBMODULE, 1, [Define if you want dynlib module.])
639 WITH_DYNLIBMODULE=yes
640 AC_SUBST(WITH_DYNLIBMODULE)
641 DYNLIBMOD_OBJ="dynlibmod.lo"
642 AC_SUBST(DYNLIBMOD_OBJ)
643 DYNLIBMOD_HEADER='$(srcdir)/dynlibmod/dynlibmod.h'
644 AC_SUBST(DYNLIBMOD_HEADER)
645 if test $on_mingw = "no"; then
646 DYNLIBMOD_EXTRALIBS="-ldl -export-dynamic"
647 else
648 DYNLIBMOD_EXTRALIBS="-Wl,--export-all-symbols,--out-implib,libunbound.a"
649 fi
650 AC_SUBST(DYNLIBMOD_EXTRALIBS)
651fi
652
627# Check for PyUnbound
628AC_ARG_WITH(pyunbound,
629 AC_HELP_STRING([--with-pyunbound],
630 [build PyUnbound, or --without-pyunbound to skip it. (default=no)]),
631 [], [ withval="no" ])
632
633ub_test_python=no
634ub_with_pyunbound=no

--- 35 unchanged lines hidden (view full) ---

670 else
671 LIBS="$PYTHON_LDFLAGS"
672 fi
673 if test -n "$CPPFLAGS"; then
674 CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS"
675 else
676 CPPFLAGS="$PYTHON_CPPFLAGS"
677 fi
653# Check for PyUnbound
654AC_ARG_WITH(pyunbound,
655 AC_HELP_STRING([--with-pyunbound],
656 [build PyUnbound, or --without-pyunbound to skip it. (default=no)]),
657 [], [ withval="no" ])
658
659ub_test_python=no
660ub_with_pyunbound=no

--- 35 unchanged lines hidden (view full) ---

696 else
697 LIBS="$PYTHON_LDFLAGS"
698 fi
699 if test -n "$CPPFLAGS"; then
700 CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS"
701 else
702 CPPFLAGS="$PYTHON_CPPFLAGS"
703 fi
704 if test "$PYTHON_LIBDIR" != "/usr/lib" -a "$PYTHON_LIBDIR" != "" -a "$PYTHON_LIBDIR" != "/usr/lib64"; then
705 ACX_RUNTIME_PATH_ADD([$PYTHON_LIBDIR])
706 fi
678 ub_have_python=yes
679 PKG_CHECK_EXISTS(["python${PY_MAJOR_VERSION}"],
680 [PC_PY_DEPENDENCY="python${PY_MAJOR_VERSION}"],
681 [PC_PY_DEPENDENCY="python"])
682 AC_SUBST(PC_PY_DEPENDENCY)
683
684 # Check for SWIG
685 ub_have_swig=no

--- 130 unchanged lines hidden (view full) ---

816 AC_MSG_RESULT([yes])
817 AC_DEFINE([HAVE_LIBRESSL], [1], [Define if we have LibreSSL])
818 # libressl provides these compat functions, but they may also be
819 # declared by the OS in libc. See if they have been declared.
820 AC_CHECK_DECLS([strlcpy,strlcat,arc4random,arc4random_uniform])
821else
822 AC_MSG_RESULT([no])
823fi
707 ub_have_python=yes
708 PKG_CHECK_EXISTS(["python${PY_MAJOR_VERSION}"],
709 [PC_PY_DEPENDENCY="python${PY_MAJOR_VERSION}"],
710 [PC_PY_DEPENDENCY="python"])
711 AC_SUBST(PC_PY_DEPENDENCY)
712
713 # Check for SWIG
714 ub_have_swig=no

--- 130 unchanged lines hidden (view full) ---

845 AC_MSG_RESULT([yes])
846 AC_DEFINE([HAVE_LIBRESSL], [1], [Define if we have LibreSSL])
847 # libressl provides these compat functions, but they may also be
848 # declared by the OS in libc. See if they have been declared.
849 AC_CHECK_DECLS([strlcpy,strlcat,arc4random,arc4random_uniform])
850else
851 AC_MSG_RESULT([no])
852fi
824AC_CHECK_HEADERS([openssl/conf.h openssl/engine.h openssl/bn.h openssl/dh.h openssl/dsa.h openssl/rsa.h],,, [AC_INCLUDES_DEFAULT])
825AC_CHECK_FUNCS([OPENSSL_config EVP_sha1 EVP_sha256 EVP_sha512 FIPS_mode EVP_MD_CTX_new OpenSSL_add_all_digests OPENSSL_init_crypto EVP_cleanup ERR_load_crypto_strings CRYPTO_cleanup_all_ex_data ERR_free_strings RAND_cleanup DSA_SIG_set0 EVP_dss1 EVP_DigestVerify SSL_CTX_set_tlsext_ticket_key_cb EVP_aes_256_cbc EVP_EncryptInit_ex HMAC_Init_ex CRYPTO_THREADID_set_callback])
853AC_CHECK_HEADERS([openssl/conf.h openssl/engine.h openssl/bn.h openssl/dh.h openssl/dsa.h openssl/rsa.h openssl/core_names.h],,, [AC_INCLUDES_DEFAULT])
854AC_CHECK_FUNCS([OPENSSL_config EVP_sha1 EVP_sha256 EVP_sha512 FIPS_mode EVP_MD_CTX_new OpenSSL_add_all_digests OPENSSL_init_crypto EVP_cleanup ENGINE_cleanup ERR_load_crypto_strings CRYPTO_cleanup_all_ex_data ERR_free_strings RAND_cleanup DSA_SIG_set0 EVP_dss1 EVP_DigestVerify EVP_aes_256_cbc EVP_EncryptInit_ex HMAC_Init_ex CRYPTO_THREADID_set_callback])
826
827# these check_funcs need -lssl
828BAKLIBS="$LIBS"
829LIBS="-lssl $LIBS"
855
856# these check_funcs need -lssl
857BAKLIBS="$LIBS"
858LIBS="-lssl $LIBS"
830AC_CHECK_FUNCS([OPENSSL_init_ssl SSL_CTX_set_security_level SSL_set1_host SSL_get0_peername X509_VERIFY_PARAM_set1_host SSL_CTX_set_ciphersuites])
859AC_CHECK_FUNCS([OPENSSL_init_ssl SSL_CTX_set_security_level SSL_set1_host SSL_get0_peername X509_VERIFY_PARAM_set1_host SSL_CTX_set_ciphersuites SSL_CTX_set_tlsext_ticket_key_evp_cb])
831LIBS="$BAKLIBS"
832
833AC_CHECK_DECLS([SSL_COMP_get_compression_methods,sk_SSL_COMP_pop_free,SSL_CTX_set_ecdh_auto], [], [], [
834AC_INCLUDES_DEFAULT
835#ifdef HAVE_OPENSSL_ERR_H
836#include <openssl/err.h>
837#endif
838

--- 371 unchanged lines hidden (view full) ---

1210 ;;
1211 no|*)
1212 ;;
1213esac
1214
1215# check for libevent
1216AC_ARG_WITH(libevent, AC_HELP_STRING([--with-libevent=pathname],
1217 [use libevent (will check /usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr or you can specify an explicit path). Slower, but allows use of large outgoing port ranges.]),
860LIBS="$BAKLIBS"
861
862AC_CHECK_DECLS([SSL_COMP_get_compression_methods,sk_SSL_COMP_pop_free,SSL_CTX_set_ecdh_auto], [], [], [
863AC_INCLUDES_DEFAULT
864#ifdef HAVE_OPENSSL_ERR_H
865#include <openssl/err.h>
866#endif
867

--- 371 unchanged lines hidden (view full) ---

1239 ;;
1240 no|*)
1241 ;;
1242esac
1243
1244# check for libevent
1245AC_ARG_WITH(libevent, AC_HELP_STRING([--with-libevent=pathname],
1246 [use libevent (will check /usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr or you can specify an explicit path). Slower, but allows use of large outgoing port ranges.]),
1218 [ ],[ withval="no" ])
1219if test x_$withval = x_yes -o x_$withval != x_no; then
1247 [ ],[ with_libevent="no" ])
1248if test "x_$with_libevent" != x_no; then
1249 AC_DEFINE([USE_LIBEVENT], [1], [Define if you enable libevent])
1220 AC_MSG_CHECKING(for libevent)
1250 AC_MSG_CHECKING(for libevent)
1221 if test x_$withval = x_ -o x_$withval = x_yes; then
1222 withval="/usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr"
1251 if test "x_$with_libevent" = x_ -o "x_$with_libevent" = x_yes; then
1252 with_libevent="/usr/local /opt/local /usr/lib /usr/pkg /usr/sfw /usr"
1223 fi
1253 fi
1224 for dir in $withval; do
1254 for dir in $with_libevent; do
1225 thedir="$dir"
1226 if test -f "$dir/include/event.h" -o -f "$dir/include/event2/event.h"; then
1227 found_libevent="yes"
1255 thedir="$dir"
1256 if test -f "$dir/include/event.h" -o -f "$dir/include/event2/event.h"; then
1257 found_libevent="yes"
1228 dnl assume /usr is in default path.
1229 if test "$thedir" != "/usr"; then
1230 CPPFLAGS="$CPPFLAGS -I$thedir/include"
1231 fi
1232 break;
1233 fi
1258 dnl assume /usr is in default path.
1259 if test "$thedir" != "/usr"; then
1260 CPPFLAGS="$CPPFLAGS -I$thedir/include"
1261 fi
1262 break;
1263 fi
1234 done
1235 if test x_$found_libevent != x_yes; then
1236 if test -f "$dir/event.h" -a \( -f "$dir/libevent.la" -o -f "$dir/libev.la" \) ; then
1237 # libevent source directory
1264 done
1265 if test x_$found_libevent != x_yes; then
1266 if test -f "$dir/event.h" -a \( -f "$dir/libevent.la" -o -f "$dir/libev.la" \) ; then
1267 # libevent source directory
1238 AC_MSG_RESULT(found in $thedir)
1239 CPPFLAGS="$CPPFLAGS -I$thedir -I$thedir/include"
1268 AC_MSG_RESULT(found in $thedir)
1269 CPPFLAGS="$CPPFLAGS -I$thedir -I$thedir/include"
1240 BAK_LDFLAGS_SET="1"
1241 BAK_LDFLAGS="$LDFLAGS"
1242 # remove evdns from linking
1243 mkdir build >/dev/null 2>&1
1244 mkdir build/libevent >/dev/null 2>&1
1245 mkdir build/libevent/.libs >/dev/null 2>&1
1246 ev_files_o=`ls $thedir/*.o | grep -v evdns\.o | grep -v bufferevent_openssl\.o`
1247 ev_files_lo=`ls $thedir/*.lo | grep -v evdns\.lo | grep -v bufferevent_openssl\.lo`
1248 ev_files_libso=`ls $thedir/.libs/*.o | grep -v evdns\.o | grep -v bufferevent_openssl\.o`
1249 cp $ev_files_o build/libevent
1250 cp $ev_files_lo build/libevent
1251 cp $ev_files_libso build/libevent/.libs
1270 BAK_LDFLAGS_SET="1"
1271 BAK_LDFLAGS="$LDFLAGS"
1272 # remove evdns from linking
1273 mkdir build >/dev/null 2>&1
1274 mkdir build/libevent >/dev/null 2>&1
1275 mkdir build/libevent/.libs >/dev/null 2>&1
1276 ev_files_o=`ls $thedir/*.o | grep -v evdns\.o | grep -v bufferevent_openssl\.o`
1277 ev_files_lo=`ls $thedir/*.lo | grep -v evdns\.lo | grep -v bufferevent_openssl\.lo`
1278 ev_files_libso=`ls $thedir/.libs/*.o | grep -v evdns\.o | grep -v bufferevent_openssl\.o`
1279 cp $ev_files_o build/libevent
1280 cp $ev_files_lo build/libevent
1281 cp $ev_files_libso build/libevent/.libs
1252 LATE_LDFLAGS="build/libevent/*.lo -lm"
1282 LATE_LDFLAGS="build/libevent/*.lo -lm"
1253 LDFLAGS="build/libevent/*.o $LDFLAGS -lm"
1254 else
1283 LDFLAGS="build/libevent/*.o $LDFLAGS -lm"
1284 else
1255 AC_MSG_ERROR([Cannot find the libevent library in $withval
1285 AC_MSG_ERROR([Cannot find the libevent library in $with_libevent
1256You can restart ./configure --with-libevent=no to use a builtin alternative.
1257Please note that this alternative is not as capable as libevent when using
1258large outgoing port ranges. ])
1259 fi
1260 else
1261 AC_MSG_RESULT(found in $thedir)
1262 dnl if event2 exists and no event lib in dir itself, use subdir
1263 if test ! -f $thedir/lib/libevent.a -a ! -f $thedir/lib/libevent.so -a -d "$thedir/lib/event2"; then

--- 419 unchanged lines hidden (view full) ---

1683 [
1684 AC_DEFINE([USE_DNSTAP], [1], [Define to 1 to enable dnstap support])
1685 AC_SUBST([ENABLE_DNSTAP], [1])
1686
1687 AC_SUBST([opt_dnstap_socket_path])
1688 ACX_ESCAPE_BACKSLASH($opt_dnstap_socket_path, hdr_dnstap_socket_path)
1689 AC_DEFINE_UNQUOTED(DNSTAP_SOCKET_PATH,
1690 ["$hdr_dnstap_socket_path"], [default dnstap socket path])
1286You can restart ./configure --with-libevent=no to use a builtin alternative.
1287Please note that this alternative is not as capable as libevent when using
1288large outgoing port ranges. ])
1289 fi
1290 else
1291 AC_MSG_RESULT(found in $thedir)
1292 dnl if event2 exists and no event lib in dir itself, use subdir
1293 if test ! -f $thedir/lib/libevent.a -a ! -f $thedir/lib/libevent.so -a -d "$thedir/lib/event2"; then

--- 419 unchanged lines hidden (view full) ---

1713 [
1714 AC_DEFINE([USE_DNSTAP], [1], [Define to 1 to enable dnstap support])
1715 AC_SUBST([ENABLE_DNSTAP], [1])
1716
1717 AC_SUBST([opt_dnstap_socket_path])
1718 ACX_ESCAPE_BACKSLASH($opt_dnstap_socket_path, hdr_dnstap_socket_path)
1719 AC_DEFINE_UNQUOTED(DNSTAP_SOCKET_PATH,
1720 ["$hdr_dnstap_socket_path"], [default dnstap socket path])
1721 AC_SUBST(DNSTAP_SOCKET_PATH,["$hdr_dnstap_socket_path"])
1691
1722
1692 AC_SUBST([DNSTAP_SRC], ["dnstap/dnstap.c dnstap/dnstap.pb-c.c"])
1693 AC_SUBST([DNSTAP_OBJ], ["dnstap.lo dnstap.pb-c.lo"])
1723 AC_SUBST([DNSTAP_SRC], ["dnstap/dnstap.c dnstap/dnstap.pb-c.c dnstap/dnstap_fstrm.c dnstap/dtstream.c"])
1724 AC_SUBST([DNSTAP_OBJ], ["dnstap.lo dnstap.pb-c.lo dnstap_fstrm.lo dtstream.lo"])
1694 ],
1695 [
1696 AC_SUBST([ENABLE_DNSTAP], [0])
1697 ]
1698)
1699
1700# check for dnscrypt if requested
1701dnsc_DNSCRYPT([

--- 71 unchanged lines hidden (view full) ---

1773 if test x_$found_libmnl != x_yes; then
1774 AC_ERROR([Could not find libmnl, libmnl.h])
1775 fi
1776 ;;
1777 no|*)
1778 # nothing
1779 ;;
1780esac
1725 ],
1726 [
1727 AC_SUBST([ENABLE_DNSTAP], [0])
1728 ]
1729)
1730
1731# check for dnscrypt if requested
1732dnsc_DNSCRYPT([

--- 71 unchanged lines hidden (view full) ---

1804 if test x_$found_libmnl != x_yes; then
1805 AC_ERROR([Could not find libmnl, libmnl.h])
1806 fi
1807 ;;
1808 no|*)
1809 # nothing
1810 ;;
1811esac
1812AC_ARG_ENABLE(explicit-port-randomisation, AC_HELP_STRING([--disable-explicit-port-randomisation], [disable explicit source port randomisation and rely on the kernel to provide random source ports]))
1813case "$enable_explicit_port_randomisation" in
1814 no)
1815 AC_DEFINE([DISABLE_EXPLICIT_PORT_RANDOMISATION], [1], [Define this to enable kernel based UDP source port randomization.])
1816 ;;
1817 yes|*)
1818 ;;
1819esac
1781
1820
1821
1782AC_MSG_CHECKING([if ${MAKE:-make} supports $< with implicit rule in scope])
1783# on openBSD, the implicit rule make $< work.
1784# on Solaris, it does not work ($? is changed sources, $^ lists dependencies).
1785# gmake works.
1786cat >conftest.make <<EOF
1787all: conftest.lo
1788
1789conftest.lo foo.lo bla.lo:

--- 320 unchanged lines hidden ---
1822AC_MSG_CHECKING([if ${MAKE:-make} supports $< with implicit rule in scope])
1823# on openBSD, the implicit rule make $< work.
1824# on Solaris, it does not work ($? is changed sources, $^ lists dependencies).
1825# gmake works.
1826cat >conftest.make <<EOF
1827all: conftest.lo
1828
1829conftest.lo foo.lo bla.lo:

--- 320 unchanged lines hidden ---