Fixed check for libxmlparse.
This commit is contained in:
parent
e2e808032c
commit
ea36f88f95
1 changed files with 2 additions and 1 deletions
|
|
@ -96,7 +96,8 @@ if [test x$xml = xtrue ]; then
|
||||||
LIBS="-lxmlparse -lxmltok $LIBS"
|
LIBS="-lxmlparse -lxmltok $LIBS"
|
||||||
AC_LANG_PUSH(C++)
|
AC_LANG_PUSH(C++)
|
||||||
AC_TRY_LINK(
|
AC_TRY_LINK(
|
||||||
[extern "C" {
|
[#include <stdio.h>
|
||||||
|
extern "C" {
|
||||||
#include <xmlparse.h> // expat XML parser
|
#include <xmlparse.h> // expat XML parser
|
||||||
}],
|
}],
|
||||||
[XML_Parser parser = XML_ParserCreate(NULL);
|
[XML_Parser parser = XML_ParserCreate(NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue