On Fri, Dec 4, 2009 at 10:51 PM, Troy A. Griffitts <scr...@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. Matthew _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page