File EMBOSS-6.6.0-system-expat.patch of Package EMBOSS

Index: EMBOSS-6.6.0/configure.in
===================================================================
--- EMBOSS-6.6.0.orig/configure.in
+++ EMBOSS-6.6.0/configure.in
@@ -824,7 +824,7 @@ AC_ARG_ENABLE([systemlibs],
 
 AM_CONDITIONAL([ESYSTEMLIBS], [test "x${enable_systemlibs}" = "xyes"])
 AM_COND_IF([ESYSTEMLIBS], AC_CHECK_LIB(pcre, pcre_compile))
-
+AM_COND_IF([ESYSTEMLIBS], AC_CHECK_LIB(expat, XML_ParserCreate))
 
 
 # Enable the purify tool: --enable-purify, sets CC and LIBTOOL
@@ -973,7 +973,6 @@ AC_CONFIG_FILES([Makefile
                  ajax/ajaxdb/Makefile
                  ajax/core/Makefile
                  ajax/ensembl/Makefile
-                 ajax/expat/Makefile
                  ajax/graphics/Makefile
                  ajax/zlib/Makefile
                  doc/Makefile
openSUSE Build Service is sponsored by