Use Gnulib module "regex", to fix linking on Mingw.
authorBen Pfaff <blp@gnu.org>
Sun, 5 Oct 2008 18:17:10 +0000 (11:17 -0700)
committerBen Pfaff <blp@gnu.org>
Sun, 5 Oct 2008 18:17:10 +0000 (11:17 -0700)
The GUI code uses POSIX regular expressions, which Mingw has in a separate
library (-lregex).  We could just search for that library, but by including
our own implementation (via Gnulib) we also work around known bugs in
system regular expression implementations.

Smake

diff --git a/Smake b/Smake
index 11ab6daf2d772ba3f39bcb4b91dcbecfca7e4dc6..3994a302b650b7d5c5f89a10db484b010adc1aa1 100644 (file)
--- a/Smake
+++ b/Smake
@@ -46,6 +46,7 @@ GNULIB_MODULES = \
        printf-posix \
        printf-safe \
        progname \
+       regex \
        relocatable-prog \
        round \
        snprintf \