summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 02:00:42 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 02:00:42 +0000
commit27f9ba507c0961dae2dcd904ee65f2e09155f72e (patch)
treee421a29b6f0579c3f9319558dd3d245738293790
parent1a728579ee726fe5a6b509929534baf672d211fb (diff)
downloadother-27f9ba507c0961dae2dcd904ee65f2e09155f72e.tar.gz
other-27f9ba507c0961dae2dcd904ee65f2e09155f72e.zip
Fix TQt version detection
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1237071 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--admin/acinclude.m4.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/acinclude.m4.in b/admin/acinclude.m4.in
index 51eb845..5e643da 100644
--- a/admin/acinclude.m4.in
+++ b/admin/acinclude.m4.in
@@ -1235,7 +1235,9 @@ AC_DEFUN([KDE_USE_QT],
ac_cxxflags_safe="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -I/usr/include/tqt"
AC_TRY_COMPILE([
+ #define TQT_VERSION_ONLY
#include <tqt.h>
+ #undef TQT_VERSION_ONLY
#ifdef USE_QT4
choke me
#endif