]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 1343] sntp doesn't link on Solaris 7, needs -lresolv.
authorDave Hart <hart@ntp.org>
Tue, 17 Nov 2009 16:15:53 +0000 (16:15 +0000)
committerDave Hart <hart@ntp.org>
Tue, 17 Nov 2009 16:15:53 +0000 (16:15 +0000)
bk: 4b02cc39-hCrO6RQmsA6ZFEs_jTWeg

ChangeLog
configure.ac
sntp/configure.ac

index a9449221d9ebe4661ec6bc198ba70f5288bd9ef8..f506c3acd8deec9240dc3fc028384ce4a1800d4c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* [Bug 1343] sntp doesn't link on Solaris 7, needs -lresolv.
 (4.2.5p246-RC) 2009/11/17 Released by Harlan Stenn <stenn@ntp.org>
 * Upgrade to autogen-5.10
 * [Bug 1378] Unnecessary resetting of peers during interface update.
index c3d3525e5d1f3b03d3621e37e8b8070f60cad115..efcb4eb46fe6de3ccae1fda5529750f0c78ec9a2 100644 (file)
@@ -26,7 +26,7 @@ AC_CONFIG_AUX_DIR([.])
 # the date YYYYMMDD optionally with -HHMM if there is more than one
 # bump in a day.
 
-ntp_configure_cache_version=20091102
+ntp_configure_cache_version=20091117
 
 # When the cache version of config.cache and configure do not
 # match, NTP_CACHEVERSION will flush the cache.
@@ -1317,6 +1317,7 @@ case $ac_cv_have_if_nametoindex in
        ;;
 esac
 
+AC_SEARCH_LIBS([inet_ntop], [resolv], , , [-lsocket -lnsl])
 AC_CHECK_FUNC(inet_ntop, [], [AC_DEFINE(ISC_PLATFORM_NEEDNTOP, 1, [ISC: provide inet_ntop()])])
 AC_CHECK_FUNC(inet_pton, [], [AC_DEFINE(ISC_PLATFORM_NEEDPTON, 1, [ISC: provide inet_pton()])])
 AC_CHECK_FUNCS(K_open kvm_open memcpy memmove memset)
index d91f328b02899285355495216411b446bcf74b5e..55504f8237f07422a7a19a2dbfeb486992ed9881 100644 (file)
@@ -25,7 +25,7 @@ AC_CONFIG_AUX_DIR([.])
 # the date YYYYMMDD optionally with -HHMM if there is more than one
 # bump in a day.
 
-sntp_configure_cache_version=20090503
+sntp_configure_cache_version=20091117
 
 # When the version of config.cache and configure do not
 # match, NTP_CACHEVERSION will flush the cache.
@@ -410,6 +410,7 @@ case "$isc_cv_have_in_port_t" in
        AC_DEFINE(ISC_PLATFORM_NEEDPORTT, 1, [Declare in_port_t?])
 esac
 
+AC_SEARCH_LIBS([inet_ntop], [resolv], , , [-lsocket -lnsl])
 AC_CHECK_FUNC(inet_ntop, [], [AC_DEFINE(ISC_PLATFORM_NEEDNTOP, 1, [ISC: provide inet_ntop()])])
 AC_CHECK_FUNC(inet_pton, [], [AC_DEFINE(ISC_PLATFORM_NEEDPTON, 1, [ISC: provide inet_pton()])])