autoconf/tests
Zack Weinberg 8a09003664
Define $as_echo and $as_echo_n for backward compatibility.
Commit 2b59b6f8a7 removed the internal
shell variables $as_echo and $as_echo_n.  It turns out that these are
used by several widely-used third-party m4 files (notably both
gnulib-common.m4 from gnulib, and ax_pthread.m4 from the Autoconf
macro archive) as well as any number of existing configure.ac’s.

Restore these shell variables, unconditionally defining them to use
printf.  Issue -Wobsolete warnings if they are used, recommending the
use of AS_ECHO and AS_ECHO_N respectively.  Add a test which checks
both that they do work and that they trigger warnings.
2020-03-13 14:50:50 -04:00
..
atlocal.in maint: make update-copyright 2020-01-01 11:45:50 -08:00
autoscan.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
autotest.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
base.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
c.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
compile.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
erlang.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
foreign.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
fortran.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
go.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
local.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
local.mk maint: make update-copyright 2020-01-01 11:45:50 -08:00
m4sh.at Define $as_echo and $as_echo_n for backward compatibility. 2020-03-13 14:50:50 -04:00
m4sugar.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
mktests.sh maint: make update-copyright 2020-01-01 11:45:50 -08:00
semantics.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
statesave.m4 maint: make update-copyright 2020-01-01 11:45:50 -08:00
suite.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
tools.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
torture.at maint: make update-copyright 2020-01-01 11:45:50 -08:00
wrapper.as maint: make update-copyright 2020-01-01 11:45:50 -08:00