From: n4hy Date: Sun, 4 Mar 2007 04:10:11 +0000 (+0000) Subject: The correct grc_qt_qtgui.m4 and modified instructions for qwt install provided in... X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=2f103c4224ad022f862b31307b6c8fa6ca500e1d;p=debian%2Fgnuradio The correct grc_qt_qtgui.m4 and modified instructions for qwt install provided in the README file git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4709 221aa14e-8319-0410-a670-987f0aec2ac5 --- diff --git a/config/grc_gr_qtgui.m4 b/config/grc_gr_qtgui.m4 index aa8ca7c8..8c521697 100644 --- a/config/grc_gr_qtgui.m4 +++ b/config/grc_gr_qtgui.m4 @@ -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], [ diff --git a/gr-qtgui/README b/gr-qtgui/README index c4c32412..428c5989 100644 --- a/gr-qtgui/README +++ b/gr-qtgui/README @@ -35,15 +35,19 @@ Now edit the file qwtconfig.pri and make the INSTALLBASE = /usr/local + run make sudo make install -and qwt will be loaded into /usr/local/lib and the includes will be in -/usr/local/include +edit qwt.pc and change the prefix to be /usr/local and then install this file in /usr/local/lib/pkgconfig + + +qwt will be loaded into /usr/local/lib and the includes will be in /usr/local/include, qwt.pc will cause all of the +necessary flags to be including in the make files. -gr-qtgui will now make. +gr-qtgui will now make.