]> git.wh0rd.org Git - fontconfig.git/commitdiff
Check for an expat function that won't be there if expat is too old.
authorNoah Levitt <nlevitt@gmail.com>
Thu, 1 May 2003 16:15:28 +0000 (16:15 +0000)
committerNoah Levitt <nlevitt@gmail.com>
Thu, 1 May 2003 16:15:28 +0000 (16:15 +0000)
configure.in

index 3453bae131ebf4bb8e3bb9cf015809f5d7653db4..9093e7a04ecc43ec3cfeafb868d4461f60b8f6af 100644 (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