>>>>> "Ian" == Ian Lance Taylor <[EMAIL PROTECTED]> writes:

Ian> It's true that this machine has a shell /bin/sh5 which supports
Ian> unset.  However, /bin/sh5 does not support shell functions.

Aarg, this is the information I was looking for.

Ian> The point of autoconf is portability to all machines, not just to
Ian> all recent machines.

Please, Ian, give me a little more trust.  I'm looking for wrong
hypotheses, I'm not trying to make Autoconf selective.

Ian> This machine is a DECstation 3100 running Ultrix 4.0.

I'm really surprised it doesn't support functions, IIRC I've already
talked to someone about this precise architecture, and he told me that
the simple

#! /bin/sh5

foo(){ unset toto }

toto=tata
foo
echo "{$toto}"

did what was expected.

Still, the presence of unset is a big relief...


        Akim

Reply via email to