diff options
| author | Glenn Morris | 2007-09-12 07:03:30 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-09-12 07:03:30 +0000 |
| commit | 4756ee429c7e52444f1d8ae4629db9327411e048 (patch) | |
| tree | 2968f6f255f8ca61cb9c395d8ddb9aaedade574d | |
| parent | 5a6a83f216e499e598bc95d2ae6b820ae004ea6c (diff) | |
| download | emacs-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.in | 7 |
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 | ||
| 2693 | AC_FUNC_ALLOCA | 2693 | AC_FUNC_ALLOCA |
| 2694 | 2694 | ||
| 2695 | dnl src/alloca.c has been removed. Could also check if $ALLOCA is set? | ||
| 2696 | dnl FIXME is there an autoconf test that does the right thing, without | ||
| 2697 | dnl needing to call A_M_E afterwards? | ||
| 2698 | if test x"$ac_cv_func_alloca_works" != xyes; then | ||
| 2699 | AC_MSG_ERROR( [a system implementation of alloca is required] ) | ||
| 2700 | fi | ||
| 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. |
| 2697 | AC_CHECK_LIB(m, sqrt) | 2704 | AC_CHECK_LIB(m, sqrt) |