Fix expat function check.

This commit is contained in:
Noah Levitt 2003-05-01 16:20:27 +00:00
parent 700a41281a
commit a6a66da0ad
1 changed files with 4 additions and 4 deletions

View File

@ -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