The correct grc_qt_qtgui.m4 and modified instructions for qwt install provided in...
[debian/gnuradio] / config / grc_gr_qtgui.m4
index aa8ca7c89125770b306f7e349688f0e2d428a156..8c5216971b131a3d7a7bec3e798b10fb5829bc2e 100644 (file)
@@ -36,8 +36,8 @@ AC_DEFUN([GRC_GR_QTGUI],[
        [passed=no;AC_MSG_RESULT([gr-qtgui requires qt, not found. Checking for qt-mt])])
     fi
 
-    AC_HAVE_LIBRARY(qwt, [],
-       [passed=no;AC_MSG_RESULT([gr-qtgui requires qwt, not found.])])
+    PKG_CHECK_MODULES(qwt, qwt >= 5.0,[],
+    [passed=no;AC_MSG_RESULT([gr-qtgui requires qwt, not found. Checking for qt-mt])])
 
     
     GRC_BUILD_CONDITIONAL([gr-qtgui], [