http://www.archive.org/download/tucows_10294_XScreenSaver/xscreensaver-4.10.tar.gz
[xscreensaver] / configure.in
index f9ba1a78069c2767ca92efc5a145f678f3341c30..a2337930bf8e0668a97638a65bcb402ab766d9e0 100644 (file)
@@ -3710,7 +3710,10 @@ if test "$gtk2_halfassed" != no ; then
 fi
 
 
-if test "$with_gnome_req" = yes -a "$have_gnome" = no ; then
+if test "$with_gnome_req" = yes -a "$have_gnome" = no \
+        -a "$have_gtk2" = no; then
+  # don't issue this warning if we have GTK2 -- in that case, the
+  # Gnome-specific code isn't needed.
   warn  'Use of the Gnome Control Panel was requested, but the necessary'
   warn2 'headers and/or libraries were not found.'
 fi