configure.ac: Fix configure check for HAVE_LIBXML_HTML.

Original commit message from CVS:
* configure.ac:
Fix configure check for HAVE_LIBXML_HTML.
This commit is contained in:
Stefan Kost 2007-09-06 20:31:50 +00:00
parent 845e58ecfa
commit 7485967d96
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2007-09-06 Stefan Kost <ensonic@users.sf.net>
* configure.ac:
Fix configure check for HAVE_LIBXML_HTML.
2007-09-06 Tim-Philipp Müller <tim at centricular dot net>
* tests/check/libs/.cvsignore:

View file

@ -210,8 +210,7 @@ if test "x$HAVE_REGEX_H" = "xyes"; then
#ifndef LIBXML_HTML_ENABLED
#error libxml2 has no HTML support
#endif /* LIBXML_HTML_ENABLED */
]), HAVE_LIBXML_HTML=yes, HAVE_LIBXML_HTML=no)
AM_CONDITIONAL(HAVE_LIBXML_HTML, test "x$HAVE_LIBXML_HTML" = "xyes")
]), HAVE_LIBXML_HTML="yes", HAVE_LIBXML_HTML="no")
CPPFLAGS="$ac_cppflags_save"
if test "x$HAVE_LIBXML_HTML" = "xyes"; then
@ -221,7 +220,9 @@ if test "x$HAVE_REGEX_H" = "xyes"; then
fi
else
GST_PLUGINS_NO="\t[subparse]\n$GST_PLUGINS_NO"
HAVE_LIBXML_HTML="no"
fi
AM_CONDITIONAL(HAVE_LIBXML_HTML, test "x$HAVE_LIBXML_HTML" = "xyes")
dnl used in gst/tcp
AC_CHECK_HEADERS([sys/socket.h],