Eric Blake wrote:
> for use of strcasecmp in regcomp.c.

Also, for portability to old platforms which lack strcasecmp(), we can use a
module dependency to 'strcase'. Note that this dependency has no effect unless
the gnulib-tool option --with-obsolete is specified.


2011-07-12  Bruno Haible  <br...@clisp.org>

        regex: Depend on module 'strcase'.
        * modules/regex (Depends-on): Add strcase, for strcasecmp().

--- modules/regex.orig  Tue Jul 12 12:20:54 2011
+++ modules/regex       Tue Jul 12 12:20:27 2011
@@ -26,6 +26,7 @@
 nl_langinfo     [test $ac_use_included_regex = yes]
 stdbool         [test $ac_use_included_regex = yes]
 stdint          [test $ac_use_included_regex = yes]
+strcase         [test $ac_use_included_regex = yes]
 wchar           [test $ac_use_included_regex = yes]
 wcrtomb         [test $ac_use_included_regex = yes]
 wctype-h        [test $ac_use_included_regex = yes]

-- 
In memoriam Cesare Battisti 
<http://en.wikipedia.org/wiki/Cesare_Battisti_(politician)>

Reply via email to