Index: avahi-0.6.21/configure.ac
===================================================================
--- avahi-0.6.21.orig/configure.ac	2007-08-16 21:36:12.000000000 +0200
+++ avahi-0.6.21/configure.ac	2007-08-16 21:45:14.000000000 +0200
@@ -700,10 +700,6 @@
         esac],
         [HAVE_PYGTK=yes])
     
-    if test "x$HAVE_PYGTK" = "xyes" ; then
-        AM_CHECK_PYMOD(gtk,,,[AC_MSG_ERROR(Could not find Python module gtk)])
-    fi
-
 
     if test "x$HAVE_DBUS" = "xyes" ; then
         AC_ARG_ENABLE(python-dbus,
@@ -715,11 +711,6 @@
             esac],
             [HAVE_PYTHON_DBUS=yes])
     
-        if test "x$HAVE_PYTHON_DBUS" = "xyes"; then
-            AM_CHECK_PYMOD(dbus,,,[AC_MSG_ERROR(Could not find Python module dbus)])
-        fi
-
-        AM_CHECK_PYMOD(socket,,,[AC_MSG_ERROR(Could not find Python module socket)])
         if test "x$HAVE_GDBM" = "xyes"; then
             AM_CHECK_PYMOD(gdbm,,,[AC_MSG_ERROR(Could not find Python module gdbm)])
         fi