From 9fbd71394c172d783422622d9acd32c68d748701 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 13 Jun 2015 23:00:41 -0400 Subject: [PATCH] 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 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index d5c40b8448..95ac80fffe 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 \