summaryrefslogtreecommitdiff
path: root/config/grc_gr_radio_astronomy.m4
diff options
context:
space:
mode:
authorjcorgan2008-02-29 04:00:13 +0000
committerjcorgan2008-02-29 04:00:13 +0000
commit90e4faa68bbb21a21a459755942756686985ba46 (patch)
treea6eec2a8e877a0d9aa5000a1dfb069cc772c8312 /config/grc_gr_radio_astronomy.m4
parentc7da4a90c594001596ab869cfa4bfb2479c9ac6d (diff)
downloadgnuradio-90e4faa68bbb21a21a459755942756686985ba46.tar.gz
gnuradio-90e4faa68bbb21a21a459755942756686985ba46.tar.bz2
gnuradio-90e4faa68bbb21a21a459755942756686985ba46.zip
Merged r7769:7873 from michaelld/bc_behavior into trunk.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7888 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'config/grc_gr_radio_astronomy.m4')
-rw-r--r--config/grc_gr_radio_astronomy.m424
1 files changed, 10 insertions, 14 deletions
diff --git a/config/grc_gr_radio_astronomy.m4 b/config/grc_gr_radio_astronomy.m4
index cc966295b..0affe5d78 100644
--- a/config/grc_gr_radio_astronomy.m4
+++ b/config/grc_gr_radio_astronomy.m4
@@ -18,24 +18,20 @@ dnl the Free Software Foundation, Inc., 51 Franklin Street,
dnl Boston, MA 02110-1301, USA.
AC_DEFUN([GRC_GR_RADIO_ASTRONOMY],[
- GRC_ENABLE([gr-radio-astronomy])
+ GRC_ENABLE(gr-radio-astronomy)
+
+ dnl Don't do gr-radio-astronomy if gnuradio-core skipped
+ GRC_CHECK_DEPENDENCY(gr-radio-astronomy, gnuradio-core)
AC_CONFIG_FILES([\
- gr-radio-astronomy/Makefile \
- gr-radio-astronomy/src/Makefile \
- gr-radio-astronomy/src/lib/Makefile \
- gr-radio-astronomy/src/python/Makefile \
- gr-radio-astronomy/src/python/run_tests \
+ gr-radio-astronomy/Makefile \
+ gr-radio-astronomy/src/Makefile \
+ gr-radio-astronomy/src/lib/Makefile \
+ gr-radio-astronomy/src/python/Makefile \
+ gr-radio-astronomy/src/python/run_tests \
])
- passed=yes
- # Don't do gr-radio-astronomy if gnuradio-core skipped
- if test x$gnuradio_core_skipped = xyes; then
- AC_MSG_RESULT([Component gr-radio-astronomy requires gnuradio-core, which is not being built or specified via pre-installed files.])
- passed=no
- fi
-
- GRC_BUILD_CONDITIONAL([gr-radio-astronomy],[
+ GRC_BUILD_CONDITIONAL(gr-radio-astronomy,[
dnl run_tests is created from run_tests.in. Make it executable.
AC_CONFIG_COMMANDS([run_tests_astronomy], [chmod +x gr-radio-astronomy/src/python/run_tests])
])