diff -up EMBOSS-6.3.1/ajax/acd/Makefile.am.system-expat EMBOSS-6.3.1/ajax/acd/Makefile.am
diff -up EMBOSS-6.3.1/ajax/acd/Makefile.in.system-expat EMBOSS-6.3.1/ajax/acd/Makefile.in
diff -up EMBOSS-6.3.1/ajax/ajaxdb/Makefile.am.system-expat EMBOSS-6.3.1/ajax/ajaxdb/Makefile.am
diff -up EMBOSS-6.3.1/ajax/ajaxdb/Makefile.in.system-expat EMBOSS-6.3.1/ajax/ajaxdb/Makefile.in
diff -up EMBOSS-6.3.1/ajax/core/Makefile.am.system-expat EMBOSS-6.3.1/ajax/core/Makefile.am
diff -up EMBOSS-6.3.1/ajax/core/Makefile.in.system-expat EMBOSS-6.3.1/ajax/core/Makefile.in
diff -up EMBOSS-6.3.1/ajax/graphics/Makefile.am.system-expat EMBOSS-6.3.1/ajax/graphics/Makefile.am
diff -up EMBOSS-6.3.1/ajax/graphics/Makefile.in.system-expat EMBOSS-6.3.1/ajax/graphics/Makefile.in
diff -up EMBOSS-6.3.1/ajax/Makefile.am.system-expat EMBOSS-6.3.1/ajax/Makefile.am
diff -up EMBOSS-6.3.1/ajax/Makefile.in.system-expat EMBOSS-6.3.1/ajax/Makefile.in
diff -up EMBOSS-6.3.1/configure.in.system-expat EMBOSS-6.3.1/configure.in
--- EMBOSS-6.3.1/configure.in.system-expat 2010-08-02 17:11:31.000000000 -0400
+++ EMBOSS-6.3.1/configure.in 2010-08-02 17:12:11.831269942 -0400
@@ -425,6 +425,7 @@ AC_ARG_ENABLE(systemlibs,
if test "${enable_systemlibs}" = "yes" ; then
have_systemlibs=yes
AC_CHECK_LIB(pcre, pcre_compile)
+ AC_CHECK_LIB(expat, XML_ParserCreate)
fi
AM_CONDITIONAL(ESYSTEMLIBS, test "$have_systemlibs" = "yes")
AC_SUBST(ESYSTEMLIBS)
diff -up EMBOSS-6.3.1/configure.system-expat EMBOSS-6.3.1/configure
--- EMBOSS-6.3.1/configure.system-expat 2010-08-02 17:11:31.825142800 -0400
+++ EMBOSS-6.3.1/configure 2010-08-02 17:14:33.060269076 -0400
@@ -15339,6 +15339,51 @@ _ACEOF
fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
+$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
+if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lexpat $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char XML_ParserCreate ();
+int
+main ()
+{
+return XML_ParserCreate ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_expat_XML_ParserCreate=yes
+else
+ ac_cv_lib_expat_XML_ParserCreate=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
+$as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
+if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBEXPAT 1
+_ACEOF
+
+ LIBS="-lexpat $LIBS"
+
+fi
+
fi
if test "$have_systemlibs" = "yes"; then
ESYSTEMLIBS_TRUE=
diff -up EMBOSS-6.3.1/emboss/Makefile.am.system-expat EMBOSS-6.3.1/emboss/Makefile.am
diff -up EMBOSS-6.3.1/emboss/Makefile.in.system-expat EMBOSS-6.3.1/emboss/Makefile.in
diff -up EMBOSS-6.3.1/nucleus/Makefile.am.system-expat EMBOSS-6.3.1/nucleus/Makefile.am
diff -up EMBOSS-6.3.1/nucleus/Makefile.in.system-expat EMBOSS-6.3.1/nucleus/Makefile.in