diff options
author | Ossama Othman <ossama.othman@intel.com> | 2021-11-30 09:28:05 -0800 |
---|---|---|
committer | Ossama Othman <ossama.othman@intel.com> | 2021-11-30 09:49:45 -0800 |
commit | 168ed113518a0969c2510b1ceb6e1697915aab67 (patch) | |
tree | ff675c87af8504667246066d96444dbf9fce6a2c /m4 | |
parent | 6c25681d78d963708362ea0d4d63ee9b508782b6 (diff) | |
download | autoconf-archive-168ed113518a0969c2510b1ceb6e1697915aab67.tar.gz |
AX_VALGRIND_CHECK: Fix recursive rule generation.
Move the AM_EXTRA_RECURSIVE_TARGETS() macro calls inside of the
AX_VALGRIND_CHECK definition to force the AM_EXTRA_RECURSIVE_TARGETS()
macro calls to be processed as part of AX_VALGRIND_CHECK. The
recursive targets were otherwise not generated by Automake when using
an installed copy of the `ax_valgrind_check.m4' file
(e.g. `/usr/share/aclocal/ax_valgrind_check.m4').
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ax_valgrind_check.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/ax_valgrind_check.m4 b/m4/ax_valgrind_check.m4 index 7033798..f30d8da 100644 --- a/m4/ax_valgrind_check.m4 +++ b/m4/ax_valgrind_check.m4 @@ -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])], |