$NetBSD: patch-ai,v 1.10 2009/10/21 10:18:57 drochner Exp $

--- configure.orig	2009-10-18 01:28:46.000000000 +0200
+++ configure
@@ -20647,7 +20647,7 @@ fi
 if test x$enable_poppler_qt4 = xyes; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt4 moc" >&5
 $as_echo_n "checking for Qt4 moc... " >&6; }
-  MOCQT4=`which moc`
+  MOCQT4=${QTDIR}/bin/moc
   mocversion=`$MOCQT4 -v 2>&1`
   mocversiongrep=`echo $mocversion | grep "Qt 4"`
   if test x"$mocversiongrep" != x"$mocversion"; then
