From: Ben Pfaff Date: Sun, 5 Oct 2008 18:17:10 +0000 (-0700) Subject: Use Gnulib module "regex", to fix linking on Mingw. X-Git-Tag: v0.6.1~2 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eebfb13c43a0623eec8b83824a0802cdc60e533e;p=pspp-builds.git Use Gnulib module "regex", to fix linking on Mingw. 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. --- diff --git a/Smake b/Smake index 11ab6daf..3994a302 100644 --- a/Smake +++ b/Smake @@ -46,6 +46,7 @@ GNULIB_MODULES = \ printf-posix \ printf-safe \ progname \ + regex \ relocatable-prog \ round \ snprintf \