summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/grc_gr_wxgui.m411
1 files changed, 5 insertions, 6 deletions
diff --git a/config/grc_gr_wxgui.m4 b/config/grc_gr_wxgui.m4
index 2713f9b08..f48fb2ab7 100644
--- a/config/grc_gr_wxgui.m4
+++ b/config/grc_gr_wxgui.m4
@@ -20,16 +20,15 @@ dnl Boston, MA 02111-1307, USA.
AC_DEFUN([GRC_GR_WXGUI],[
AC_CONFIG_SRCDIR([gr-wxgui/src/python/stdgui.py])
- # FIXME: Should we actually check for wxPython, even though
- # this is a runtime requirement, not a compile/install time one?
- #
- # This is logged as ticket 17
-
AC_CONFIG_FILES([ \
gr-wxgui/Makefile \
gr-wxgui/src/Makefile \
gr-wxgui/src/python/Makefile \
])
- subdirs="$subdirs gr-wxgui"
+ if python -c 'import wx'; then
+ subdirs="$subdirs gr-wxgui"
+ else
+ failed="$failed gr-wxgui"
+ fi
])