diff options
-rw-r--r-- | config/grc_gr_qtgui.m4 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config/grc_gr_qtgui.m4 b/config/grc_gr_qtgui.m4 index 42174a08a..300462188 100644 --- a/config/grc_gr_qtgui.m4 +++ b/config/grc_gr_qtgui.m4 @@ -28,10 +28,17 @@ AC_DEFUN([GRC_GR_QTGUI],[ passed=yes PKG_CHECK_MODULES(QT, qt >= 3.3,[], - [passed=no;AC_MSG_RESULT([gr-qtgui requires qt, not found. Check for symlink between qt-mt.pc and qt.pc])]) + [passed=no;AC_MSG_RESULT([gr-qtgui requires qt, not found. Checking for qt-mt])]) + + if test x$passed == xno; then + passed=yes + PKG_CHECK_MODULES(QT, qt-mt >= 3.3,[], + [passed=no;AC_MSG_RESULT([gr-qtgui requires qt, not found. Checking for qt-mt])]) + fi PKG_CHECK_MODULES(QWT, qwt >= 5.0.0, [], [passed=no;AC_MSG_RESULT([gr-qtgui requires qwt, not found.])]) + GRC_BUILD_CONDITIONAL([gr-qtgui], [ AC_SUBST(QT_LIBS) |