From d4cb0a656b03540a143765121339557954d67312 Mon Sep 17 00:00:00 2001
From: n4hy <n4hy@221aa14e-8319-0410-a670-987f0aec2ac5>
Date: Thu, 22 Feb 2007 00:08:22 +0000
Subject: fix to qt versus qt-mt issues on Fedora and Debian/Ubuntu, qwt is
 next

git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4570 221aa14e-8319-0410-a670-987f0aec2ac5
---
 config/grc_gr_qtgui.m4 | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(limited to 'config')

diff --git a/config/grc_gr_qtgui.m4 b/config/grc_gr_qtgui.m4
index 42174a08ab..300462188a 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)
-- 
cgit v1.2.3