summaryrefslogtreecommitdiff
path: root/m4/ace.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ace.m4')
-rw-r--r--m4/ace.m421
1 files changed, 21 insertions, 0 deletions
diff --git a/m4/ace.m4 b/m4/ace.m4
index 7abf1cf87f0..94b1a944eb4 100644
--- a/m4/ace.m4
+++ b/m4/ace.m4
@@ -24,6 +24,27 @@ dnl Macros that add ACE configuration options to a `configure' script.
dnl ACE_CONFIGURATION_OPTIONS
AC_DEFUN([ACE_CONFIGURATION_OPTIONS],
[
+ AC_ARG_ENABLE([alloca],
+ AC_HELP_STRING([--enable-alloca],[compile with alloca() support [[no]]]),
+ [
+ case "${enableval}" in
+ yes)
+ ace_user_enable_alloca=yes
+ ;;
+ no)
+ ace_user_enable_alloca=no
+ ;;
+ *)
+ AC_MSG_ERROR([bad value ${enableval} for --enable-alloca])
+ ;;
+ esac
+ ],
+ [
+ dnl Disable alloca() support by default since its use is generally
+ dnl not recommended.
+ ace_user_enable_alloca=no
+ ])
+
AC_ARG_ENABLE([log-msg-prop],
AC_HELP_STRING([--enable-log-msg-prop],[enable threads inheriting ACE_Log_Msg properties from parent thread [[yes]]]),
[