summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-04-14 15:41:29 +0200
committerLuboš Luňák <l.lunak@suse.cz>2011-04-14 15:41:29 +0200
commita47d3303b23834fbc9d2a1cc4db0f8a292c52f3a (patch)
treee18fde4fd6c747068d8ee4f1a65fc045664274ef
parent6efe9918d36368e6362128bf9021a2884b24f4a8 (diff)
fix qt4 moc detection
cannot use the same variable for two AC_PATH_PROG calls, as the first call will cache the result and the second one will reuse it
-rwxr-xr-xconfigure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 6f65e4612709..2b907b4ccd99 100755
--- a/configure.in
+++ b/configure.in
@@ -6911,7 +6911,8 @@ if test "$test_kde4" = "yes" -a "$ENABLE_KDE4" = "TRUE" ; then
dnl Check for Meta Object Compiler
- AC_PATH_PROG( MOC4, moc-qt4, no, [`dirname $qt_lib_dir`/bin:$QT4DIR/bin:$PATH] )
+ AC_PATH_PROG( MOCQT4, moc-qt4, no, [`dirname $qt_lib_dir`/bin:$QT4DIR/bin:$PATH] )
+ MOC4="$MOCQT4"
if test "$MOC4" = "no" ; then
AC_PATH_PROG( MOC4, moc, no, [`dirname $qt_lib_dir`/bin:$QT4DIR/bin:$PATH] )
if test "$MOC4" = "no" ; then