[ntp:bk-ntp-dev-send] BitKeeper diffs

stenn at whimsy.udel.edu stenn at whimsy.udel.edu
Fri Jul 5 01:45:34 UTC 2013


#### ChangeSet ####
2013-07-04 21:45:09-04:00, stenn at deacon.udel.edu
  Have NTP_LIBNTP check for time.h and clock_getres()

==== ChangeLog ====
2013-07-04 21:44:57-04:00, stenn at deacon.udel.edu +1 -0
  Have NTP_LIBNTP check for time.h and clock_getres()

--- 1.1297/ChangeLog	2013-07-04 20:48:38 -04:00
+++ 1.1298/ChangeLog	2013-07-04 21:44:57 -04:00
@@ -1,3 +1,4 @@
+* Have NTP_LIBNTP check for time.h and clock_getres().
 * Fix ntpsweep to use sntp instead of ntpdate, from Oliver Kindernay.
 (4.2.7p368) 2013/05/01 Released by Harlan Stenn <stenn at ntp.org>
 * [Bug 2145] ntpq dumps core when displaying sys_var_list and more.

==== sntp/m4/ntp_libntp.m4 ====
2013-07-04 21:44:58-04:00, stenn at deacon.udel.edu +2 -2
  Have NTP_LIBNTP check for time.h and clock_getres()

--- 1.17/sntp/m4/ntp_libntp.m4	2012-06-03 03:18:46 -04:00
+++ 1.18/sntp/m4/ntp_libntp.m4	2013-07-04 21:44:58 -04:00
@@ -64,7 +64,7 @@ case "$host" in
     ;;
  *)
     AC_SEARCH_LIBS([clock_gettime], [rt])
-    AC_CHECK_FUNCS([clock_gettime clock_settime])
+    AC_CHECK_FUNCS([clock_getres clock_gettime clock_settime])
     ;;
 esac
 
@@ -81,7 +81,7 @@ dnl  net/if.h.  If that fails, try addin
 dnl  mpinfou, and if that helps add it to confdefs.h (used for further
 dnl  configure tests) and config.h.
 #
-AC_CHECK_HEADERS([errno.h sys/socket.h sys/types.h])
+AC_CHECK_HEADERS([errno.h sys/socket.h sys/types.h time.h])
 AC_CHECK_HEADERS([net/if.h], [], [], [
     #ifdef HAVE_SYS_SOCKET_H
     # include <sys/socket.h>


More information about the bk-ntp-dev-send mailing list