Author: n4hy
Date: 2007-02-21 17:08:22 -0700 (Wed, 21 Feb 2007)
New Revision: 4570

Modified:
   gnuradio/trunk/config/grc_gr_qtgui.m4
Log:
fix to qt versus qt-mt issues on Fedora and Debian/Ubuntu, qwt is next

Modified: gnuradio/trunk/config/grc_gr_qtgui.m4
===================================================================
--- gnuradio/trunk/config/grc_gr_qtgui.m4       2007-02-21 23:54:11 UTC (rev 
4569)
+++ gnuradio/trunk/config/grc_gr_qtgui.m4       2007-02-22 00:08:22 UTC (rev 
4570)
@@ -28,10 +28,17 @@
 
     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)



_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio

Reply via email to