Blob Blame History Raw
From b46ee18dce0dcf417b443d780444081cf239c0c5 Mon Sep 17 00:00:00 2001
From: Kalev Lember <kalevlember@gmail.com>
Date: Tue, 18 Oct 2011 14:33:45 +0300
Subject: [PATCH] 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 |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/proxy/tests/Makefile.am b/proxy/tests/Makefile.am
index a1e69bd..e2d05d3 100644
--- a/proxy/tests/Makefile.am
+++ b/proxy/tests/Makefile.am
@@ -14,6 +14,9 @@ noinst_PROGRAMS = $(TEST_PROGS)
 LDADD  = \
 	$(GLIB_LIBS)
 
+if HAVE_GNOME_PROXY
+TEST_PROGS += gnome
+endif
+
 TEST_PROGS +=		\
-	gnome		\
 	$(NULL)
-- 
1.7.6.4