PATCH: Check limits.h and sys/param.h for ld

H. J. Lu hjl@lucon.org
Mon Oct 23 22:57:00 GMT 2006


http://sourceware.org/ml/binutils/2002-12/msg00396.html

tries to include limits.h and sys/param.h. But they are never tested
so that they are never incldued. I am checking this patch to fix it.


H.J.
----
2006-10-24  H.J. Lu  <hongjiu.lu@intel.com>

	* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
	* configure: Regenerated.
	* config.in: Likewise.

--- ld/configure.in.hdr	2006-07-10 07:30:41.000000000 -0700
+++ ld/configure.in	2006-10-23 09:31:34.000000000 -0700
@@ -100,7 +100,7 @@ AC_SUBST(HOSTING_CRT0)
 AC_SUBST(HOSTING_LIBS)
 AC_SUBST(NATIVE_LIB_DIRS)
 
-AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h elf-hints.h)
+AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h elf-hints.h limits.h sys/param.h)
 AC_CHECK_FUNCS(sbrk realpath glob)
 AC_HEADER_DIRENT
 



More information about the Binutils mailing list