mirror of https://gitee.com/bigwinds/arangodb
fix typo.
This commit is contained in:
parent
aa5ba7db20
commit
14baf7b3d6
|
@ -17,6 +17,7 @@ AC_DEFUN([AC_CLOCK],
|
||||||
if test "$have_clock_gettime" = "no"; then
|
if test "$have_clock_gettime" = "no"; then
|
||||||
AC_MSG_CHECKING([for clock_gettime in -lrt])
|
AC_MSG_CHECKING([for clock_gettime in -lrt])
|
||||||
|
|
||||||
|
SAVED_LIBS=$LIBS
|
||||||
LIBS="$LIBS -lrt"
|
LIBS="$LIBS -lrt"
|
||||||
|
|
||||||
AC_TRY_LINK([ #include <time.h> ], [struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts);], [
|
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
|
if test "$have_clock_get_time" = "yes"; then
|
||||||
AC_DEFINE([HAVE_CLOCK_GET_TIME], 1, [do we have clock_get_time?])
|
AC_DEFINE([HAVE_CLOCK_GET_TIME], 1, [do we have clock_get_time?])
|
||||||
fi
|
fi
|
||||||
RT_LIBS=LIBS
|
RT_LIBS=$LIBS
|
||||||
AC_SUBST(RT_LIBS)
|
AC_SUBST(RT_LIBS)
|
||||||
|
SAVED_LIBS=$LIBS
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl Local Variables:
|
dnl Local Variables:
|
||||||
|
|
Loading…
Reference in New Issue