summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
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"