This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Syntax error in configure? can anyone bootstrap?


> 
> I've been getting the following message on today's 3.4 mainline on 
> sparc-sun-solaris2.8 with CONFIG_SHELL=/local/bin/bash:
> 
> banach-300% ../configure
> loading cache ./config.cache
> checking host system type... sparc-sun-solaris2.8
> checking target system type... sparc-sun-solaris2.8
> checking build system type... sparc-sun-solaris2.8
> checking for a BSD compatible install... ../install-sh -c
> ../configure: syntax error at line 805: `;' unexpected
> 
> The offending line is here:
> 
> # Export original configure arguments for use by sub-configures.  These
> # will be expanded once by make, and once by the shell, so they need to
> # have '$' quoted for make, and then each argument quoted for the shell.
> # What's more, the 'echo' below might expand backslashes.
> cat <<\EOF_SED > conftestsed
> s,\\,\\\\,g; s,\$,$$,g
> EOF_SED
> tmp="'$progname'"
> for ac_arg ; do                                        
> <<<<<<<<<<<<<<<<<<<<<<
>    tmp="$tmp '"`echo "$ac_arg" | sed -fconftestsed`
> done
> rm -f conftestsed
> TOPLEVEL_CONFIGURE_ARGUMENTS="$tmp"
> 
It does not matter what CONFIG_SHELL you are using, this is a bug in /usr/sh on Solaris.
This was discussed before <http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01229.html>

Thanks,
Andrew Pinski



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]