[sword-svn] r2087 - trunk

scribe at www.crosswire.org scribe at www.crosswire.org
Sun Sep 23 16:29:04 MST 2007


Author: scribe
Date: 2007-09-23 16:29:04 -0700 (Sun, 23 Sep 2007)
New Revision: 2087

Modified:
   trunk/configure.ac
   trunk/sword.pc.in
Log:
Added check to include all needed libs in sword.pc if building only static lib


Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2007-09-23 22:27:55 UTC (rev 2086)
+++ trunk/configure.ac	2007-09-23 23:29:04 UTC (rev 2087)
@@ -268,6 +268,7 @@
 AM_CONDITIONAL(USELUCENE, test x$use_clucene = xyes)
 AM_CONDITIONAL(ICUSWORD, test x$with_icu = xsword)
 AM_CONDITIONAL(ZLIB, test x$with_zlib = xyes)
+AM_CONDITIONAL(SHAREDLIB, test x$enable_shared = xyes)
 AM_CONDITIONAL(INSTCONF, test x$with_conf = xyes)
 AM_CONDITIONAL(INSTALLMGR, test x$with_curl = xyes)
 #AM_CONDITIONAL(INTERNALFTPLIB, test x$with_installmgr = xinternal)

Modified: trunk/sword.pc.in
===================================================================
--- trunk/sword.pc.in	2007-09-23 22:27:55 UTC (rev 2086)
+++ trunk/sword.pc.in	2007-09-23 23:29:04 UTC (rev 2087)
@@ -7,7 +7,8 @@
 Name: SWORD
 Description: Biblical Text Engine
 Version: @VERSION@
-Libs: -L${libdir} -lsword
+ at SHAREDLIB_TRUE@Libs: -L${libdir} -lsword
+ at SHAREDLIB_FALSE@Libs: -L${libdir} -lsword -lz @CURL_LIBS@ @CLUCENE_LIBS@ @ICU_LIBS@ @ICU_IOLIBS@
 Libs.private: -L${libdir} -lsword -lz @CURL_LIBS@ @CLUCENE_LIBS@ @ICU_LIBS@ @ICU_IOLIBS@
 Cflags: -I${includedir}/sword
 




More information about the sword-cvs mailing list