summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Fernengel <harry@kdevelop.org>2005-10-20 14:56:24 +0000
committerHarald Fernengel <harry@kdevelop.org>2005-10-20 14:56:24 +0000
commit396b9c9e709f9abd6906a962382df409e118a48c (patch)
treee255c934e375e9361fd851e5abe03e81e23545ca
parent2b9417707a6cac377e2caca047fde8169236d93e (diff)
applied patch by Timo Hoenig <thoenig at suse de> for better Qt 3 detection
-rw-r--r--configure.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 60fff029..9f049bbb 100644
--- a/configure.in
+++ b/configure.in
@@ -933,10 +933,10 @@ AC_SUBST(DBUS_GTK_THREADS_LIBS)
dnl Qt3 detection
AC_PATH_PROG(QT3_MOC, moc, no)
-have_qt=no
+have_qt3=no
AC_MSG_CHECKING([for qglobal.h])
if test -n "$QTDIR" -a -f "$QTDIR/include/qglobal.h"; then
- have_qt=yes
+ have_qt3=yes
DBUS_QT3_CXXFLAGS="-I$QTDIR/include"
else
for dir in "${prefix}/include/qt" "/usr/include/qt-3.1" "/usr/include/qt3" "/usr/include/qt" "/usr/lib/qt/include" "/usr/lib/qt-3.1/include"; do
@@ -947,13 +947,13 @@ else
fi
done
fi
-if test x"$have_qt3" = x"yes"; then
+if test x$have_qt3 = xyes; then
AC_MSG_RESULT([found])
else
AC_MSG_RESULT([not found])
fi
-if test x$have_qt3 = xno ; then
+if test x$have_qt3 = xno; then
AC_MSG_WARN([Qt3 development libraries not found])
fi