ALLOCATE_LOCAL is dangerous on Darwin due to memory layout differences

from Linux, so let's define NO_ALLOCA.
(cherry picked from commit 7caf51d1a5)
This commit is contained in:
Ben Byer 2007-12-06 20:51:32 -08:00 committed by Jeremy Huddleston
parent c238ef06a2
commit 56f5066d47

View File

@ -1705,7 +1705,7 @@ if test "x$XQUARTZ" = xyes; then
AC_SUBST([DARWIN_LIBS])
AC_CHECK_LIB([Xplugin],[xp_init],[:])
AC_SUBST([APPLE_APPLICATIONS_DIR])
CFLAGS="${CFLAGS} -D__DARWIN__ -DROOTLESS_WORKAROUND"
CFLAGS="${CFLAGS} -D__DARWIN__ -DROOTLESS_WORKAROUND -DNO_ALLOCA"
PLIST_VERSION_STRING=$PACKAGE_VERSION
AC_SUBST([PLIST_VERSION_STRING])
PLIST_VENDOR_WEB=$VENDOR_WEB