Fix expat function check.
This commit is contained in:
parent
700a41281a
commit
a6a66da0ad
|
@ -191,16 +191,16 @@ no)
|
||||||
;;
|
;;
|
||||||
yes)
|
yes)
|
||||||
AC_CHECK_FUNCS(XML_SetDoctypeDeclHandler)
|
AC_CHECK_FUNCS(XML_SetDoctypeDeclHandler)
|
||||||
case "$ac_cv_func_XML_ParserCreate" in
|
case "$ac_cv_func_XML_SetDoctypeDeclHandler" in
|
||||||
no)
|
|
||||||
expat=no
|
|
||||||
;;
|
|
||||||
yes)
|
yes)
|
||||||
HAVE_EXPAT=1
|
HAVE_EXPAT=1
|
||||||
AC_SUBST(HAVE_EXPAT)
|
AC_SUBST(HAVE_EXPAT)
|
||||||
AC_DEFINE_UNQUOTED(HAVE_EXPAT,$HAVE_EXPAT,
|
AC_DEFINE_UNQUOTED(HAVE_EXPAT,$HAVE_EXPAT,
|
||||||
[Found a useable expat library])
|
[Found a useable expat library])
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
expat=no
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue