Re: FW: sed: 33: conftest.s1: unescaped newline inside substitute pattern

From: Alexandre Duret-Lutz <>
Date: Thu, 18 Apr 2002 10:57:42 +0200

>>> "Robert" == Robert Collins <> 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
Received on Thu Apr 18 2002 - 03:36:08 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:12 MST