Explorar o código

build: check for clock_gettime presence in librt for old glibc versions.

Should fix issue #32.
Diego Elio Pettenò %!s(int64=10) %!d(string=hai) anos
pai
achega
0e6c30f3d0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      configure.ac

+ 1 - 0
configure.ac

@@ -87,6 +87,7 @@ AS_IF([test x"$HAVE_TASN1_3PLUS" = x"yes"], [
 AC_SEARCH_LIBS([strlcpy], [bsd], [
   AC_DEFINE([HAVE_LIBBSD], [1], [Does this system have libbsd strl*** functions implementation])
 ])
+AC_SEARCH_LIBS([clock_gettime], [rt])
 AC_REPLACE_FUNCS([strlcpy])
 AC_REPLACE_FUNCS([clock_gettime])