diff options
author | mannol <eniz_vukovic@hotmail.com> | 2014-05-22 00:08:19 +0200 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2014-05-22 00:08:19 +0200 |
commit | 9db41e7582baf15d650376e8afc38dd6146492a8 (patch) | |
tree | 38c5d6b6066a1c3aba43d21ba78740ceb6b22323 /configure.ac | |
parent | 0620d1f0643d0f8a6a7d9361615b164242559768 (diff) | |
parent | be4559de73c17bcfa396098d6cc48b7a4b1157c6 (diff) |
Merge remote-tracking branch 'upstream/master' into Multicalls-patch
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 7456617a..adcc44be 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -260,6 +260,7 @@ AC_LIBTOOL_WIN32_DLL | |||
260 | AC_PROG_LIBTOOL | 260 | AC_PROG_LIBTOOL |
261 | 261 | ||
262 | WIN32=no | 262 | WIN32=no |
263 | MACH=no | ||
263 | AC_CANONICAL_HOST | 264 | AC_CANONICAL_HOST |
264 | case $host_os in | 265 | case $host_os in |
265 | *mingw*) | 266 | *mingw*) |
@@ -275,6 +276,9 @@ case $host_os in | |||
275 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 276 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
276 | ADD_NACL_OBJECTS_TO_PKGCONFIG="no" | 277 | ADD_NACL_OBJECTS_TO_PKGCONFIG="no" |
277 | ;; | 278 | ;; |
279 | darwin*) | ||
280 | MACH=yes | ||
281 | ;; | ||
278 | esac | 282 | esac |
279 | AM_CONDITIONAL(WIN32, test "x$WIN32" = "xyes") | 283 | AM_CONDITIONAL(WIN32, test "x$WIN32" = "xyes") |
280 | 284 | ||
@@ -427,7 +431,7 @@ AC_C_BIGENDIAN | |||
427 | # Checks for library functions. | 431 | # Checks for library functions. |
428 | AC_FUNC_FORK | 432 | AC_FUNC_FORK |
429 | AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc]) | 433 | AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc]) |
430 | if test "x$WIN32" != "xyes"; then | 434 | if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes"); then |
431 | AC_CHECK_LIB(rt, clock_gettime, | 435 | AC_CHECK_LIB(rt, clock_gettime, |
432 | [ | 436 | [ |
433 | RT_LIBS="-lrt" | 437 | RT_LIBS="-lrt" |