1
0
Fork 0

fix typo.

This commit is contained in:
Willi Goesgens 2014-12-16 19:37:56 +01:00
parent aa5ba7db20
commit 14baf7b3d6
1 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,7 @@ AC_DEFUN([AC_CLOCK],
if test "$have_clock_gettime" = "no"; then
AC_MSG_CHECKING([for clock_gettime in -lrt])
SAVED_LIBS=$LIBS
LIBS="$LIBS -lrt"
AC_TRY_LINK([ #include <time.h> ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [
@ -68,8 +69,9 @@ AC_DEFUN([AC_CLOCK],
if test "$have_clock_get_time" = "yes"; then
AC_DEFINE([HAVE_CLOCK_GET_TIME], 1, [do we have clock_get_time?])
fi
RT_LIBS=LIBS
RT_LIBS=$LIBS
AC_SUBST(RT_LIBS)
SAVED_LIBS=$LIBS
])
dnl Local Variables: