other/5515: ./configure fails: sed: Function s%@subdirs@% cp cannot be parsed.
Craig Rodrigues
rodrigc@mediaone.net
Mon Jan 28 19:00:00 GMT 2002
On Mon, Jan 28, 2002 at 07:50:51PM -0500, Edwin Bates wrote:
>
> Fix for file gcc/configure:
> ---------------------- Begin diff -c -----------------------
> *** configure.orig Mon Jan 28 19:26:04 2002
> --- configure Mon Jan 28 19:25:24 2002
> ***************
> *** 7353,7358 ****
> --- 7353,7359 ----
>
> trap 'rm -fr `echo "$all_outputs auto-host.h:config.in" | sed "s/:[^
> ]*//g"` conftest*; exit 1' 1 2 15
> EOF
> + subdirs=`echo ${subdirs}`
> cat >> $CONFIG_STATUS <<EOF
>
> # Protect against being on the right side of a sed subst in config.status.
Glad you figured it out, but I don't understand why your
patch fixes things....
Does the problem go away if you either:
(1) Set CONFIG_SHELL to /bin/ksh?
(2) Use GNU sed instead of AIX's sed?
Thanks.
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net
More information about the Gcc-bugs
mailing list