shell variable, but only in the environment. With /bin/sh->bash, the
shell variable is set to `y', and that would cause a spurious warning.
# Warn when `make check' is run with POSIXLY_CORRECT or CDPATH set.
.PHONY: evar-check
evar-check:
- test "$${POSIXLY_CORRECT+set}" = set \
+ ../src/printenv POSIXLY_CORRECT >/dev/null \
&& sed s/%%/POSIXLY_CORRECT/ $(srcdir)/.env-warn || :
test "$${CDPATH+set}" = set \
&& sed s/%%/CDPATH/ $(srcdir)/.env-warn || :