diff options
author | Francis Dupont <fdupont@isc.org> | 2017-06-22 16:25:34 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2017-06-22 16:25:34 +0200 |
commit | bf0b1863713a24d6daa01038b4ab82ca75bb83d3 (patch) | |
tree | 9af9366a7f8d48a6f769010065d517af3f304a37 /configure.ac-base | |
parent | 3f2eb206639e5e08b8a07e2c6cad479445bc1654 (diff) | |
download | isc-dhcp-bf0b1863713a24d6daa01038b4ab82ca75bb83d3.tar.gz |
Ignore ENOPROTOOPT on SO_REUSEPORT for RedHat
Diffstat (limited to 'configure.ac-base')
-rw-r--r-- | configure.ac-base | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac-base b/configure.ac-base index 284011e6..a189247a 100644 --- a/configure.ac-base +++ b/configure.ac-base @@ -626,6 +626,16 @@ AC_CHECK_FUNCS(strlcat) # For HP/UX we need -lipv6 for if_nametoindex, perhaps others. AC_SEARCH_LIBS(if_nametoindex, [ipv6]) +# For some Solaris nanosleep is found by BIND in librt +have_nanosleep="no" +AC_CHECK_FUNC(nanosleep, have_nanosleep="yes") +if test "$have_nanosleep" = "no"; then + AC_CHECK_LIB(rt, nanosleep, have_nanosleep="rt") +fi +if test "$have_nanosleep" = "rt"; then + LIBS="-lrt $LIBS" +fi + # check for /dev/random (declares HAVE_DEV_RANDOM) AC_MSG_CHECKING(for random device) AC_ARG_WITH(randomdev, |