From: Harlan Stenn Date: Sat, 20 Jul 2013 04:33:31 +0000 (-0400) Subject: Bug 2427] configure fails to detect recvmsg() on Solaris X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95ec49eded429265f3eb2dff6f0abc753b1d5ebc;p=thirdparty%2Fntp.git Bug 2427] configure fails to detect recvmsg() on Solaris bk: 51ea131bYlKkouk9ptzh-VhUQTkLUw --- diff --git a/ChangeLog b/ChangeLog index ab891a4182..83639413ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 2427] configure fails to detect recvmsg() on Solaris. (4.2.7p372) 2013/07/17 Released by Harlan Stenn * [Bug 1466] Oncore should set FLAG_PPS. * [Bug 2375] AIX 7 doesn't like a libevent validation check. diff --git a/configure.ac b/configure.ac index b029347345..7260714120 100644 --- a/configure.ac +++ b/configure.ac @@ -788,7 +788,7 @@ case "$host" in *) AC_CHECK_FUNCS([mlockall]) ;; esac -AC_CHECK_FUNCS([nice plock pututline pututxline readlink recvmsg rtprio]) +AC_CHECK_FUNCS([nice plock pututline pututxline readlink rtprio]) case "$host" in *-*-aix[[456]]*) # Just a stub in AIX 4. Idiots. diff --git a/sntp/m4/ntp_libntp.m4 b/sntp/m4/ntp_libntp.m4 index 88d5dede89..279e7d423d 100644 --- a/sntp/m4/ntp_libntp.m4 +++ b/sntp/m4/ntp_libntp.m4 @@ -235,6 +235,9 @@ case "$ac_cv_search_setsockopt" in esac AS_UNSET([saved_LIBS]) +# Bug 2427 - look for recvmsg here. +AC_CHECK_FUNCS([recvmsg]) + AC_C_INLINE case "$ac_cv_c_inline" in