summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-05-19 18:04:15 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-05-19 18:04:15 +0000
commit92eef8323cf4a43764ae911b40369d536b0a44bf (patch)
tree932b4c7b66e34153fbc63b8c5c07b5308b94701d /m4
parent3835fc831f73ab0c3d88b823cd54ee23a5543c60 (diff)
downloadATCD-92eef8323cf4a43764ae911b40369d536b0a44bf.tar.gz
ChangeLogTag:Mon May 19 11:03:31 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to '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]]]),
[