]> git.pld-linux.org Git - packages/ntp.git/blame - ntp-clock_settime.patch
- release 9
[packages/ntp.git] / ntp-clock_settime.patch
CommitLineData
a7c5e2d8
AM
1--- configure.ac.org 2007-07-04 23:13:54.063029216 +0200
2+++ configure.ac 2007-07-04 23:17:39.853944164 +0200
3@@ -1012,7 +1012,9 @@
4 # this conditional will need to change. Maybe use AC_TRY_RUN
5 # instead to try to set the time to itself and check errno.
6 ;;
7- *) AC_CHECK_FUNCS(clock_gettime clock_settime)
8+ *)
9+ AC_CHECK_LIB(rt, clock_settime, [LIBS="$LIBS -lrt"])
10+ AC_CHECK_FUNCS(clock_gettime clock_settime)
11 ;;
12 esac
13 AC_CHECK_FUNCS(daemon)
This page took 0.058795 seconds and 4 git commands to generate.