summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-05 23:09:29 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-05 23:09:29 +0000
commit43d5c5b6c3f4a2057706b0c1687e0d265a8da54d (patch)
treef9323ca255e6c71f1caffcf5ff9ad7ed2a1d2d9d /m4
parentd86254a25acd878c97af400f8ad1309ac6e307b3 (diff)
downloadcoreutils-43d5c5b6c3f4a2057706b0c1687e0d265a8da54d.tar.xz
New file, imported from gnulib.
Diffstat (limited to 'm4')
-rw-r--r--m4/gettime.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/m4/gettime.m4 b/m4/gettime.m4
new file mode 100644
index 000000000..37b9098e8
--- /dev/null
+++ b/m4/gettime.m4
@@ -0,0 +1,15 @@
+# gettime.m4 serial 2
+dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+dnl This file is free software, distributed under the terms of the GNU
+dnl General Public License. As a special exception to the GNU General
+dnl Public License, this file may be distributed as part of a program
+dnl that contains a configuration script generated by Autoconf, under
+dnl the same distribution terms as the rest of that program.
+
+AC_DEFUN([gl_GETTIME],
+[
+ dnl Prerequisites of lib/gettime.c.
+ AC_REQUIRE([gl_CLOCK_TIME])
+ AC_REQUIRE([gl_TIMESPEC])
+ AC_CHECK_FUNCS_ONCE(gettimeofday)
+])