mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
Fail when alloca can not be found natively.
This commit is contained in:
parent
062f47121f
commit
31e4c69e95
1 changed files with 5 additions and 4 deletions
|
@ -903,13 +903,14 @@ int main () { return (isnan(0.0) != 0); }],
|
||||||
[Define to 1 if you have the `isnan' macro or function.])],
|
[Define to 1 if you have the `isnan' macro or function.])],
|
||||||
[AC_MSG_RESULT([no])])
|
[AC_MSG_RESULT([no])])
|
||||||
|
|
||||||
# When testing for the presence of alloca, we need to add alloca.o
|
# We must have a proper stack-using alloca in order for stack-copying
|
||||||
# explicitly to LIBOBJS to make sure that it is translated to
|
# continuations to work properly. If we don't find a native one,
|
||||||
# `alloca.lo' for libtool later on. This can and should be done more cleanly.
|
# abort.
|
||||||
|
|
||||||
AC_FUNC_ALLOCA
|
AC_FUNC_ALLOCA
|
||||||
if test "$ALLOCA" = "alloca.o"
|
if test "$ALLOCA" = "alloca.o"
|
||||||
then
|
then
|
||||||
AC_LIBOBJ([alloca])
|
AC_ERROR([No native alloca found.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_MEMBERS([struct stat.st_rdev])
|
AC_CHECK_MEMBERS([struct stat.st_rdev])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue