summaryrefslogtreecommitdiff
path: root/m4/ax_valgrind_check.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_valgrind_check.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_valgrind_check.m4')
-rw-r--r--m4/ax_valgrind_check.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/ax_valgrind_check.m4 b/m4/ax_valgrind_check.m4
index 6cb39e7..35cce02 100644
--- a/m4/ax_valgrind_check.m4
+++ b/m4/ax_valgrind_check.m4
@@ -48,14 +48,14 @@
#
# LICENSE
#
-# Copyright (c) 2014, 2015 Philip Withnall <philip.withnall@collabora.co.uk>
+# Copyright (c) 2014, 2015, 2016 Philip Withnall <philip.withnall@collabora.co.uk>
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 4
+#serial 5
AC_DEFUN([AX_VALGRIND_CHECK],[
dnl Check for --enable-valgrind
@@ -167,8 +167,8 @@ else
@echo "Need to reconfigure with --enable-valgrind"
endif
-DISTCHECK_CONFIGURE_FLAGS ?=
-DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
+A''M_DISTCHECK_CONFIGURE_FLAGS ?=
+A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
MOSTLYCLEANFILES ?=
MOSTLYCLEANFILES += $(valgrind_log_files)