summaryrefslogtreecommitdiff
path: root/config/grc_gr_wxgui.m4
diff options
context:
space:
mode:
authorjcorgan2006-08-25 23:58:20 +0000
committerjcorgan2006-08-25 23:58:20 +0000
commit287fc41d5f82ff3236aa270689bd55278e2c841a (patch)
tree2b8fab047b42032276ffc9bac58bf1f01a7a7772 /config/grc_gr_wxgui.m4
parent23a71f0089b7c94b7c61a28dd6c0e5af668df79c (diff)
downloadgnuradio-287fc41d5f82ff3236aa270689bd55278e2c841a.tar.gz
gnuradio-287fc41d5f82ff3236aa270689bd55278e2c841a.tar.bz2
gnuradio-287fc41d5f82ff3236aa270689bd55278e2c841a.zip
Implements ticket:28. See BuildConfiguration for documentation.
Merged developer branch jcorgan/ticket-28 into trunk. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3417 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'config/grc_gr_wxgui.m4')
-rw-r--r--config/grc_gr_wxgui.m410
1 files changed, 7 insertions, 3 deletions
diff --git a/config/grc_gr_wxgui.m4 b/config/grc_gr_wxgui.m4
index f48fb2ab7..c9eaec403 100644
--- a/config/grc_gr_wxgui.m4
+++ b/config/grc_gr_wxgui.m4
@@ -18,7 +18,7 @@ dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
dnl Boston, MA 02111-1307, USA.
AC_DEFUN([GRC_GR_WXGUI],[
- AC_CONFIG_SRCDIR([gr-wxgui/src/python/stdgui.py])
+ GRC_ENABLE([gr-wxgui])
AC_CONFIG_FILES([ \
gr-wxgui/Makefile \
@@ -26,9 +26,13 @@ AC_DEFUN([GRC_GR_WXGUI],[
gr-wxgui/src/python/Makefile \
])
+ # FIXME: this breaks pkgsrc by calling python without a version number
+ # gdt--patch welcome :-)
if python -c 'import wx'; then
- subdirs="$subdirs gr-wxgui"
+ passed=yes
else
- failed="$failed gr-wxgui"
+ passed=no
fi
+
+ GRC_BUILD_CONDITIONAL([gr-wxgui])
])