aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-11-26 21:23:10 +0000
committerDJ Delorie <dj@redhat.com>2001-11-26 21:23:10 +0000
commit5527febf4dc822e429e6316768a77dd63e5c7213 (patch)
treeae3e386bfc78ff44a5511c2c5a2c67533dee9caf
parent96565e91664ace6882ba021d49dc1efe189d3396 (diff)
downloadfsf-binutils-gdb-5527febf4dc822e429e6316768a77dd63e5c7213.zip
fsf-binutils-gdb-5527febf4dc822e429e6316768a77dd63e5c7213.tar.gz
fsf-binutils-gdb-5527febf4dc822e429e6316768a77dd63e5c7213.tar.bz2
merge from gcc
-rw-r--r--libiberty/ChangeLog8
-rw-r--r--libiberty/config.in3
-rwxr-xr-xlibiberty/configure2
-rw-r--r--libiberty/configure.in2
4 files changed, 12 insertions, 3 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 7fdce6a..40f73b6 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,9 @@
+2001-11-26 DJ Delorie <dj@redhat.com>
+
+ * configure.in: Check for alloca.h (for regex.c and putenv.c).
+ * configure: Regenerate.
+ * config.h: Add HAVE_ALLOCA_H.
+
2001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
@@ -45,7 +51,7 @@ Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
* argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
- mkstemps.c, pexecute.c, random.c, strsitnal.c, vasprintf.c:
+ mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
Improve manual formatting.
* functions.texi: Regenerate.
diff --git a/libiberty/config.in b/libiberty/config.in
index 67042c0..c1434f1 100644
--- a/libiberty/config.in
+++ b/libiberty/config.in
@@ -183,6 +183,9 @@
/* Define if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
+/* Define if you have the <alloca.h> header file. */
+#undef HAVE_ALLOCA_H
+
/* Define if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
diff --git a/libiberty/configure b/libiberty/configure
index d7bd75c..8800349 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -1275,7 +1275,7 @@ else
fi
echo "$ac_t""$CPP" 1>&6
-for ac_hdr in sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h
+for ac_hdr in sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
diff --git a/libiberty/configure.in b/libiberty/configure.in
index 7fc4856..d34f836 100644
--- a/libiberty/configure.in
+++ b/libiberty/configure.in
@@ -120,7 +120,7 @@ AC_SUBST_FILE(host_makefile_frag)
# It's OK to check for header files. Although the compiler may not be
# able to link anything, it had better be able to at least compile
# something.
-AC_CHECK_HEADERS(sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h)
+AC_CHECK_HEADERS(sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h)
AC_HEADER_SYS_WAIT
AC_HEADER_TIME