From 2a4a485af4e3276f8cb99085b68b89f02b24a890 Mon Sep 17 00:00:00 2001 From: Don Pellegrino Date: Sun, 28 Mar 2010 08:11:15 +0000 Subject: Added dependency on the libxml2 library for XML parsing. --- diff --git a/configure.ac b/configure.ac index 58a4726..7f10e96 100644 --- a/configure.ac +++ b/configure.ac @@ -21,6 +21,9 @@ AC_CHECK_HEADERS([petscconf.h],[], AC_CHECK_HEADERS([petscmat.h],[], [AC_MSG_ERROR("The PETSc headers are needed to build the system.")]) +AC_CHECK_HEADERS([libxml/parser.h],[], +[AC_MSG_ERROR("The libxml2 headers are needed to build the system.")]) + ######################## # MODULE: NCBI Toolkit # ######################## @@ -79,4 +82,10 @@ AC_SEARCH_LIBS([VecNorm],[petscvec]) AC_SEARCH_LIBS([MatCreateSeqAIJ],[petscmat],[], [AC_MSG_ERROR("The Portable Extensible Toolkit for Scientific Computation (PETSc) is needed to build the system.")]) +################### +# MODULE: libxml2 # +################### +AC_SEARCH_LIBS([xmlCreatePushParserCtxt],[xml2],[], +[AC_MSG_ERROR("The libxml2 library is needed to build the system.")]) + AC_OUTPUT -- cgit v0.8.3.1-22-g547a