diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2020-07-07 10:12:39 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2020-07-07 10:13:38 +0200 |
commit | 327b2da4fb1211fb5c46b5a52d679f3ddb0de618 (patch) | |
tree | b7b6a5b2767a9f915e50eaf804d95e079a15c4ed | |
parent | e814d3d9b0dee4a719f047af5557490c1efc5b97 (diff) |
configure: try to fail early if qt5 header QtCore/qconfig-32.h missing
Unfortunately configure passes successfully if qt5-qtbase-devel-*.x86_64
is installed but the host cpu is i686.
Change-Id: I6afcec6e18294daa48e92e4f3879d96365ce337f
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index df7094a8145c..2a32ba1cd42d 100644 --- a/configure.ac +++ b/configure.ac @@ -11348,6 +11348,9 @@ then if test "x$qt5_incdir" = "xno"; then AC_MSG_ERROR([Qt5 headers not found. Please specify the root of your Qt5 installation by exporting QT5DIR before running "configure".]) fi + # check for scenario: qt5-qtbase-devel-*.86_64 installed but host is i686 + AC_CHECK_HEADER(QtCore/qconfig.h, [], + [AC_MSG_ERROR(qconfig.h header not found.)], []) AC_MSG_CHECKING([for Qt5 libraries]) qt5_libdir="no" |