summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-09-22 06:59:24 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-09-22 06:59:24 +0000
commit5a02b1d90738d25f6015bbc69aa2de8f90663056 (patch)
tree5e4f74fe2405143f44194f4fdc76c62c60ad6263 /m4
parentcab86383b85b623487aa7950866613979763fd2f (diff)
downloadcoreutils-5a02b1d90738d25f6015bbc69aa2de8f90663056.tar.xz
(_gl_DECL_HEADERS): Don't bother checking for
standard C headers, or for headers we no longer use.
Diffstat (limited to 'm4')
-rw-r--r--m4/check-decl.m46
1 files changed, 2 insertions, 4 deletions
diff --git a/m4/check-decl.m4 b/m4/check-decl.m4
index 66c581055..6f776fa97 100644
--- a/m4/check-decl.m4
+++ b/m4/check-decl.m4
@@ -1,4 +1,4 @@
-#serial 21
+#serial 22
dnl This is just a wrapper function to encapsulate this kludge.
dnl Putting it in a separate file like this helps share it between
@@ -67,7 +67,5 @@ dnl FIXME: when autoconf has support for it.
dnl This is a little helper so we can require these header checks.
AC_DEFUN([_gl_DECL_HEADERS],
[
- AC_REQUIRE([AC_HEADER_STDC])
- AC_CHECK_HEADERS(grp.h memory.h pwd.h string.h strings.h stdlib.h \
- unistd.h sys/time.h utmp.h utmpx.h)
+ AC_CHECK_HEADERS_ONCE(grp.h pwd.h sys/time.h utmp.h)
])