ceilf-ieee: Work around bug on MacOS X 10.5.
[pspp] / m4 / gettime.m4
index 84804ab06eae2d1033840b824a244af5083fec41..f2122dccd99324b4f20724bb242e499f96fb44ad 100644 (file)
@@ -1,5 +1,5 @@
-# gettime.m4 serial 3
-dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# gettime.m4 serial 8
+dnl Copyright (C) 2002, 2004-2006, 2009-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -9,5 +9,5 @@ AC_DEFUN([gl_GETTIME],
   dnl Prerequisites of lib/gettime.c.
   AC_REQUIRE([gl_CLOCK_TIME])
   AC_REQUIRE([gl_TIMESPEC])
-  AC_CHECK_FUNCS_ONCE(gettimeofday)
+  AC_CHECK_FUNCS_ONCE([gettimeofday nanotime])
 ])