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

According to Peter O'Gorman on 4/9/2008 10:19 PM:
|> What about eliminating (when progdir='.')
|>   curwd=`cd . && pwd`
|>
|> Do we know when (with which shells) this can be replaced by $PWD
|> portably?
|
| The ones that are not buggy and comply with the standards? :) (I don't
| know, maybe all of them).

To some degree, it depends on whether you are okay with $PWD being logical
on platforms where pwd behaves like the posix 'pwd -P'; however, since
autoconf documents that you can't reliably expect either 'pwd -L' or 'pwd
- -P', you have to deal with both anyway.  But I personally don't know how
likely you are to hit a shell that forgets to assign PWD.

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

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf9l6QACgkQ84KuGfSFAYB1cQCfbSg9VOLCutPYN3N64PrYgSWg
fF8AnRbBdPGsdSZrCA9xhro679+xuVku
=Ahjz
-----END PGP SIGNATURE-----


Reply via email to