summaryrefslogtreecommitdiff
path: root/m4/ax_code_coverage.m4
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2016-01-31 12:45:11 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2016-02-01 11:08:41 +0000
commit33f450aa455e3976fe94232be0dc8f062e55e17c (patch)
tree9f59004e16daa4c45c9de628af1cf0e0b9474550 /m4/ax_code_coverage.m4
parentbe2a3e994be81101dd0e02da57200cc9fae84b0a (diff)
downloadautoconf-archive-33f450aa455e3976fe94232be0dc8f062e55e17c.tar.gz
Use AM_DISTCHECK_CONFIGURE_FLAGS instead of DISTCHECK_CONFIGURE_FLAGS
DISTCHECK_CONFIGURE_FLAGS (no prefix) is for the user to override the distcheck configure flags. The AM_-prefixed version is for build systems to use. https://www.gnu.org/software/automake/manual/html_node/Checking-the-Distribution.html
Diffstat (limited to 'm4/ax_code_coverage.m4')
-rw-r--r--m4/ax_code_coverage.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/ax_code_coverage.m4 b/m4/ax_code_coverage.m4
index 9377767..81cd26d 100644
--- a/m4/ax_code_coverage.m4
+++ b/m4/ax_code_coverage.m4
@@ -49,7 +49,7 @@
#
# LICENSE
#
-# Copyright (c) 2012 Philip Withnall
+# Copyright (c) 2012, 2016 Philip Withnall
# Copyright (c) 2012 Xan Lopez
# Copyright (c) 2012 Christian Persch
# Copyright (c) 2012 Paolo Borelli
@@ -69,7 +69,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#serial 9
+#serial 10
AC_DEFUN([AX_CODE_COVERAGE],[
dnl Check for --enable-code-coverage
@@ -233,8 +233,8 @@ endif
GITIGNOREFILES ?=
GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
-DISTCHECK_CONFIGURE_FLAGS ?=
-DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
+A''M_DISTCHECK_CONFIGURE_FLAGS ?=
+A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
.PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
'