From: Ken Raeburn Date: Thu, 8 Jul 2004 20:58:31 +0000 (+0000) Subject: * aclocal.m4 (KRB5_AC_ENABLE_THREADS): Default to enabling support X-Git-Tag: krb5-1.4-beta1~239 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5459aa69515e1b50fd38aaf308d009fe9bcd6279;p=krb5.git * aclocal.m4 (KRB5_AC_ENABLE_THREADS): Default to enabling support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16568 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index ecc0eed7d..1b5e6f2a7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-07-08 Ken Raeburn + + * aclocal.m4 (KRB5_AC_ENABLE_THREADS): Default to enabling + support. + 2004-07-06 Ken Raeburn * configure.in: Fix bug in last change that caused a variable to diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 80e36871d..390333966 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -135,12 +135,11 @@ fi dnl Hack for now. AC_DEFUN([KRB5_AC_ENABLE_THREADS],[ AC_ARG_ENABLE([thread-support], -AC_HELP_STRING([--enable-thread-support],use PRELIMINARY EXPERIMENTAL UNFINISHED POSIX-only thread support @<:@disabled@:>@), -[ if test "$enableval" = yes ; then - AC_MSG_NOTICE(enabling PRELIMINARY EXPERIMENTAL UNFINISHED POSIX-only thread support) - AC_DEFINE(ENABLE_THREADS,1,[Define if thread support enabled]) - fi -]) +AC_HELP_STRING([--disable-thread-support],don't enable thread support @<:@enabled@:>@), , enable_thread_support=yes) +if test "$enable_thread_support" = yes ; then + AC_MSG_NOTICE(enabling thread support) + AC_DEFINE(ENABLE_THREADS,1,[Define if thread support enabled]) +fi dnl Maybe this should be inside the conditional above? Doesn't cache.... if test "$enable_thread_support" = yes; then ACX_PTHREAD(,[AC_MSG_ERROR([cannot determine options for enabling thread support])])