diff options
author | Jim Meyering <jim@meyering.net> | 1998-10-12 02:55:17 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-10-12 02:55:17 +0000 |
commit | 852a30165bae46f0cbf049b593cbe040b6691ba2 (patch) | |
tree | 5513bea07cb6ab2b5682d4674530c5c6e65b73e6 | |
parent | e4d0cf679c1a2390fe94b622fe588de5e4fae7ae (diff) | |
download | coreutils-852a30165bae46f0cbf049b593cbe040b6691ba2.tar.xz |
(jm_AM_FUNC_MKTIME): New file and macro.
-rw-r--r-- | m4/mktime.m4 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/m4/mktime.m4 b/m4/mktime.m4 index 5314c6350..841e3702e 100644 --- a/m4/mktime.m4 +++ b/m4/mktime.m4 @@ -1,13 +1,13 @@ #serial 1000 dnl Just like mktime.m4 from automake-1.3b, but with an additional test. +dnl Renamed to have jm_ prefix and to use jm_ prefix on cache variable names. -undefine([AM_FUNC_MKTIME]) -AC_DEFUN(AM_FUNC_MKTIME, +AC_DEFUN(jm_AM_FUNC_MKTIME, [AC_REQUIRE([AC_HEADER_TIME])dnl AC_CHECK_HEADERS(sys/time.h unistd.h) AC_CHECK_FUNCS(alarm) - AC_CACHE_CHECK([for working mktime], am_cv_func_working_mktime, + AC_CACHE_CHECK([for working mktime], jm_am_cv_func_working_mktime, [AC_TRY_RUN( changequote(<<, >>)dnl <</* Test program from Paul Eggert (eggert@twinsun.com) @@ -151,11 +151,11 @@ main () } >>, changequote([, ])dnl - am_cv_func_working_mktime=yes, am_cv_func_working_mktime=no, + jm_am_cv_func_working_mktime=yes, jm_am_cv_func_working_mktime=no, dnl When crosscompiling, assume mktime is missing or broken. - am_cv_func_working_mktime=no) + jm_am_cv_func_working_mktime=no) ]) - if test $am_cv_func_working_mktime = no; then + if test $jm_am_cv_func_working_mktime = no; then LIBOBJS="$LIBOBJS mktime.o" fi ]) |