Config.status on OS X

Sebastian Hagedorn Hagedorn@spinfo.uni-koeln.de
Fri Jun 15 15:34:01 2001


--==========05599897==========
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

--On Freitag, 15. Juni 2001 10:07 Uhr +0100 Lars Hecking <lhecking@nmrc.ie> =

wrote:


>> The line
>>
>> missing_dir=3D`cd $ac_aux_dir && pwd`
>>
>> from configure.in doesn't work under Mac OS X.
>
> Why not? Where exactly does it fail?
As I mentioned before this is what happens: OS X uses zsh as /bin/sh (not=20 sure if this is relevant). In a simple test script the above line gives the = expected result. However, in the context of gpg's configure script it=20 results in two lines! The 'cd' command isn't silent but returns the new=20 current directory. The following 'pwd' adds another line. The behavior is=20 similar to that of bash if the variable CDPATH is set. However, this is not = bash and CDPATH is explicitly unset. So I really don't know why this=20 happens. I'd guess that it's some "feature" of zsh, but what do I know?
>> Anyway,
>>
>> missing_dir=3D`cd $ac_aux_dir`
>>
>> works just fine.
>
> This, OTOH, won't work anywhere else!
I am perfectly aware of that ;-) It's just a hack to make it work. Cheers, Sebastian -- Sebastian Hagedorn PGP key ID: 0x4D105B45 Ehrenfeldg=FCrtel 156 50823 K=F6ln http://www.spinfo.uni-koeln.de/~hgd/ --==========05599897========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: Mulberry PGP Plugin v2.0 Comment: processed by Mulberry PGP Plugin iQA/AwUBOyoOLRl7BplNEFtFEQIeLQCfdaGv0mFaI32PvoolKQioCJs62vsAoO/l sR3eufDsGb4h53F8AdOYOUhX =BnjF -----END PGP SIGNATURE----- --==========05599897==========--