Commit 4756ee42 authored by Glenn Morris's avatar Glenn Morris
Browse files

(AC_FUNC_ALLOCA): Throw an error if a system implementation of alloca

is not found.
parent 5a6a83f2
......@@ -2692,6 +2692,13 @@ fi
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] )
# 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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment