From e8542abdbf4da924dcdc54bfe2e7a20cda55c26b Mon Sep 17 00:00:00 2001 From: Eric Blossom Date: Mon, 6 Dec 2010 19:10:45 -0800 Subject: Add prefix = NONE test to gr-howto-write-a-block --- gr-howto-write-a-block/configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gr-howto-write-a-block/configure.ac') diff --git a/gr-howto-write-a-block/configure.ac b/gr-howto-write-a-block/configure.ac index 52c4639bb..fc4227d71 100644 --- a/gr-howto-write-a-block/configure.ac +++ b/gr-howto-write-a-block/configure.ac @@ -1,5 +1,5 @@ dnl -dnl Copyright 2004,2005,2007,2008,2009 Free Software Foundation, Inc. +dnl Copyright 2004,2005,2007,2008,2009,2010 Free Software Foundation, Inc. dnl dnl This file is part of GNU Radio dnl @@ -24,6 +24,12 @@ AC_INIT AC_PREREQ(2.57) AC_CONFIG_AUX_DIR([.]) +dnl Set the prefix to the default when --prefix is not specified. +dnl This is critical for variable substitutions in the configure. +if test "${prefix}" = "NONE"; then + prefix=${ac_default_prefix} +fi + AC_CANONICAL_BUILD AC_CANONICAL_HOST AC_CANONICAL_TARGET -- cgit From cc088ab014791450d9d5d88564f3f889ece74909 Mon Sep 17 00:00:00 2001 From: Eric Blossom Date: Mon, 6 Dec 2010 19:47:42 -0800 Subject: Add guile QA code to gr-howto-write-a-block --- gr-howto-write-a-block/configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gr-howto-write-a-block/configure.ac') diff --git a/gr-howto-write-a-block/configure.ac b/gr-howto-write-a-block/configure.ac index fc4227d71..ef5c98eeb 100644 --- a/gr-howto-write-a-block/configure.ac +++ b/gr-howto-write-a-block/configure.ac @@ -77,6 +77,7 @@ dnl AX_BOOST_WSERIALIZATION AC_CONFIG_FILES([\ Makefile \ + setup_guile_test_env \ apps/Makefile \ config/Makefile \ grc/Makefile \ @@ -84,10 +85,15 @@ AC_CONFIG_FILES([\ python/Makefile \ python/run_tests \ swig/Makefile \ + swig/run_guile_tests \ ]) dnl run_tests is created from run_tests.in. Make it executable. -AC_CONFIG_COMMANDS([run_tests], [chmod +x python/run_tests]) +AC_CONFIG_COMMANDS([run_tests], + [ + chmod +x python/run_tests + chmod +x swig/run_guile_tests + ]) AC_OUTPUT -- cgit