default clock_gettime use to enabled as there is now proper fallback code for systems that don't have it.
This commit is contained in:
parent
2c6d6e45d9
commit
907ac2687c
2 changed files with 4 additions and 4 deletions
|
@ -2179,8 +2179,8 @@ dnl Check for clock_gettime()
|
|||
CheckClockGettime()
|
||||
{
|
||||
AC_ARG_ENABLE(clock_gettime,
|
||||
AC_HELP_STRING([--enable-clock_gettime], [use clock_gettime() instead of gettimeofday() on UNIX [[default=no]]]),
|
||||
, enable_clock_gettime=no)
|
||||
AC_HELP_STRING([--enable-clock_gettime], [use clock_gettime() instead of gettimeofday() on UNIX [[default=yes]]]),
|
||||
, enable_clock_gettime=yes)
|
||||
if test x$enable_clock_gettime = xyes; then
|
||||
AC_CHECK_LIB(rt, clock_gettime, have_clock_gettime=yes)
|
||||
if test x$have_clock_gettime = xyes; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue