]> git.wh0rd.org Git - fontconfig.git/commitdiff
Fix expat function check.
authorNoah Levitt <nlevitt@gmail.com>
Thu, 1 May 2003 16:20:27 +0000 (16:20 +0000)
committerNoah Levitt <nlevitt@gmail.com>
Thu, 1 May 2003 16:20:27 +0000 (16:20 +0000)
configure.in

index 9093e7a04ecc43ec3cfeafb868d4461f60b8f6af..742c5257da3d83558e1997325b1ed6c73b30fd71 100644 (file)
@@ -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