Blob Blame History Raw
commit 52dfbe137e41f2da1f5584f6dd9ea89589c71228
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Jul 4 20:33:03 2013 +0530

    Fix lock elision help text in INSTALL and configure
Index: glibc-2.17-c758a686/INSTALL
===================================================================
--- glibc-2.17-c758a686.orig/INSTALL
+++ glibc-2.17-c758a686/INSTALL
@@ -141,7 +141,7 @@ will be used, and CFLAGS sets optimizati
      only if you understand and accept those risks.
 
 `--enable-lock-elision=yes'
-     Enable lock elision for pthread mutexes and rwlocks by default.
+     Enable lock elision for pthread mutexes by default.
 
 `--build=BUILD-SYSTEM'
 `--host=HOST-SYSTEM'
Index: glibc-2.17-c758a686/configure
===================================================================
--- glibc-2.17-c758a686.orig/configure
+++ glibc-2.17-c758a686/configure
@@ -1407,8 +1407,7 @@ Optional Features:
                           initialize __stack_chk_guard canary with a random
                           number at program start
   --enable-lock-elision=yes/no
-                          Enable lock elision for pthread mutexes and rwlocks
-                          by default
+                          Enable lock elision for pthread mutexes by default
   --enable-add-ons[=DIRS...]
                           configure and build add-ons in DIR1,DIR2,... search
                           for add-ons if no parameter given
Index: glibc-2.17-c758a686/configure.in
===================================================================
--- glibc-2.17-c758a686.orig/configure.in
+++ glibc-2.17-c758a686/configure.in
@@ -157,7 +157,7 @@ fi
 
 AC_ARG_ENABLE([lock-elision],
 	      AC_HELP_STRING([--enable-lock-elision[=yes/no]],
-			     [Enable lock elision for pthread mutexes and rwlocks by default]),
+			     [Enable lock elision for pthread mutexes by default]),
 	      [enable_lock_elision=$enableval],
 	      [enable_lock_elision=no])
 if test "$enable_lock_elision" = yes ; then