[Commit] fontconfig configure.in,1.34,1.35

Noah Levitt commit@keithp.com
Thu, 01 May 2003 09:20:30 -0700


Committed by: nlevitt

Update of /local/src/CVS/fontconfig
In directory home.keithp.com:/tmp/cvs-serv20836

Modified Files:
	configure.in 
Log Message:
Fix expat function check.


Index: configure.in
===================================================================
RCS file: /local/src/CVS/fontconfig/configure.in,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- configure.in	1 May 2003 16:15:28 -0000	1.34
+++ configure.in	1 May 2003 16:20:27 -0000	1.35
@@ -191,15 +191,15 @@
 		;;
 	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
 		;;