aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-09-12 07:03:30 +0000
committerGlenn Morris2007-09-12 07:03:30 +0000
commit4756ee429c7e52444f1d8ae4629db9327411e048 (patch)
tree2968f6f255f8ca61cb9c395d8ddb9aaedade574d
parent5a6a83f216e499e598bc95d2ae6b820ae004ea6c (diff)
downloademacs-4756ee429c7e52444f1d8ae4629db9327411e048.tar.gz
emacs-4756ee429c7e52444f1d8ae4629db9327411e048.zip
(AC_FUNC_ALLOCA): Throw an error if a system implementation of alloca
is not found.
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index c873a290020..306f8441973 100644
--- a/configure.in
+++ b/configure.in
@@ -2692,6 +2692,13 @@ fi
2692 2692
2693AC_FUNC_ALLOCA 2693AC_FUNC_ALLOCA
2694 2694
2695dnl src/alloca.c has been removed. Could also check if $ALLOCA is set?
2696dnl FIXME is there an autoconf test that does the right thing, without
2697dnl needing to call A_M_E afterwards?
2698if test x"$ac_cv_func_alloca_works" != xyes; then
2699 AC_MSG_ERROR( [a system implementation of alloca is required] )
2700fi
2701
2695# fmod, logb, and frexp are found in -lm on most systems. 2702# fmod, logb, and frexp are found in -lm on most systems.
2696# On HPUX 9.01, -lm does not contain logb, so check for sqrt. 2703# On HPUX 9.01, -lm does not contain logb, so check for sqrt.
2697AC_CHECK_LIB(m, sqrt) 2704AC_CHECK_LIB(m, sqrt)