--- ./Makefile.am.orig
+++ ./Makefile.am
@@ -11,9 +11,9 @@
 
 if HAVE_GNOME_PROXY
 SUBDIRS += proxy/gnome
+SUBDIRS += proxy/tests
 endif
 
-SUBDIRS += proxy/tests
 
 if HAVE_GNUTLS
 SUBDIRS += tls/gnutls
