diff options
author | mannol <eniz_vukovic@hotmail.com> | 2014-05-20 00:10:40 +0200 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2014-05-20 00:10:40 +0200 |
commit | a1f2a18ae4146ebea11fbd3f83df803b715813da (patch) | |
tree | 63b29cf3770a65e94e3e5d0fcd53b33f2a654585 /configure.ac | |
parent | ea96c1758ae42c59978c450f9e11496a55d49ee5 (diff) |
Merge upstream and other stuff
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8650e197..7456617a 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -427,6 +427,17 @@ AC_C_BIGENDIAN | |||
427 | # Checks for library functions. | 427 | # Checks for library functions. |
428 | AC_FUNC_FORK | 428 | AC_FUNC_FORK |
429 | AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc]) | 429 | AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc]) |
430 | if test "x$WIN32" != "xyes"; then | ||
431 | AC_CHECK_LIB(rt, clock_gettime, | ||
432 | [ | ||
433 | RT_LIBS="-lrt" | ||
434 | AC_SUBST(RT_LIBS) | ||
435 | ], | ||
436 | [ | ||
437 | AC_MSG_ERROR([required library rt was not found on your system]) | ||
438 | ] | ||
439 | ) | ||
440 | fi | ||
430 | 441 | ||
431 | if test "x$BUILD_AV" = "xyes"; then | 442 | if test "x$BUILD_AV" = "xyes"; then |
432 | AX_PTHREAD( | 443 | AX_PTHREAD( |