--- avahi-0.6.23/configure.ac	2008-07-20 18:38:46.000000000 +0200
+++ avahi-0.6.23.cp/configure.ac	2008-06-24 01:17:27.000000000 +0200
@@ -482,7 +482,7 @@
         AC_SUBST(QT3_CFLAGS)
         AC_SUBST(QT3_LIBS)
 	    QT3_PREFIX="`$PKG_CONFIG --variable=prefix qt-mt`/bin"
-        AC_PATH_PROGS(MOC_QT3, [moc-qt3 moc], no, [$QT3_PREFIX])
+        AC_PATH_PROGS(MOC_QT3, [moc-qt3 moc], no, [/usr/bin])
         if test "$MOC_QT3" = no; then
             AC_MSG_ERROR([Could not find QT3 moc])
         fi
@@ -507,7 +507,7 @@
         AC_SUBST(QT4_CFLAGS)
         AC_SUBST(QT4_LIBS)
 	    QT4_PREFIX="`$PKG_CONFIG --variable=prefix QtCore`/bin"
-        AC_PATH_PROGS(MOC_QT4, [moc-qt4 moc], no, [$QT4_PREFIX])
+        AC_PATH_PROGS(MOC_QT4, [moc-qt4 moc], no, [/usr/bin/qt4])
         if test "$MOC_QT4" = no; then
             AC_MSG_ERROR([Could not find QT4 moc])
         fi
