From a3ffa599fe54e0e5396f1617b7bc1c391055a1b7 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 23 Oct 2006 16:44:17 +0000 Subject: [PATCH] 2006-10-24 H.J. Lu * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h. * configure: Regenerated. * config.in: Likewise. --- ld/ChangeLog | 6 ++++++ ld/config.in | 6 ++++++ ld/configure | 4 +++- ld/configure.in | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 6ec820a4a81..b388bcee469 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2006-10-24 H.J. Lu + + * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h. + * configure: Regenerated. + * config.in: Likewise. + 2006-10-23 Alan Modra * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't diff --git a/ld/config.in b/ld/config.in index 957336a717f..46fbb98c4df 100644 --- a/ld/config.in +++ b/ld/config.in @@ -43,6 +43,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H +/* Define to 1 if you have the header file. */ +#undef HAVE_LIMITS_H + /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H @@ -75,6 +78,9 @@ */ #undef HAVE_SYS_NDIR_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PARAM_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H diff --git a/ld/configure b/ld/configure index c74ec5e5186..3bdc3fc03a1 100755 --- a/ld/configure +++ b/ld/configure @@ -6332,7 +6332,9 @@ done -for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h + + +for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h sys/param.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then diff --git a/ld/configure.in b/ld/configure.in index 0a5b5b0b030..1d29cc71ac5 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -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 -- 2.30.2