summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/ChangeLog4
-rw-r--r--m4/alloca.m44
2 files changed, 8 insertions, 0 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 927ab9d6ee..211f0f5889 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-11 Bruno Haible <bruno@clisp.org>
+
+ * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
+
2003-01-12 Paul Eggert <eggert@twinsun.com>
Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
diff --git a/m4/alloca.m4 b/m4/alloca.m4
index 6dc0760fa8..3a4ee7ed49 100644
--- a/m4/alloca.m4
+++ b/m4/alloca.m4
@@ -8,6 +8,10 @@ dnl the same distribution terms as the rest of that program.
AC_DEFUN([gl_FUNC_ALLOCA],
[
+ dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57.
+ AC_REQUIRE([AC_PROG_CPP])
+ AC_REQUIRE([AC_PROG_EGREP])
+
AC_REQUIRE([AC_FUNC_ALLOCA])
if test $ac_cv_func_alloca_works = no; then
gl_PREREQ_ALLOCA