configure.ac: Don't check for clock_gettime on OS X

We don't need it anymore. jin-eld pls do not kill
This commit is contained in:
stal 2014-05-19 14:43:36 -07:00
parent fc19327dcc
commit 8e5e89b871

View File

@ -221,6 +221,7 @@ AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
WIN32=no
MACH=no
AC_CANONICAL_HOST
case $host_os in
*mingw*)
@ -236,6 +237,9 @@ case $host_os in
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
ADD_NACL_OBJECTS_TO_PKGCONFIG="no"
;;
darwin*)
MACH=yes
;;
esac
AM_CONDITIONAL(WIN32, test "x$WIN32" = "xyes")
@ -388,7 +392,7 @@ AC_C_BIGENDIAN
# Checks for library functions.
AC_FUNC_FORK
AC_CHECK_FUNCS([gettimeofday memset socket strchr malloc])
if test "x$WIN32" != "xyes"; then
if (test "x$WIN32" != "xyes") && (test "x$MACH" != "xyes"); then
AC_CHECK_LIB(rt, clock_gettime,
[
RT_LIBS="-lrt"