diff options
author | Jim Meyering <jim@meyering.net> | 2003-06-09 20:57:03 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-06-09 20:57:03 +0000 |
commit | 3ceea0946b97629ecd30a5080e6ca770207fb80f (patch) | |
tree | 1dfbb8803d0e59431f0ec527e978f803437793b9 | |
parent | edbfa74a8ae9033f24cb0f65de0b020031b08c1f (diff) | |
download | coreutils-3ceea0946b97629ecd30a5080e6ca770207fb80f.tar.xz |
.
-rw-r--r-- | aclocal.m4 | 10 | ||||
-rw-r--r-- | config.hin | 3 |
2 files changed, 13 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, diff --git a/config.hin b/config.hin index f1d1a0234..0216710a4 100644 --- a/config.hin +++ b/config.hin @@ -1372,6 +1372,9 @@ /* Define to `int' if <sys/types.h> doesn't define. */ #undef gid_t +/* Define to rpl_gmtime if the replacement function should be used. */ +#undef gmtime + /* Define as `__inline' if that's what the C compiler calls it, or to nothing if it is not supported. */ #undef inline |