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

index 40feda38570f637c537b0ec923d366867d870476..ca93899cd51e7030a909895869c3b38025729886 100644 (file)
@@ -52,9 +52,14 @@ main ()
     [Define to 1 if you have run the test for working tzset.])
 
   if test $gl_cv_func_tzset_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(tzset, rpl_tzset,
       [Define to rpl_tzset if the wrapper function should be used.])
     AC_DEFINE(TZSET_CLOBBERS_LOCALTIME_BUFFER, 1,