autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

zsh variables (was: wish list)


From: Ralf Wildenhues
Subject: zsh variables (was: wish list)
Date: Mon, 30 Mar 2009 20:58:34 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Eric,

* Eric Blake wrote on Mon, Mar 30, 2009 at 07:09:34PM CEST:
> Double-check that zsh is always in sh mode:
> http://lists.gnu.org/archive/html/autoconf-patches/2008-11/msg00116.html

This one is easy: apparently zsh doesn't unset the $argv array nor the
$ARGC variable when it encounters `emulate sh'.  However, when sh is
(symlinked to) zsh and started as sh, then it does not ever populate
these variables, which may help explain why we haven't seen this before.

One fix could be to just ignore those two variables in AT_CHECK_ENV.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]