# HG changeset patch # User Jim Meyering # Date 1172318047 0 # Node ID 93084dc350137331ba4e99ed712d8cee757486fa # Parent 8aa8914c86a34544a99dee055f5e71d5dcd57eb4 * 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. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-02-24 Jim Meyering + + * 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 * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Check for a nanosleep that diff --git a/m4/regex.m4 b/m4/regex.m4 --- 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