[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FW: sed: 33: conftest.s1: unescaped newline inside substitute patter
From: |
Alexandre Duret-Lutz |
Subject: |
Re: FW: sed: 33: conftest.s1: unescaped newline inside substitute pattern |
Date: |
Thu, 18 Apr 2002 10:57:42 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu) |
>>> "Robert" == Robert Collins <address@hidden> writes:
Robert> w/ Automake 1.5, we have the following bug report. In summary, the
Robert> following shell code:
Robert> am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
Robert> is not portable to MacOS X, and is causing a headache for folk building
Robert> in the same dir tree. Can we change it to
Robert> am_aux_dir=`unset CDPATH; cd $ac_aux_dir && pwd` ?
Robert> or has this been already been reported and fixed in 1.6?
Yes, it's fixed in 1.6.
`unset' is not portable.
Recent Autoconf versions will set or unset CDPATH as
appropriate, so the above line has been rewritten as
am_aux_dir=`cd $ac_aux_dir && pwd`
In Makefiles, however, you still have to fiddle with CDPATH.
Automake 1.6 uses
CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd somewhere && pwd
--
Alexandre Duret-Lutz