From: Noah Levitt Date: Thu, 1 May 2003 16:15:28 +0000 (+0000) Subject: Check for an expat function that won't be there if expat is too old. X-Git-Tag: fc-2_2_90~25 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=700a41281a1712db29cc3b34aa293e9a4680c5c3;p=fontconfig.git Check for an expat function that won't be there if expat is too old. --- diff --git a/configure.in b/configure.in index 3453bae..9093e7a 100644 --- a/configure.in +++ b/configure.in @@ -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