]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.in: Check for alloca.h (for regex.c and putenv.c).
authorDJ Delorie <dj@redhat.com>
Mon, 26 Nov 2001 20:02:19 +0000 (15:02 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Mon, 26 Nov 2001 20:02:19 +0000 (15:02 -0500)
* configure.in: Check for alloca.h (for regex.c and putenv.c).
* configure: Regenerate.
* config.h: Add HAVE_ALLOCA_H.

From-SVN: r47352

libiberty/ChangeLog
libiberty/config.in
libiberty/configure
libiberty/configure.in

index 7fdce6ab1b572b3b2830015e967fa27332121fda..f986eab983dd0bc5e82bf487bc885a05e8714daa 100644 (file)
@@ -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) ||
index 67042c0f4317053f4a4df4c3bbcfc0205bca9ab0..c1434f1c1dde53cbe1993578acac9e00af571324 100644 (file)
 /* 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
 
index d7bd75c4d5eb21dff25044fafa017d7b622387ff..8800349cd66b4915f73cec89547b6a3bb3706368 100755 (executable)
@@ -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
index 7fc4856e6068a2c9e2fde3ab9feee506a78fc44d..d34f8369bf4926a78501034837a7497df2832a8c 100644 (file)
@@ -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