summaryrefslogtreecommitdiff
path: root/m4/ax_code_coverage.m4
diff options
context:
space:
mode:
authorBastien Roucariès <bastien.roucaries+debian@gmail.com>2018-03-18 22:39:38 +0100
committerBastien Roucariès <bastien.roucaries+debian@gmail.com>2018-03-18 22:39:38 +0100
commit74522d3a3b072ae9820610c5bd9a52a00499fcf5 (patch)
tree5bf4e942c196bba1afd1899b02cfbb134843f824 /m4/ax_code_coverage.m4
parente794551e1dea9110b8283169e1d0abe4264acb73 (diff)
downloadautoconf-archive-74522d3a3b072ae9820610c5bd9a52a00499fcf5.tar.gz
Force use of GNU make
GNU make was required so check it use
Diffstat (limited to 'm4/ax_code_coverage.m4')
-rw-r--r--m4/ax_code_coverage.m48
1 files changed, 2 insertions, 6 deletions
diff --git a/m4/ax_code_coverage.m4 b/m4/ax_code_coverage.m4
index 3466d51..5fe2843 100644
--- a/m4/ax_code_coverage.m4
+++ b/m4/ax_code_coverage.m4
@@ -49,11 +49,6 @@
# (`make check`) and build a code coverage report detailing the code which
# was touched, then print the URI for the report.
#
-# In earlier versions of this macro, CODE_COVERAGE_LDFLAGS was defined
-# instead of CODE_COVERAGE_LIBS. They are both still defined, but use of
-# CODE_COVERAGE_LIBS is preferred for clarity; CODE_COVERAGE_LDFLAGS is
-# deprecated. They have the same value.
-#
# This code was derived from Makefile.decl in GLib, originally licenced
# under LGPLv2.1+.
#
@@ -79,7 +74,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-#serial 28
+#serial 29
m4_define(_AX_CODE_COVERAGE_RULES,[
AX_ADD_AM_MACRO_STATIC([
@@ -211,6 +206,7 @@ code-coverage-capture-hook:
])
AC_DEFUN([_AX_CODE_COVERAGE_ENABLED],[
+ AX_CHECK_GNU_MAKE([],[AC_MSG_ERROR([not using GNU make that is needed for coverage])])
AC_REQUIRE([AX_ADD_AM_MACRO_STATIC])
# check for gcov
AC_CHECK_TOOL([GCOV],