From: Noah Levitt Date: Thu, 1 May 2003 16:20:27 +0000 (+0000) Subject: Fix expat function check. X-Git-Tag: fc-2_2_90~24 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a6a66da0adfc6c7899b61eb6531d14f794d25d94;p=fontconfig.git Fix expat function check. --- 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