Mercurial > emacs
changeset 84483:f3adb4c87fad
(AC_FUNC_ALLOCA): Throw an error if a system implementation of alloca
is not found.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 12 Sep 2007 07:03:30 +0000 |
parents | d8f0cc77c822 |
children | 53afd3fbf8e5 |
files | configure.in |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Wed Sep 12 07:03:18 2007 +0000 +++ b/configure.in Wed Sep 12 07:03:30 2007 +0000 @@ -2692,6 +2692,13 @@ 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)