--- a/src/configure
+++ b/src/configure
@@ -2214,7 +2214,7 @@
PATH=$QTDIR/bin:$PATH
export PATH
fi
-echo $PATH
+
# Extract the first word of "qmake", so it can be a program name with args.
set dummy qmake; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -2263,16 +2263,8 @@
{ (exit 1); exit 1; }; }
fi
-test -d tmp || mkdir tmp || exit 1
-cd tmp
-cat > bogus.pro <<EOF
-TEMPLATE = app
-LANGUAGE = C++
-CONFIG += qt warn_on thread release debug
-SOURCES += bogus.cpp
-EOF
-echo " " > bogus.cpp
-${QMAKE} bogus.pro
+cd qtgui
+${QMAKE} recoll.pro
if test $? != 0 ; then
{ { echo "$as_me:$LINENO: error: Cannot use qmake to generate a Makefile. Maybe you need to
check the QTDIR and QMAKESPEC environment variables?" >&5
@@ -2291,7 +2283,6 @@
{ (exit 1); exit 1; }; }
fi
fi
-rm -f bogus.pro bogus.cpp Makefile
cd ..