Fix build with glib but not freetype
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 2 Aug 2011 17:44:24 +0000 (13:44 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 2 Aug 2011 17:44:24 +0000 (13:44 -0400)
test/Makefile.am

index b1a9b87..a769688 100644 (file)
@@ -20,7 +20,6 @@ TEST_PROGS = \
        test-buffer \
        test-common \
        test-font \
-       test-object \
        test-shape \
        test-unicode \
        test-version \
@@ -45,13 +44,13 @@ endif
 if HAVE_FREETYPE
 test_c_CPPFLAGS += $(FREETYPE_CFLAGS)
 test_cplusplus_CPPFLAGS += $(FREETYPE_CFLAGS)
+
 # TODO replace freetype with other stuff in the following test
+TEST_PROGS += test-object
 test_object_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
 test_object_LDADD = $(LDADD) $(FREETYPE_LIBS)
 
-TEST_PROGS += \
-       test-shape-complex \
-       $(NULL)
+TEST_PROGS += test-shape-complex
 test_shape_complex_CPPFLAGS = $(AM_CPPFLAGS) $(FREETYPE_CFLAGS)
 test_shape_complex_LDADD = $(LDADD) $(FREETYPE_LIBS)
 endif