Check for MOC also if pinentry-qt is disabled
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 6 Aug 2014 14:09:55 +0000 (16:09 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 6 Aug 2014 14:09:55 +0000 (16:09 +0200)
  * configure.ac: Call QT_PATH_MOC if pinentry_qt4 is not no.

--
  Previously the MOC lookup from m4/qt.m4 would only be called
  if pinentry-qt was at least maybe. The MOC variable defined by
  this macro is also used in pinentry-qt4 though.

configure.ac

index b4133b0..595c2aa 100644 (file)
@@ -427,6 +427,7 @@ fi)
 fi
 
 if test "$pinentry_qt4" != "no"; then
+QT_PATH_MOC
 PKG_CHECK_MODULES(QT4_GUI, QtGui,,
 if test "$pinentry_qt4" = "yes"; then
     AC_MSG_ERROR([[