SOURCES: ntp-clock_settime.patch (NEW) - find out clock_settime() ...
arekm
arekm at pld-linux.org
Wed Jul 4 23:20:55 CEST 2007
Author: arekm Date: Wed Jul 4 21:20:55 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- find out clock_settime() in rt
---- Files affected:
SOURCES:
ntp-clock_settime.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/ntp-clock_settime.patch
diff -u /dev/null SOURCES/ntp-clock_settime.patch:1.1
--- /dev/null Wed Jul 4 23:20:55 2007
+++ SOURCES/ntp-clock_settime.patch Wed Jul 4 23:20:50 2007
@@ -0,0 +1,13 @@
+--- configure.ac.org 2007-07-04 23:13:54.063029216 +0200
++++ configure.ac 2007-07-04 23:17:39.853944164 +0200
+@@ -1012,7 +1012,9 @@
+ # this conditional will need to change. Maybe use AC_TRY_RUN
+ # instead to try to set the time to itself and check errno.
+ ;;
+- *) AC_CHECK_FUNCS(clock_gettime clock_settime)
++ *)
++ AC_CHECK_LIB(rt, clock_settime, [LIBS="$LIBS -lrt"])
++ AC_CHECK_FUNCS(clock_gettime clock_settime)
+ ;;
+ esac
+ AC_CHECK_FUNCS(daemon)
================================================================
More information about the pld-cvs-commit
mailing list