summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-09 20:57:03 +0000
committerJim Meyering <jim@meyering.net>2003-06-09 20:57:03 +0000
commit3ceea0946b97629ecd30a5080e6ca770207fb80f (patch)
tree1dfbb8803d0e59431f0ec527e978f803437793b9 /aclocal.m4
parentedbfa74a8ae9033f24cb0f65de0b020031b08c1f (diff)
downloadcoreutils-3ceea0946b97629ecd30a5080e6ca770207fb80f.tar.xz
.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 5bf1db289..68cc725b1 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -3561,9 +3561,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,
@@ -3913,9 +3918,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,