aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2022-10-14 12:02:26 +0000
committerIngo Klöcker <[email protected]>2022-10-14 12:02:26 +0000
commit1792db58346cb39fd99332478d56dc190bae7836 (patch)
tree270e3ea3dd69477c9225111ed8b7e7918cb5f2de
parentdoc: Update NEWS (diff)
downloadgpgme-1792db58346cb39fd99332478d56dc190bae7836.tar.gz
gpgme-1792db58346cb39fd99332478d56dc190bae7836.zip
build,qt: Fail check for Qt if moc wasn't found
* m4/qt5.m4, m4/qt6.m4: Perform build test only if moc was found. -- If moc wasn't found but the build test (which doesn't require moc) succeeded, then success was reported.
Diffstat (limited to '')
-rw-r--r--m4/qt5.m42
-rw-r--r--m4/qt6.m42
2 files changed, 4 insertions, 0 deletions
diff --git a/m4/qt5.m4 b/m4/qt5.m4
index db32e686..ecf044fc 100644
--- a/m4/qt5.m4
+++ b/m4/qt5.m4
@@ -55,6 +55,8 @@ AC_DEFUN([FIND_QT5],
fi
fi
AC_MSG_RESULT([$mocversion])
+ fi
+ if test "$have_qt5_libs" = "yes"; then
dnl Check that a binary can actually be build with this qt.
dnl pkg-config may be set up in a way that it looks also for libraries
dnl of the build system and not only for the host system. In that case
diff --git a/m4/qt6.m4 b/m4/qt6.m4
index 75afb485..0eef5543 100644
--- a/m4/qt6.m4
+++ b/m4/qt6.m4
@@ -52,6 +52,8 @@ AC_DEFUN([FIND_QT6],
fi
fi
AC_MSG_RESULT([$mocversion])
+ fi
+ if test "$have_qt6_libs" = "yes"; then
dnl Check that a binary can actually be build with this qt.
dnl pkg-config may be set up in a way that it looks also for libraries
dnl of the build system and not only for the host system. In that case