[Expat-checkins] expat/tests chardata.c, 1.5, 1.6 runtests.c, 1.53, 1.54

Fred L. Drake fdrake at users.sourceforge.net
Thu Oct 16 00:51:13 EDT 2003


Update of /cvsroot/expat/expat/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv1498/tests

Modified Files:
	chardata.c runtests.c 
Log Message:
Make it possible to avoid the import of expat_config.h.  This makes it
easier to compile Expat without the autoconf support.
This closes SF patch #458907.


Index: chardata.c
===================================================================
RCS file: /cvsroot/expat/expat/tests/chardata.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- chardata.c	9 Oct 2003 21:32:28 -0000	1.5
+++ chardata.c	16 Oct 2003 04:51:11 -0000	1.6
@@ -4,7 +4,9 @@
    chardata.c
 */
 
+#ifdef HAVE_EXPAT_CONFIG_H
 #include <expat_config.h>
+#endif
 #ifdef HAVE_CHECK_H
 #include <check.h>
 #else

Index: runtests.c
===================================================================
RCS file: /cvsroot/expat/expat/tests/runtests.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- runtests.c	15 Oct 2003 16:25:43 -0000	1.53
+++ runtests.c	16 Oct 2003 04:51:11 -0000	1.54
@@ -4,7 +4,10 @@
    runtest.c : run the Expat test suite
 */
 
+#ifdef HAVE_EXPAT_CONFIG_H
 #include <expat_config.h>
+#endif
+
 #ifdef HAVE_CHECK_H
 #include <check.h>
 #else





More information about the Expat-checkins mailing list