Fix expat function check.
This commit is contained in:
parent
700a41281a
commit
a6a66da0ad
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue