Check for an expat function that won't be there if expat is too old.

This commit is contained in:
Noah Levitt 2003-05-01 16:15:28 +00:00
parent 3760a63825
commit 700a41281a
1 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ no)
expat=no
;;
yes)
AC_CHECK_FUNCS(XML_ParserCreate)
AC_CHECK_FUNCS(XML_SetDoctypeDeclHandler)
case "$ac_cv_func_XML_ParserCreate" in
no)
expat=no
@ -213,7 +213,7 @@ AC_SUBST(EXPAT_CFLAGS)
case "$expat" in
no)
AC_MSG_ERROR([cannot find expat library])
AC_MSG_ERROR([Cannot find usable expat library. This could mean that your version is too old.])
;;
esac