[sword-devel] Mingw and SWORD's internal regex (was: Re: 1.6.1 outstanding items? )

Matthew Talbert ransom1982 at gmail.com
Sat Dec 5 02:17:15 MST 2009

On Fri, Dec 4, 2009 at 10:51 PM, Troy A. Griffitts <scribe at crosswire.org> wrote:
> Do we need a further resolution to this?  I can maybe add a check:
> AC_SEARCH_LIBS(regcomp)
> to see if we can find a system-wide regex lib and if so use it,
> otherwise use the internal SWORD regex, but then we'd use the
> system-wide one if it existed, instead of any enhanced regex lib someone
> might want to use...

How does this check work? This probably sounds like the best solution.

> I supposed we could just let the user specify they need the internal one
> manually if they need it:
> --with-internal-regex
> But then people will need to specify it if they don't have a systemwide
> regex.

This would be all right as well.

> Maybe a check and include internal regex if we need it, and also a
> --without-internal-regex which will exclude no matter what the check
> says?  Then you could force it to exclude no matter what so you could
> use your custom regex lib.

This would be fine also. I think the first solution is probably the
simplest and best.


More information about the sword-devel mailing list