[cogl/wip/standalone: 2/11] tests: Don't build test-journal with --disable-glib



commit a5019181b0f8725473c058be0409014ac1e45dd9
Author: Damien Lespiau <damien lespiau intel com>
Date:   Sat Sep 15 14:26:18 2012 +0100

    tests: Don't build test-journal with --disable-glib
    
    test-journal needs cogl_glib_source_new() which is not available when
    compiling cogl with --disable-glib.

 tests/micro-perf/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/tests/micro-perf/Makefile.am b/tests/micro-perf/Makefile.am
index a8fb1b9..3b64053 100644
--- a/tests/micro-perf/Makefile.am
+++ b/tests/micro-perf/Makefile.am
@@ -11,7 +11,11 @@ test_conformance_CPPFLAGS = \
 	-DTESTS_DATADIR=\""$(top_srcdir)/tests/data"\"
 
 
-noinst_PROGRAMS = test-journal
+noinst_PROGRAMS =
+
+if USE_GLIB
+noinst_PROGRAMS += test-journal
+endif
 
 AM_CFLAGS = $(COGL_DEP_CFLAGS) $(COGL_EXTRA_CFLAGS)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]