diff options
author | Björn Esser <besser82@fedoraproject.org> | 2022-11-20 09:56:04 +0100 |
---|---|---|
committer | Björn Esser <besser82@fedoraproject.org> | 2022-11-20 09:56:04 +0100 |
commit | 4f08547caee8010111e252906ca764c9b49050c4 (patch) | |
tree | 7a583efeaf167d2be3532d7f9af1de5a6d99f334 | |
parent | 0801d38f30eafb52116abeb5e16d5016e71b0eaa (diff) | |
download | libxcrypt-4f08547caee8010111e252906ca764c9b49050c4.tar.gz libxcrypt-4f08547caee8010111e252906ca764c9b49050c4.tar.bz2 libxcrypt-4f08547caee8010111e252906ca764c9b49050c4.zip |
ax_valgrind_check.m4: Update to v23.
-rw-r--r-- | build-aux/m4/ax_valgrind_check.m4 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/build-aux/m4/ax_valgrind_check.m4 b/build-aux/m4/ax_valgrind_check.m4 index b2297e1..fd2d364 100644 --- a/build-aux/m4/ax_valgrind_check.m4 +++ b/build-aux/m4/ax_valgrind_check.m4 @@ -65,7 +65,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 17 +#serial 23 dnl Configured tools m4_define([valgrind_tool_list], [[memcheck], [helgrind], [drd], [sgcheck]]) @@ -77,11 +77,11 @@ AC_DEFUN([AX_VALGRIND_DFLT],[ m4_define([en_dflt_valgrind_$1], [$2]) ])dnl -AM_EXTRA_RECURSIVE_TARGETS([check-valgrind]) -m4_foreach([vgtool], [valgrind_tool_list], - [AM_EXTRA_RECURSIVE_TARGETS([check-valgrind-]vgtool)]) - AC_DEFUN([AX_VALGRIND_CHECK],[ + AM_EXTRA_RECURSIVE_TARGETS([check-valgrind]) + m4_foreach([vgtool], [valgrind_tool_list], + [AM_EXTRA_RECURSIVE_TARGETS([check-valgrind-]vgtool)]) + dnl Check for --enable-valgrind AC_ARG_ENABLE([valgrind], [AS_HELP_STRING([--enable-valgrind], [Whether to enable Valgrind on the unit tests])], @@ -177,7 +177,7 @@ valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY)) valgrind_quiet_0 = --quiet valgrind_v_use = $(valgrind_v_use_$(V)) valgrind_v_use_ = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY)) -valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%-am,%,$''@):; +valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%-local,%,$''@):; # Support running with and without libtool. ifneq ($(LIBTOOL),) @@ -187,7 +187,7 @@ valgrind_lt = endif # Use recursive makes in order to ignore errors during check -check-valgrind-am: +check-valgrind-local: ifeq ($(VALGRIND_ENABLED),yes) $(A''M_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \ $(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool)) @@ -207,7 +207,7 @@ VALGRIND_LOG_COMPILER = \ $(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS) define valgrind_tool_rule -check-valgrind-$(1)-am: +check-valgrind-$(1)-local: ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes) ifneq ($$(TESTS),) $$(valgrind_v_use)$$(MAKE) check-TESTS \ @@ -231,7 +231,7 @@ A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind MOSTLYCLEANFILES ?= MOSTLYCLEANFILES += $(valgrind_log_files) -.PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools)) +.PHONY: check-valgrind $(addprefix check-valgrind-,$(valgrind_tools)) '] AC_SUBST([VALGRIND_CHECK_RULES]) |