changeset 8228:93084dc35013

* m4/regex.m4: Update the description of the configure-time option, --without-included-regex, to state accurately what the defaults are, and perhaps to give people an idea why using this option is risky.
author Jim Meyering <jim@meyering.net>
date Sat, 24 Feb 2007 11:54:07 +0000
parents 8aa8914c86a3
children e27c94a6558a
files ChangeLog m4/regex.m4
diffstat 2 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-24  Jim Meyering  <jim@meyering.net>
+
+	* m4/regex.m4: Update the description of the configure-time option,
+	--without-included-regex, to state accurately what the defaults are,
+	and perhaps to give people an idea why using this option is risky.
+
 2007-02-24  Paul Eggert  <eggert@cs.ucla.edu>
 
 	* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Check for a nanosleep that
--- a/m4/regex.m4
+++ b/m4/regex.m4
@@ -1,4 +1,4 @@
-#serial 45
+#serial 46
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 # 2006, 2007 Free Software Foundation, Inc.
@@ -18,9 +18,12 @@
 
   AC_ARG_WITH([included-regex],
     [AC_HELP_STRING([--without-included-regex],
-		    [don't compile regex; this is the default on
+		    [don't compile regex; this is the default on 32-bit
 		     systems with recent-enough versions of the GNU C
-		     Library (use with caution on other systems)])])
+		     Library (use with caution on other systems).
+		     On systems with 64-bit ptrdiff_t and 32-bit int,
+		     --with-included-regex is the default, in case
+		     regex functions operate on very long strings (>2GB)])])
 
   case $with_included_regex in #(
   yes|no) ac_use_included_regex=$with_included_regex