summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCarlin <cb@viennan.net>2015-04-09 03:57:07 +1200
committerCarlin <cb@viennan.net>2015-04-09 03:57:07 +1200
commit7db063e93d45ea8f12cf79b477a88c89dd3af89b (patch)
tree5c1de9aaa018f2487af677240bb68530f2a34a84 /configure.ac
parent083bfdd25a19f157da69eb23a9eb3e3b8570ea35 (diff)
do not check for librt on OpenBSD
clock_gettime is in OpenBSD's libc
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e43e8f78..a100f344 100644
--- a/configure.ac
+++ b/configure.ac
@@ -472,7 +472,7 @@ AC_C_BIGENDIAN
472# Checks for library functions. 472# Checks for library functions.
473AC_FUNC_FORK 473AC_FUNC_FORK
474AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc]) 474AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc])
475if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes") && (test "x$DISABLE_RT" != "xyes"); then 475if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes") && (test "x${host_os#*openbsd}" == "x$host_os") && (test "x$DISABLE_RT" != "xyes"); then
476 AC_CHECK_LIB(rt, clock_gettime, 476 AC_CHECK_LIB(rt, clock_gettime,
477 [ 477 [
478 RT_LIBS="-lrt" 478 RT_LIBS="-lrt"