aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-10-23 16:44:17 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-10-23 16:44:17 +0000
commita3ffa599fe54e0e5396f1617b7bc1c391055a1b7 (patch)
tree8891fa831083c937e489821a4eff7ad185d64c40
parent19163ab3bd1380b8bc597679b41e7f6a2346cf6d (diff)
downloadgdb-a3ffa599fe54e0e5396f1617b7bc1c391055a1b7.zip
gdb-a3ffa599fe54e0e5396f1617b7bc1c391055a1b7.tar.gz
gdb-a3ffa599fe54e0e5396f1617b7bc1c391055a1b7.tar.bz2
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.
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/config.in6
-rwxr-xr-xld/configure4
-rw-r--r--ld/configure.in2
4 files changed, 16 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 6ec820a..b388bce 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2006-10-23 Alan Modra <amodra@bigpond.net.au>
* emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
diff --git a/ld/config.in b/ld/config.in
index 957336a..46fbb98 100644
--- a/ld/config.in
+++ b/ld/config.in
@@ -43,6 +43,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
+/* Define to 1 if you have the <limits.h> header file. */
+#undef HAVE_LIMITS_H
+
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
@@ -75,6 +78,9 @@
*/
#undef HAVE_SYS_NDIR_H
+/* Define to 1 if you have the <sys/param.h> header file. */
+#undef HAVE_SYS_PARAM_H
+
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
diff --git a/ld/configure b/ld/configure
index c74ec5e..3bdc3fc 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 0a5b5b0..1d29cc7 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