From f40c403a14a7794fd9afd4692ab467c3ff49a23a Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 23 Feb 2012 11:01:31 +0100 Subject: [PATCH] Bug 729666 - Remove clock_gettime check in js/src/configure.in. r=khuey --- js/src/configure.in | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/js/src/configure.in b/js/src/configure.in index 1f7f48b810c..7a871350b56 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -3427,25 +3427,6 @@ AC_CHECK_FUNCS([fchmod flockfile getc_unlocked _getc_nolock getpagesize \ lchown localtime_r lstat64 memmove random rint sbrk snprintf \ stat64 statvfs statvfs64 strerror strtok_r truncate64]) -dnl check for clock_gettime(), the CLOCK_MONOTONIC clock, and -lrt -_SAVE_LDFLAGS=$LDFLAGS -LDFLAGS="$LDFLAGS -lrt" -AC_CACHE_CHECK(for clock_gettime(CLOCK_MONOTONIC) and -lrt, - ac_cv_have_clock_monotonic, - [AC_TRY_LINK([#include ], - [ struct timespec ts; - clock_gettime(CLOCK_MONOTONIC, &ts); ], - ac_cv_have_clock_monotonic=yes, - ac_cv_have_clock_monotonic=no)]) -LDFLAGS=$_SAVE_LDFLAGS -if test "$ac_cv_have_clock_monotonic" = "yes"; then - HAVE_CLOCK_MONOTONIC=1 - REALTIME_LIBS=-lrt - AC_DEFINE(HAVE_CLOCK_MONOTONIC) - AC_SUBST(HAVE_CLOCK_MONOTONIC) - AC_SUBST(REALTIME_LIBS) -fi - dnl Windows functions, for mingw. AC_TRY_LINK([#include ], [SYSTEMTIME st;FILETIME ft;SystemTimeToFileTime(&st,&ft);],