summaryrefslogtreecommitdiff
path: root/config/grc_gr_pager.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_pager.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_pager.m4')
-rw-r--r--config/grc_gr_pager.m420
1 files changed, 8 insertions, 12 deletions
diff --git a/config/grc_gr_pager.m4 b/config/grc_gr_pager.m4
index cfd0d25b4..cb417ae25 100644
--- a/config/grc_gr_pager.m4
+++ b/config/grc_gr_pager.m4
@@ -18,22 +18,18 @@ dnl the Free Software Foundation, Inc., 51 Franklin Street,
dnl Boston, MA 02110-1301, USA.
AC_DEFUN([GRC_GR_PAGER],[
- GRC_ENABLE([gr-pager])
+ GRC_ENABLE(gr-pager)
+
+ dnl Don't do gr-pager if gnuradio-core skipped
+ GRC_CHECK_DEPENDENCY(gr-pager, gnuradio-core)
AC_CONFIG_FILES([\
- gr-pager/Makefile \
- gr-pager/src/Makefile \
- gr-pager/src/run_tests
+ gr-pager/Makefile \
+ gr-pager/src/Makefile \
+ gr-pager/src/run_tests
])
- passed=yes
- # Don't do gr-pager if gnuradio-core skipped
- if test x$gnuradio_core_skipped = xyes; then
- AC_MSG_RESULT([Component gr-pager requires gnuradio-core, which is not being built or specified via pre-installed files.])
- passed=no
- fi
-
- GRC_BUILD_CONDITIONAL([gr-pager],[
+ GRC_BUILD_CONDITIONAL(gr-pager,[
dnl run_tests is created from run_tests.in. Make it executable.
AC_CONFIG_COMMANDS([run_tests_pager], [chmod +x gr-pager/src/run_tests])
])