(AS_SHELL_SANITIZE): Fix typo in

2002-09-01 patch by replacing "test -n" with "test -z".
This fixes a bug reported by Tom Epperly in
<http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>.
This commit is contained in:
Paul Eggert 2003-02-25 06:45:05 +00:00
parent 32aec35596
commit 36685d590f

View File

@ -167,7 +167,7 @@ for as_var in \
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
LC_TELEPHONE LC_TIME
do
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
eval $as_var=C; export $as_var
else
$as_unset $as_var