diff options
author | Steve Huston <shuston@riverace.com> | 2004-11-30 22:33:31 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2004-11-30 22:33:31 +0000 |
commit | ffa8526675ae0d80c657a44f63f8c295f44e3eae (patch) | |
tree | 396bafe7ba0c7069cf144401a8ffbea174bc6390 /m4/ace.m4 | |
parent | a162c2dde1e2dc2e3ddc20f53add6ec766e4de9e (diff) | |
download | ATCD-ffa8526675ae0d80c657a44f63f8c295f44e3eae.tar.gz |
ChangeLogTag:Tue Nov 30 17:32:29 2004 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'm4/ace.m4')
-rw-r--r-- | m4/ace.m4 | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/m4/ace.m4 b/m4/ace.m4 index 0aa25c31734..49b6e67cb3d 100644 --- a/m4/ace.m4 +++ b/m4/ace.m4 @@ -316,6 +316,55 @@ AC_DEFUN([ACE_CONFIGURATION_OPTIONS], ]) AM_CONDITIONAL([BUILD_THREADS], [test X$ace_user_enable_threads = Xyes]) + AC_ARG_ENABLE([pthreads], + AS_HELP_STRING(--enable-pthreads,enable POSIX thread (Pthreads) support [[[yes]]]), + [ + case "${enableval}" in + yes) + ace_user_enable_pthreads=yes + ;; + no) + ace_user_enable_pthreads=no + ;; + *) + AC_MSG_ERROR([bad value ${enableval} for --enable-pthreads]) + ;; + esac + ], + [ + ace_user_enable_pthreads=yes + ]) + + AC_ARG_ENABLE([uithreads], + AS_HELP_STRING(--enable-uithreads,enable UNIX International thread support [[[no]]]), + [ + case "${enableval}" in + yes) + ace_user_enable_uithreads=yes + ;; + no) + ace_user_enable_uithreads=no + ;; + *) + AC_MSG_ERROR([bad value ${enableval} for --enable-uithreads]) + ;; + esac + ], + [ + dnl The default is to disable UI threads. However, on Solaris, we + dnl enable it by default since it's functionality is very useful and + dnl has traditionally been enabled in ACE. + case "$host" in + *solaris2*) + ace_user_enable_uithreads=yes + AC_MSG_NOTICE([[--enable-uithreads enabled by default for Solaris; use --enable-uithreads=no to disable it.]]) + ;; + *) + ace_user_enable_uithreads=no + ;; + esac + ]) + AC_ARG_ENABLE([verb-not-sup], AS_HELP_STRING(--enable-verb-not-sup,enable verbose ENOTSUP reports [[[no]]]), [ |