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-Tag: NTP_4_2_7P373~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=923e41ae4497522616f8eb031fb2a25895289d08;p=thirdparty%2Fntp.git Bug 2427] configure fails to detect recvmsg() on Solaris bk: 51ea131bYlKkouk9ptzh-VhUQTkLUw --- diff --git a/ChangeLog b/ChangeLog index ab891a418..83639413e 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 b02934734..726071412 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 88d5dede8..279e7d423 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