浏览代码

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

Should fix issue #32.
Diego Elio Pettenò 10 年之前
父节点
当前提交
0e6c30f3d0
共有 1 个文件被更改,包括 1 次插入0 次删除
  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])