Fix clock_gettime autotools detection on Linux

This commit is contained in:
Robb Kistler 2016-02-08 13:45:34 -08:00
parent ac99df5c09
commit f4aac111a4

View File

@ -229,6 +229,7 @@ dnl malloc_trim function
AC_CHECK_FUNCS([malloc_trim]) AC_CHECK_FUNCS([malloc_trim])
dnl clock_gettime function(osx) dnl clock_gettime function(osx)
AC_SEARCH_LIBS([clock_gettime],[rt posix4])
AC_CHECK_FUNCS([clock_gettime]) AC_CHECK_FUNCS([clock_gettime])
dnl ---------------------------------------------- dnl ----------------------------------------------