* aclocal.m4 (KRB5_AC_ENABLE_THREADS): Default to enabling support
authorKen Raeburn <raeburn@mit.edu>
Thu, 8 Jul 2004 20:58:31 +0000 (20:58 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 8 Jul 2004 20:58:31 +0000 (20:58 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16568 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index ecc0eed7dac7dea7f2e6817f701a006b74d6c82e..1b5e6f2a7f4e114f6df94020f80a7d2627e187b1 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-08  Ken Raeburn  <raeburn@mit.edu>
+
+       * aclocal.m4 (KRB5_AC_ENABLE_THREADS): Default to enabling
+       support.
+
 2004-07-06  Ken Raeburn  <raeburn@mit.edu>
 
        * configure.in: Fix bug in last change that caused a variable to
index 80e36871d7aef7f37c6ed13ed93edd53e27b1423..390333966f48fe407b785ed7291ac9dcba365e8d 100644 (file)
@@ -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])])