[sword-svn] r2488 - trunk

chrislit at crosswire.org chrislit at crosswire.org
Wed Dec 9 20:20:14 MST 2009


Author: chrislit
Date: 2009-12-09 20:20:14 -0700 (Wed, 09 Dec 2009)
New Revision: 2488

Modified:
   trunk/configure.ac
Log:
added patch for mingw per mwtalbert


Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2009-12-08 07:18:00 UTC (rev 2487)
+++ trunk/configure.ac	2009-12-10 03:20:14 UTC (rev 2488)
@@ -17,6 +17,16 @@
 
 AC_CONFIG_MACRO_DIR([m4])
 
+case $host_os in
+     mingw*)
+	   # if we don't have system regex, use SWORD's copy
+           AC_CHECK_LIB(regex, regexec,,target_mingw32="yes")
+	   # both lines necessary to convince gcc to build dll
+	   LIBS="$LIBS -no-undefined";
+	   export lt_cv_deplibs_check_method=pass_all;
+	   ;;
+esac
+
 # ---------------------------------------------------------------------
 # Check Programs
 # ---------------------------------------------------------------------




More information about the sword-cvs mailing list