From: Glenn Morris Date: Wed, 12 Sep 2007 07:03:30 +0000 (+0000) Subject: (AC_FUNC_ALLOCA): Throw an error if a system implementation of alloca X-Git-Tag: emacs-pretest-23.0.90~10961 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4756ee429c7e52444f1d8ae4629db9327411e048;p=emacs.git (AC_FUNC_ALLOCA): Throw an error if a system implementation of alloca is not found. --- diff --git a/configure.in b/configure.in index c873a290020..306f8441973 100644 --- a/configure.in +++ b/configure.in @@ -2692,6 +2692,13 @@ fi AC_FUNC_ALLOCA +dnl src/alloca.c has been removed. Could also check if $ALLOCA is set? +dnl FIXME is there an autoconf test that does the right thing, without +dnl needing to call A_M_E afterwards? +if test x"$ac_cv_func_alloca_works" != xyes; then + AC_MSG_ERROR( [a system implementation of alloca is required] ) +fi + # fmod, logb, and frexp are found in -lm on most systems. # On HPUX 9.01, -lm does not contain logb, so check for sqrt. AC_CHECK_LIB(m, sqrt)