erroneous commas inside @var
[gnulib.git] / m4 / settime.m4
index 208b9d0..283bec6 100644 (file)
@@ -1,13 +1,15 @@
-# settime.m4 serial 3
-dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+# settime.m4 serial 6
+dnl Copyright (C) 2002, 2004-2006, 2009-2010 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_SETTIME],
 [
+  AC_LIBOBJ([settime])
+
   dnl Prerequisites of lib/settime.c.
   AC_REQUIRE([gl_CLOCK_TIME])
   AC_REQUIRE([gl_TIMESPEC])
-  AC_CHECK_FUNCS_ONCE(settimeofday stime)
+  AC_CHECK_FUNCS_ONCE([settimeofday stime])
 ])