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



commit 5d2087588a9c804dbe57be3c7a66989cb6f48756
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 a1e69bd..c6dff1e 100644
--- a/proxy/tests/Makefile.am
+++ b/proxy/tests/Makefile.am
@@ -14,6 +14,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]