diff options
author | Jim Meyering <jim@meyering.net> | 2003-06-09 20:51:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-06-09 20:51:46 +0000 |
commit | 954603b708522891dfa78a92fa7bccda709f53b7 (patch) | |
tree | 4b31071a4b65fe9765e5b4fcb2efeba35d6ffec9 | |
parent | f6b33256904b2f2447653ea8020a4910044947a1 (diff) | |
download | coreutils-954603b708522891dfa78a92fa7bccda709f53b7.tar.xz |
(gl_FUNC_TZSET_CLOBBER): Also define gmtime.
-rw-r--r-- | m4/tzset.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/m4/tzset.m4 b/m4/tzset.m4 index 40feda385..ca93899cd 100644 --- a/m4/tzset.m4 +++ b/m4/tzset.m4 @@ -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, |