proxy/gnome: Only build the test if we are building gnome proxy support
authorKalev Lember <kalevlember@gmail.com>
Tue, 18 Oct 2011 11:33:45 +0000 (14:33 +0300)
committerDan Winship <danw@gnome.org>
Wed, 19 Oct 2011 15:18:24 +0000 (11:18 -0400)
Fixes the build with mingw32.

https://bugzilla.gnome.org/show_bug.cgi?id=662085

proxy/tests/Makefile.am

index 78c3d17..ec4732c 100644 (file)
@@ -11,6 +11,6 @@ noinst_PROGRAMS = $(TEST_PROGS)
 LDADD  = \
        $(GLIB_LIBS)
 
-TEST_PROGS +=          \
-       gnome           \
-       $(NULL)
+if HAVE_GNOME_PROXY
+TEST_PROGS += gnome
+endif