Skip to content

Commit

Permalink
Remove duplicate entry of -lxml2 in LIBS variable.
Browse files Browse the repository at this point in the history
Also fixes duplicate entry in libarchive.pc.

SVN-Revision: 3715
  • Loading branch information
amejia1 committed Sep 18, 2011
1 parent 475d3fe commit 5256aa1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Expand Up @@ -282,9 +282,11 @@ if test "x$with_xml2" != "xno"; then
if test "x$XML2_CONFIG" != "x"; then
CPPFLAGS="${CPPFLAGS} `${XML2_CONFIG} --cflags`"
LIBS="${LIBS} `${XML2_CONFIG} --libs`"
AC_CHECK_LIB(xml2,xmlInitParser,[true],AC_MSG_FAILURE(Missing xml2 library))
else
AC_CHECK_LIB(xml2,xmlInitParser)
fi
AC_CHECK_HEADERS([libxml/xmlreader.h libxml/xmlwriter.h])
AC_CHECK_LIB(xml2,xmlInitParser)
fi
if test "x$ac_cv_header_libxml_xmlreader_h" != "xyes"; then
if test "x$with_expat" != "xno"; then
Expand Down

0 comments on commit 5256aa1

Please sign in to comment.