diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-07-20 15:10:33 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-07-20 15:13:34 -0700 |
commit | 96f0001bcda3ba9bed7eb13257842e556dbc4695 (patch) | |
tree | 285f06d8e9843407d7ac6ecf2a009a4ac96d7a71 /lib | |
parent | 14d58bfd58121c31e65ca68fcde3023545f76c1b (diff) | |
download | autoconf-96f0001bcda3ba9bed7eb13257842e556dbc4695.tar.gz |
Don’t assume plain ‘make’ in C unit tests
Problem reported by Bruno Haible in:
https://savannah.gnu.org/support/?110273#comment6
* lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE):
* tests/autotest.at (C unit tests, C unit tests (EXEEXT)):
Prefer ‘${MAKE-make}’ to ‘make’ in shell code.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/autoconf/general.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index e725d88c..8436d8c3 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1650,7 +1650,8 @@ done if $ac_cache_corrupted; then AS_MESSAGE([error: in `$ac_pwd':], 2) AS_MESSAGE([error: changes in the environment can compromise the build], 2) - AS_ERROR([run `make distclean' and/or `rm $cache_file' and start over]) + AS_ERROR([run `${MAKE-make} distclean' and/or `rm $cache_file' + and start over]) fi])dnl ])# _AC_ARG_VAR_VALIDATE |