[glib-networking] proxy/gnome: Only build the test if we are building gnome proxy support



commit ee759665d5b676ac5aaa53402a7347fcd5a786f4
Author: Kalev Lember <kalevlember gmail com>
Date:   Tue Oct 18 14:33:45 2011 +0300

    proxy/gnome: Only build the test if we are building gnome proxy support
    
    Fixes the build with mingw32.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662085

 proxy/tests/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/proxy/tests/Makefile.am b/proxy/tests/Makefile.am
index 78c3d17..ec4732c 100644
--- a/proxy/tests/Makefile.am
+++ b/proxy/tests/Makefile.am
@@ -11,6 +11,6 @@ noinst_PROGRAMS = $(TEST_PROGS)
 LDADD  = \
 	$(GLIB_LIBS)
 
-TEST_PROGS +=		\
-	gnome		\
-	$(NULL)
+if HAVE_GNOME_PROXY
+TEST_PROGS += gnome
+endif



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