[AC_MSG_ERROR([libGL is required])])
AC_SEARCH_LIBS([clock_gettime], [rt],
- [AC_DEFINE([HAVE_LIBRT], 1,
- [Define to 1 if you have the 'rt' library.])])
+ [AC_DEFINE([HAVE_CLOCK_GETTIME], 1,
+ [Define to 1 if you have the 'clock_gettime' function.])])
#
AC_FUNC_ERROR_AT_LINE
AC_FUNC_STRTOD
-AC_CHECK_FUNCS([strchr strcspn strrchr strstr])
+AC_CHECK_FUNCS([nanosleep strchr strcspn strrchr strstr])
#