autoconf-patches
[Top][All Lists]
Advanced

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

Re: Why does AS_UNSET export the variable?


From: Eric Blake
Subject: Re: Why does AS_UNSET export the variable?
Date: Wed, 22 Aug 2007 06:59:20 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Stepan Kasal on 8/22/2007 6:06 AM:
> If the variable was not exported, then child processes will not get
> it, which is as good as if it was unset.  If the variable was
> exported, the export is redundant.

Good argument.

> 
> What about the following patch?
> 2007-08-22  Stepan Kasal  <address@hidden>
>
>       * lib/m4sugar/m4sh.m4 (AS_UNSET): Do not call export the
>       variable when the neutralizing value is used.

Looks fine.  Please commit.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGzDMo84KuGfSFAYARAnmsAJ49gQnspAX6TFkc6CBw3K8P1lwXDwCfehR6
rU6Z6Ao54QSFL4Opw2IQYO4=
=7Ken
-----END PGP SIGNATURE-----




reply via email to

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