From c8fff8630133fea7c4e279458d10d825e5028c62 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 22 Jun 2012 14:26:37 -0700 Subject: Add gnulib files to support higher-resolution time stamps. Fixes: debbugs:9000 --- m4/gettime.m4 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 m4/gettime.m4 (limited to 'm4/gettime.m4') diff --git a/m4/gettime.m4 b/m4/gettime.m4 new file mode 100644 index 00000000000..7d03d1253bf --- /dev/null +++ b/m4/gettime.m4 @@ -0,0 +1,13 @@ +# gettime.m4 serial 8 +dnl Copyright (C) 2002, 2004-2006, 2009-2012 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. + +AC_DEFUN([gl_GETTIME], +[ + dnl Prerequisites of lib/gettime.c. + AC_REQUIRE([gl_CLOCK_TIME]) + AC_REQUIRE([gl_TIMESPEC]) + AC_CHECK_FUNCS_ONCE([gettimeofday nanotime]) +]) -- cgit v1.2.3