]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(AC_FUNC_GETTIMEOFDAY_CLOBBER): Also define gmtime.
authorJim Meyering <jim@meyering.net>
Mon, 9 Jun 2003 20:52:15 +0000 (20:52 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 9 Jun 2003 20:52:15 +0000 (20:52 +0000)
m4/gettimeofday.m4

index 19ed0bfa6bdc8dd1dc0692855bdb2d0ac1d719ac..2ac2992576643b0b0f367a345bc6d8c7a1db6d77 100644 (file)
@@ -58,9 +58,14 @@ main ()
         jm_cv_func_gettimeofday_clobber=yes)
   ])
   if test $jm_cv_func_gettimeofday_clobber = yes; then
+    # Caution: the following few lines should be the same
+    # as those in gettimeofday.m4.
     AC_LIBOBJ(gettimeofday)
+    AC_DEFINE(gmtime, rpl_gmtime,
+      [Define to rpl_gmtime if the replacement function should be used.])
     AC_DEFINE(localtime, rpl_localtime,
       [Define to rpl_localtime if the replacement function should be used.])
+
     AC_DEFINE(gettimeofday, rpl_gettimeofday,
       [Define to rpl_gettimeofday if the replacement function should be used.])
     AC_DEFINE(GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, 1,