[gtk+] Only build testfontchooserdialog on linux



commit 9fbd71394c172d783422622d9acd32c68d748701
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 13 23:00:41 2015 -0400

    Only build testfontchooserdialog on linux
    
    We are using this to test pango functionality that
    uses fontconfig apis, so this doesn't build on OS X
    or Windows anymore.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=750892

 tests/Makefile.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d5c40b8..95ac80f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -26,6 +26,10 @@ if USE_X11
 testsocket_programs = testsocket testsocket_child
 endif
 
+if OS_LINUX
+fontconfig_programs = testfontchooserdialog
+endif
+
 noinst_PROGRAMS =  $(TEST_PROGS)       \
        overlayscroll                   \
        syncscroll                      \
@@ -68,7 +72,7 @@ noinst_PROGRAMS =  $(TEST_PROGS)      \
        testfontselection               \
        testfontselectiondialog         \
        testfontchooser                 \
-       testfontchooserdialog           \
+       $(fontconfig_programs)          \
        testframe                       \
        testfullscreen                  \
        testgeometry                    \


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