summaryrefslogtreecommitdiffstats
path: root/acinclude.m4.in
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-16 18:01:40 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-16 18:01:40 +0000
commitfd14d72f621b6c8febfa129d59ad3ab1fe115e62 (patch)
treeb5ff5e612610cfe5211fb4bf001264d655b2463f /acinclude.m4.in
parente868af3437672295670c4af0a75b544afdbf5766 (diff)
downloadadmin-fd14d72f621b6c8febfa129d59ad3ab1fe115e62.tar.gz
admin-fd14d72f621b6c8febfa129d59ad3ab1fe115e62.zip
Find the correct moc binary...
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/admin@1150780 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'acinclude.m4.in')
-rw-r--r--acinclude.m4.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/acinclude.m4.in b/acinclude.m4.in
index a82b560..2c44123 100644
--- a/acinclude.m4.in
+++ b/acinclude.m4.in
@@ -311,6 +311,14 @@ AC_DEFUN([AC_PATH_QT_MOC_UIC],
qt_bindirs="$ac_qt_bindir $qt_bindirs"
fi
+ if test "$kde_qtver" = "3"; then
+ qt_bindirs="/usr/share/qt3/bin $qt_bindirs"
+ fi
+
+ if test "$kde_qtver" = "4"; then
+ qt_bindirs="/usr/share/qt4/bin $qt_bindirs"
+ fi
+
KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE])
if test -z "$UIC_NOT_NEEDED"; then
KDE_FIND_PATH(uic, UIC_PATH, [$qt_bindirs], [UIC_PATH=""])