From 5a02b1d90738d25f6015bbc69aa2de8f90663056 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 22 Sep 2005 06:59:24 +0000 Subject: (_gl_DECL_HEADERS): Don't bother checking for standard C headers, or for headers we no longer use. --- m4/check-decl.m4 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'm4') 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) ]) -- cgit v1.2.3-70-g09d2