]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use pthread rwlocks by default
authorWitold Kręcicki <wpk@isc.org>
Thu, 27 Feb 2020 12:21:31 +0000 (13:21 +0100)
committerWitold Kręcicki <wpk@isc.org>
Wed, 4 Mar 2020 09:28:22 +0000 (10:28 +0100)
aclocal.m4
configure
configure.ac

index a3a11f5d29b02584a161495d10e5110b795e14d6..167140bbebc42ca84baa36022edc5349cf4ef66b 100644 (file)
@@ -100,7 +100,7 @@ dnl Check to see whether a particular set of modules exists. Similar to
 dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
 dnl
 dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-dnl only at the first occurrence in configure.ac, so if the first place
+dnl only at the first occurence in configure.ac, so if the first place
 dnl it's called might be skipped (such as if it is within an "if", you
 dnl have to call PKG_CHECK_EXISTS manually
 AC_DEFUN([PKG_CHECK_EXISTS],
index efd5fdf703fcbef80e82a1550bc218df861c9035..2b87dd120d9e2e7877ececc87092c4b32277b4fe 100755 (executable)
--- a/configure
+++ b/configure
@@ -1625,8 +1625,9 @@ Optional Features:
   --enable-devpoll        use /dev/poll when available [default=yes]
   --disable-geoip         support GeoIP2 geolocation ACLs if available
                           [default=yes]
-  --enable-pthread-rwlock use pthread rwlock instead of internal rwlock
-                          implementation (EXPERIMENTAL)
+  --disable-pthread-rwlock
+                          use internal rwlock implementation instead of
+                          pthread rwlock
   --enable-fips-mode      enable FIPS mode in OpenSSL library [default=no]
   --enable-native-pkcs11  use native PKCS11 for public-key crypto [default=no]
   --enable-backtrace      log stack backtrace on abort [default=yes]
@@ -16040,13 +16041,13 @@ esac
 
 
 #
-# Do we want to use pthread rwlock? (useful for ThreadSanitizer)
+# Do we want to use pthread rwlock?
 #
 # Check whether --enable-pthread_rwlock was given.
 if test "${enable_pthread_rwlock+set}" = set; then :
   enableval=$enable_pthread_rwlock;
 else
-  enable_pthread_rwlock=no
+  enable_pthread_rwlock=yes
 fi
 
 
index 674e0de43c28eba4044b0c1310f8607ff6db41f3..63916a404e2803074c7bbc7b59209355381d822e 100644 (file)
@@ -716,12 +716,12 @@ esac
 AC_SUBST(INSTALL_LIBRARY)
 
 #
-# Do we want to use pthread rwlock? (useful for ThreadSanitizer)
+# Do we want to use pthread rwlock?
 #
 AC_ARG_ENABLE([pthread_rwlock],
-             [AS_HELP_STRING([--enable-pthread-rwlock],
-                             [use pthread rwlock instead of internal rwlock implementation (EXPERIMENTAL)])],
-             [], [enable_pthread_rwlock=no])
+             [AS_HELP_STRING([--disable-pthread-rwlock],
+                             [use internal rwlock implementation instead of pthread rwlock])],
+             [], [enable_pthread_rwlock=yes])
 
 AS_IF([test "$enable_pthread_rwlock" = "yes"],
       [AC_CHECK_FUNCS([pthread_rwlock_rdlock], [],