|
@@ -88,6 +88,9 @@ AC_SEARCH_LIBS([strlcpy], [bsd], [
|
|
|
AC_DEFINE([HAVE_LIBBSD], [1], [Does this system have libbsd strl*** functions implementation])
|
|
|
])
|
|
|
AC_SEARCH_LIBS([clock_gettime], [rt pthread])
|
|
|
+AC_CHECK_TYPES([clockid_t],,,[
|
|
|
+ #include <time.h>
|
|
|
+ #include <pthread.h>])
|
|
|
AC_REPLACE_FUNCS([strlcpy])
|
|
|
AC_REPLACE_FUNCS([strndup])
|
|
|
AC_REPLACE_FUNCS([clock_gettime])
|