1 --- configure.ac.org 2007-07-04 23:13:54.063029216 +0200
2 +++ configure.ac 2007-07-04 23:17:39.853944164 +0200
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.
7 - *) AC_CHECK_FUNCS(clock_gettime clock_settime)
9 + AC_CHECK_LIB(rt, clock_settime, [LIBS="$LIBS -lrt"])
10 + AC_CHECK_FUNCS(clock_gettime clock_settime)
13 AC_CHECK_FUNCS(daemon)