configure: add freebsd library for clock_gettime

This commit is contained in:
Danny Robson 2016-05-12 18:16:54 +10:00
parent 87211eb45c
commit afa60e9d1f

View File

@ -75,7 +75,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM(
])
AC_SEARCH_LIBS([clock_gettime], [rt], [], [
AC_SEARCH_LIBS([clock_gettime], [rt c], [], [
# windows doesn't have clock_gettime
AS_IF([test "x${host_os}" != "xmingw32"], [
AC_MSG_ERROR([unable to find the clock library])