[tracker/tracker-0.10] tests/libtracker-extract: compile/run encoding testing only with right deps



commit 4feedbcb623aa02b4b36bc3c8655613192ab5824
Author: Ivan Frade <ivan frade gmail com>
Date:   Fri Sep 9 16:31:23 2011 +0300

    tests/libtracker-extract: compile/run encoding testing only with right deps
    
    The test will only work if enca or libmeegotouch are installed.

 tests/libtracker-extract/Makefile.am |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/tests/libtracker-extract/Makefile.am b/tests/libtracker-extract/Makefile.am
index 7024ca2..c8fca25 100644
--- a/tests/libtracker-extract/Makefile.am
+++ b/tests/libtracker-extract/Makefile.am
@@ -3,10 +3,17 @@ include $(top_srcdir)/Makefile.decl
 noinst_PROGRAMS = $(TEST_PROGS)
 
 TEST_PROGS +=                                          \
-	tracker-encoding                               \
 	tracker-test-utils                             \
 	tracker-test-xmp
 
+if HAVE_ENCA
+TEST_PROGS += tracker-encoding
+else 
+  if HAVE_MEEGOTOUCH
+    TEST_PROGS += tracker-encoding
+  endif
+endif
+
 AM_CPPFLAGS =                                          \
 	-DTOP_SRCDIR=\"$(abs_top_srcdir)\"             \
 	-DTOP_BUILDDIR=\"$(abs_top_builddir)\"         \



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