From: Harlan Stenn Date: Thu, 16 Sep 2010 05:59:29 +0000 (-0400) Subject: Clean up NTP_LIB_M X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7738a0ec7af16739b462ede3d3ffcae8bb5ce281;p=thirdparty%2Fntp.git Clean up NTP_LIB_M bk: 4c91b241rtCm2eAdOafjnvB0dixk8A --- diff --git a/ChangeLog b/ChangeLog index 581d58cc69..d5842944ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* Cleanup NTP_LIB_M. * [Bug 1628] Clean up -lxnet/-lsocket usage for (open)solaris. (4.2.7p49) 2010/09/13 Released by Harlan Stenn * Documentation updates from Dave Mills. diff --git a/m4/ntp_lib_m.m4 b/m4/ntp_lib_m.m4 index 016b59dcc2..582051a52c 100644 --- a/m4/ntp_lib_m.m4 +++ b/m4/ntp_lib_m.m4 @@ -6,7 +6,9 @@ case "$host" in *-*-darwin*) ;; *) + _libs=$LIBS AC_SEARCH_LIBS(cos, m, LIBM="-lm") + LIBS=$_libs ;; esac AC_SUBST([LIBM])