From a6a66da0adfc6c7899b61eb6531d14f794d25d94 Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Thu, 1 May 2003 16:20:27 +0000 Subject: [PATCH] Fix expat function check. --- configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 9093e7a..742c525 100644 --- a/configure.in +++ b/configure.in @@ -191,16 +191,16 @@ no) ;; yes) AC_CHECK_FUNCS(XML_SetDoctypeDeclHandler) - case "$ac_cv_func_XML_ParserCreate" in - no) - expat=no - ;; + case "$ac_cv_func_XML_SetDoctypeDeclHandler" in yes) HAVE_EXPAT=1 AC_SUBST(HAVE_EXPAT) AC_DEFINE_UNQUOTED(HAVE_EXPAT,$HAVE_EXPAT, [Found a useable expat library]) ;; + *) + expat=no + ;; esac ;; esac -- 2.39.5