From: Paul Eggert Date: Thu, 22 Sep 2005 06:59:24 +0000 (+0000) Subject: (_gl_DECL_HEADERS): Don't bother checking for X-Git-Tag: v5.90~145 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5a02b1d90738d25f6015bbc69aa2de8f90663056;p=thirdparty%2Fcoreutils.git (_gl_DECL_HEADERS): Don't bother checking for standard C headers, or for headers we no longer use. --- diff --git a/m4/check-decl.m4 b/m4/check-decl.m4 index 66c5810556..6f776fa97d 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) ])