[gtk+] Fix build breakage on non-Unix



commit eb1233d11b030f883974f77176acef9719b49486
Author: Tor Lillqvist <tml iki fi>
Date:   Wed Jun 9 11:10:22 2010 +0300

    Fix build breakage on non-Unix
    
    gdesktopappinfo.h does is in gio-unix headers, so can compile
    testapplication only on Unix.

 tests/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index a7c9705..679262e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -32,7 +32,6 @@ noinst_PROGRAMS =  $(TEST_PROGS)	\
 	print-editor			\
 	extendedlayoutexample		\
 	testaccel			\
-	testapplication			\
 	testassistant			\
 	testbbox			\
 	testbuttons			\
@@ -98,6 +97,10 @@ noinst_PROGRAMS =  $(TEST_PROGS)	\
 	testtooltips			\
 	testvolumebutton
 
+if OS_UNIX
+noinst_PROGRAMS += testapplication
+endif
+
 if HAVE_CXX
 noinst_PROGRAMS += autotestkeywords
 TESTS = autotestkeywords



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