summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2004-09-02 20:45:23 +0000
committerSteve Huston <shuston@riverace.com>2004-09-02 20:45:23 +0000
commit1cc2e40c73f2fc1795962e8a47ba03f997410b4c (patch)
tree4119bc3946301c4a0b5f07712f83e4bcd223e590
parentb4539b7e74ca55952fc902e4c1d019ce720d9c6c (diff)
downloadATCD-1cc2e40c73f2fc1795962e8a47ba03f997410b4c.tar.gz
ChangeLogTag:Tue Sep 2 16:43:29 2004 Steve Huston <shuston@riverace.com>
-rw-r--r--ChangeLog8
-rw-r--r--m4/ace.m4176
2 files changed, 183 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3dd668af111..fa069825538 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Tue Sep 2 16:43:29 2004 Steve Huston <shuston@riverace.com>
+
+ * m4/ace.m4: Added AM_CONDITIONAL for BUILD_EXCEPTIONS, BUILD_THREADS,
+ BUILD_ACE_CODECS, BUILD_ACE_FILECACHE, BUILD_ACE_OTHER,
+ BUILD_ACE_TOKEN, BUILD_ACE_UUID, BUILD_RWHO, BUILD_WFMO, and
+ BUILD_WINREGISTRY so the MPC 'requires' feature can properly weed
+ things out without configure- and build-time errors.
+
Thu Sep 2 12:51:00 UTC 2004 Martin Corino <mcorino@remedy.nl>
* tests/Process_Manager_Test.cpp:
diff --git a/m4/ace.m4 b/m4/ace.m4
index e990794f90e..4b8d34bfe72 100644
--- a/m4/ace.m4
+++ b/m4/ace.m4
@@ -24,6 +24,108 @@ dnl Macros that add ACE configuration options to a `configure' script.
dnl ACE_CONFIGURATION_OPTIONS
AC_DEFUN([ACE_CONFIGURATION_OPTIONS],
[
+ AC_ARG_ENABLE([ace-codecs],
+ AS_HELP_STRING(--enable-ace-codecs,build ACE with codecs support [[[yes]]]),
+ [
+ case "${enableval}" in
+ yes)
+ ace_user_enable_ace_codecs=yes
+ ;;
+ no)
+ ace_user_enable_ace_codecs=no
+ ;;
+ *)
+ AC_MSG_ERROR([bad value ${enableval} for --enable-ace-codecs])
+ ;;
+ esac
+ ],
+ [
+ ace_user_enable_ace_codecs=yes
+ ])
+ AM_CONDITIONAL([BUILD_ACE_CODECS], [test X$ace_user_enable_ace_codecs = Xyes])
+
+ AC_ARG_ENABLE([ace-filecache],
+ AS_HELP_STRING(--enable-ace-filecache,build ACE_Filecache support [[[yes]]]),
+ [
+ case "${enableval}" in
+ yes)
+ ace_user_enable_ace_filecache=yes
+ ;;
+ no)
+ ace_user_enable_ace_filecache=no
+ ;;
+ *)
+ AC_MSG_ERROR([bad value ${enableval} for --enable-ace-filecache])
+ ;;
+ esac
+ ],
+ [
+ dnl Enable ACE_Filecache support by default since it's never turned off
+ dnl in the ACE lib itself. Just required for some things like JAWS.
+ ace_user_enable_ace_filecache=yes
+ ])
+ AM_CONDITIONAL([BUILD_ACE_FILECACHE], [test X$ace_user_enable_ace_filecache = Xyes])
+
+ AC_ARG_ENABLE([ace-other],
+ AS_HELP_STRING(--enable-ace-other,build ACE with all misc pieces [[[yes]]]),
+ [
+ case "${enableval}" in
+ yes)
+ ace_user_enable_ace_other=yes
+ ;;
+ no)
+ ace_user_enable_ace_other=no
+ ;;
+ *)
+ AC_MSG_ERROR([bad value ${enableval} for --enable-ace-other])
+ ;;
+ esac
+ ],
+ [
+ ace_user_enable_ace_other=yes
+ ])
+ AM_CONDITIONAL([BUILD_ACE_OTHER], [test X$ace_user_enable_ace_other = Xyes])
+
+ AC_ARG_ENABLE([ace-token],
+ AS_HELP_STRING(--enable-ace-token,build ACE with tokens support [[[yes]]]),
+ [
+ case "${enableval}" in
+ yes)
+ ace_user_enable_ace_token=yes
+ ;;
+ no)
+ ace_user_enable_ace_token=no
+ ;;
+ *)
+ AC_MSG_ERROR([bad value ${enableval} for --enable-ace-token])
+ ;;
+ esac
+ ],
+ [
+ ace_user_enable_ace_token=yes
+ ])
+ AM_CONDITIONAL([BUILD_ACE_TOKEN], [test X$ace_user_enable_ace_token = Xyes])
+
+ AC_ARG_ENABLE([ace-uuid],
+ AS_HELP_STRING(--enable-ace-uuid,build ACE with UUID support [[[yes]]]),
+ [
+ case "${enableval}" in
+ yes)
+ ace_user_enable_ace_uuid=yes
+ ;;
+ no)
+ ace_user_enable_ace_uuid=no
+ ;;
+ *)
+ AC_MSG_ERROR([bad value ${enableval} for --enable-ace-uuid])
+ ;;
+ esac
+ ],
+ [
+ ace_user_enable_ace_uuid=yes
+ ])
+ AM_CONDITIONAL([BUILD_ACE_UUID], [test X$ace_user_enable_ace_uuid = Xyes])
+
AC_ARG_ENABLE([alloca],
AS_HELP_STRING(--enable-alloca,compile with alloca() support [[[no]]]),
[
@@ -45,6 +147,23 @@ AC_DEFUN([ACE_CONFIGURATION_OPTIONS],
ace_user_enable_alloca=no
])
+ AC_ARG_ENABLE([rwho],
+ AS_HELP_STRING(--enable-rwho,build the distributed rwho program [[[no]]]),
+ [
+ case "${enableval}" in
+ yes)
+ ace_user_enable_rwho=yes
+ ;;
+ no)
+ ace_user_enable_rwho=no
+ ;;
+ *)
+ AC_MSG_ERROR([bad value ${enableval} for --enable-rwho])
+ ;;
+ esac
+ ],)
+ AM_CONDITIONAL([BUILD_RWHO], [test X$ace_user_enable_rwho = Xyes])
+
AC_ARG_ENABLE([ipv4-ipv6],
AS_HELP_STRING(--enable-ipv4-ipv6,compile with IPv4/IPv6 migration support [[[no]]]),
[
@@ -195,6 +314,7 @@ AC_DEFUN([ACE_CONFIGURATION_OPTIONS],
[
ace_user_enable_threads=yes
])
+ AM_CONDITIONAL([BUILD_THREADS], [test X$ace_user_enable_threads = Xyes])
AC_ARG_ENABLE([verb-not-sup],
AS_HELP_STRING(--enable-verb-not-sup,enable verbose ENOTSUP reports [[[no]]]),
@@ -230,6 +350,60 @@ AC_DEFUN([ACE_CONFIGURATION_OPTIONS],
AC_DEFINE([ACE_NTRACE])
])
+ AC_ARG_ENABLE([wfmo],
+ AS_HELP_STRING(--enable-wfmo,build WFMO-using examples [[[no]]]),
+ [
+ case "${enableval}" in
+ yes)
+ ace_user_enable_wfmo=yes
+ ;;
+ no)
+ ace_user_enable_wfmo=no
+ ;;
+ *)
+ AC_MSG_ERROR([bad value ${enableval} for --enable-rtti])
+ ;;
+ esac
+ ],
+ [
+ case "$host" in
+ *win*)
+ ace_user_enable_wfmo=yes
+ ;;
+ *)
+ ace_user_enable_wfmo=no
+ ;;
+ esac
+ ])
+ AM_CONDITIONAL([BUILD_WFMO], [test X$ace_user_enable_wfmo = Xyes])
+
+ AC_ARG_ENABLE([winregistry],
+ AS_HELP_STRING(--enable-winregistry,build Windows registry-using examples [[[no]]]),
+ [
+ case "${enableval}" in
+ yes)
+ ace_user_enable_winregistry=no
+ ;;
+ no)
+ ace_user_enable_winregistry=no
+ ;;
+ *)
+ AC_MSG_ERROR([bad value ${enableval} for --enable-rtti])
+ ;;
+ esac
+ ],
+ [
+ case "$host" in
+ *win*)
+ ace_user_enable_winregistry=yes
+ ;;
+ *)
+ ace_user_enable_winregistry=no
+ ;;
+ esac
+ ])
+ AM_CONDITIONAL([BUILD_WINREGISTRY], [test X$ace_user_enable_winregistry = Xyes])
+
AC_ARG_ENABLE([xt-reactor],
AS_HELP_STRING(--enable-xt-reactor,build support for the XtReactor [[[no]]]),
[
@@ -427,7 +601,7 @@ dnl ACE_CXXFLAGS="$ACE_CXXFLAGS -fno-exceptions"
dnl fi
dnl fi
])
-
+ AM_CONDITIONAL([BUILD_EXCEPTIONS], [test X$ace_user_enable_exceptions = Xyes])
AC_ARG_ENABLE([fast],
AS_HELP_STRING(--enable-fast,enable -fast flag (e.g. Sun C++) [[[no]]]),