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
commit754333b574ac43c5f955a08c5d676197606b029f (patch)
tree862412f2314a27381786963ed058c47ebed5d65a
parentb8493052fa9755981a09ddac8f137c544db129f6 (diff)
downloadadmin-754333b574ac43c5f955a08c5d676197606b029f.tar.gz
admin-754333b574ac43c5f955a08c5d676197606b029f.zip
Fix TQt version detection
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/admin@1237071 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--acinclude.m4.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/acinclude.m4.in b/acinclude.m4.in
index 51eb845..5e643da 100644
--- a/acinclude.m4.in
+++ b/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