summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/grc_gr_qtgui.m48
1 files changed, 8 insertions, 0 deletions
diff --git a/config/grc_gr_qtgui.m4 b/config/grc_gr_qtgui.m4
index a62612904..d9700776c 100644
--- a/config/grc_gr_qtgui.m4
+++ b/config/grc_gr_qtgui.m4
@@ -28,6 +28,14 @@ AC_DEFUN([GRC_GR_QTGUI],[
dnl yes : if the --enable code passed muster and all dependencies are met
dnl no : otherwise
+ PYTHON_CHECK_MODULE([PyQt4.QtCore], [PyQt4 for Qt4], \
+ [passed=yes], [passed=no], \
+ [PyQt4.QtCore.PYQT_VERSION >= 260000])
+
+ # Enable this if we want to test for PyQwt, too
+ #PYTHON_CHECK_MODULE([PyQt4.Qwt5], [PyQwt5 for Qt4], \
+ # [passed=yes], [passed=no], \
+ # [PyQt4.Qwt5.QWT_VERSION >= 327000])
# Check for:
# QtOpenGL