diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
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. |
473 | AC_FUNC_FORK | 473 | AC_FUNC_FORK |
474 | AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc]) | 474 | AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc]) |
475 | if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes") && (test "x$DISABLE_RT" != "xyes"); then | 475 | if (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" |