[Commit] fontconfig configure.in,1.33,1.34

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


Committed by: nlevitt

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

Modified Files:
	configure.in 
Log Message:
Check for an expat function that won't be there if expat is too old.


Index: configure.in
===================================================================
RCS file: /local/src/CVS/fontconfig/configure.in,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- configure.in	23 Apr 2003 00:08:02 -0000	1.33
+++ configure.in	1 May 2003 16:15:28 -0000	1.34
@@ -190,7 +190,7 @@
 		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 @@
 	
 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