Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/bind fix NAMED_USE_PTHREADS != yes usage.



details:   https://anonhg.NetBSD.org/src/rev/9fa414e66823
branches:  trunk
changeset: 758518:9fa414e66823
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Nov 06 21:32:49 2010 +0000

description:
fix NAMED_USE_PTHREADS != yes usage.

diffstat:

 external/bsd/bind/Makefile.inc           |  3 ++-
 external/bsd/bind/include/isc/platform.h |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 40f3ec5c53f5 -r 9fa414e66823 external/bsd/bind/Makefile.inc
--- a/external/bsd/bind/Makefile.inc    Sat Nov 06 21:16:14 2010 +0000
+++ b/external/bsd/bind/Makefile.inc    Sat Nov 06 21:32:49 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.5 2010/08/06 10:58:03 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.6 2010/11/06 21:32:49 mrg Exp $
 
 .if !defined(BIND9_MAKEFILE_INC)
 BIND9_MAKEFILE_INC=yes
@@ -74,6 +74,7 @@
 .if ${NAMED_USE_PTHREADS} == "yes"
 # XXX: Not ready yet
 # CPPFLAGS+=   -DISC_PLATFORM_USE_NATIVE_RWLOCKS
+CPPFLAGS+=     -DISC_PLATFORM_USETHREADS
 .if !defined (LIB) || empty(LIB)
 LDADD+= -lpthread
 DPADD+= ${LIBPTHREAD}
diff -r 40f3ec5c53f5 -r 9fa414e66823 external/bsd/bind/include/isc/platform.h
--- a/external/bsd/bind/include/isc/platform.h  Sat Nov 06 21:16:14 2010 +0000
+++ b/external/bsd/bind/include/isc/platform.h  Sat Nov 06 21:32:49 2010 +0000
@@ -207,7 +207,8 @@
 /*
  * Defined if we are using threads.
  */
-#define ISC_PLATFORM_USETHREADS 1
+/* Put in the Makefile */
+/* #define ISC_PLATFORM_USETHREADS 1 */
 
 /*
  * Defined if unistd.h does not cause fd_set to be delared.



Home | Main Index | Thread Index | Old Index