summaryrefslogtreecommitdiff
path: root/config/grc_gr_wxgui.m4
diff options
context:
space:
mode:
authorjcorgan2006-08-08 01:09:07 +0000
committerjcorgan2006-08-08 01:09:07 +0000
commitfaa24d29c7ef9edc4634907b132f9fdc9f288f40 (patch)
tree89e0a79a56c7cfee30f264158f55e55ea20fc1f2 /config/grc_gr_wxgui.m4
parent4dc777af1a2c40bccd1894f58d4988bd642951a3 (diff)
downloadgnuradio-faa24d29c7ef9edc4634907b132f9fdc9f288f40.tar.gz
gnuradio-faa24d29c7ef9edc4634907b132f9fdc9f288f40.tar.bz2
gnuradio-faa24d29c7ef9edc4634907b132f9fdc9f288f40.zip
Fixes ticket 17.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3221 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'config/grc_gr_wxgui.m4')
-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
])