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
This commit is contained in:
Matthias Clasen 2015-06-13 23:00:41 -04:00
parent d1f2e5896b
commit 9fbd71394c

View File

@ -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 \