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? :)
Jonathan
--- configure.ac (revision 2488)
+++ configure.ac (working copy)
@@ -17,6 +17,7 @@
AC_CONFIG_MACRO_DIR([m4])
+AC_CHECK_LIB(regex, regexec,,target_mingw32="no")
case $host_os in
mingw*)
# if we don't have system regex, use SWORD's copy
_______________________________________________
sword-devel mailing list: [email protected]
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page