[sword-devel] SWORD 1.6.1

Jonathan Marsden jmarsden at fastmail.fm
Wed Dec 16 15:54:41 MST 2009

Matthew Talbert wrote:

> It's the latest commit to svn. The problem is that AC_CHECK_LIBS is
> only conditionally called. I guess it should always be called, or
> something. I don't really understand it.

I've not tested this except under Linux, and that only very briefly, but 
doesn't adding a similar call to AC_CHECK_LIB outside the case...esac 
solve this, by making sure the check is always made (and so can always 
be tested for) on any host platform?  I'm probably missing some corner 
case where this doesn't do what we need, but maybe it is a start? :)


--- configure.ac        (revision 2488)
+++ configure.ac        (working copy)
@@ -17,6 +17,7 @@


+AC_CHECK_LIB(regex, regexec,,target_mingw32="no")
  case $host_os in
            # if we don't have system regex, use SWORD's copy

More information about the sword-devel mailing list