summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-03-01 23:26:10 +0000
committerJim Meyering <jim@meyering.net>2002-03-01 23:26:10 +0000
commit8f5e4ea2447fa54fe0c1e0b35c530f2b2f7b5ed8 (patch)
tree1dd6bc76c7fef31ceed34a85ad27391bbe7f11fa /m4
parent06b02f10be3838cdb89816cb6e576f0c5d433e95 (diff)
downloadcoreutils-8f5e4ea2447fa54fe0c1e0b35c530f2b2f7b5ed8.tar.xz
(jm_MACROS): Do not replace stime; no longer used.
Check for clock_settime.
Diffstat (limited to 'm4')
-rw-r--r--m4/jm-macros.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 3368d1ea7..3c1b9a0a2 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -76,7 +76,7 @@ AC_DEFUN([jm_MACROS],
AC_REPLACE_FUNCS(strcasecmp strncasecmp)
AC_REPLACE_FUNCS(dup2)
AC_REPLACE_FUNCS(gethostname getusershell)
- AC_REPLACE_FUNCS(stime strcspn stpcpy strstr strtol strtoul)
+ AC_REPLACE_FUNCS(strcspn stpcpy strstr strtol strtoul)
AC_REPLACE_FUNCS(strpbrk)
AC_REPLACE_FUNCS(euidaccess memcmp rmdir rpmatch strndup strverscmp)
AC_REPLACE_FUNCS(atexit)
@@ -113,7 +113,7 @@ AC_DEFUN([jm_MACROS],
AC_SEARCH_LIBS(clock_gettime, [rt posix4],
[LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime])
AC_SUBST(LIB_CLOCK_GETTIME)
- AC_CHECK_FUNCS(clock_gettime)
+ AC_CHECK_FUNCS(clock_gettime clock_settime)
LIBS=$fetish_saved_libs
AC_CHECK_FUNCS(gettimeofday)
AC_FUNC_GETTIMEOFDAY_CLOBBER