Syntax error in configure? can anyone bootstrap?
Bradley Lucier
lucier@math.purdue.edu
Sat Aug 23 01:10:00 GMT 2003
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"
The version of bash I'm using is
banach-303% /local/bin/bash --version
GNU bash, version 2.04.0(1)-release (sparc-sun-solaris2.8)
Copyright 1999 Free Software Foundation, Inc.
and I use contrib/gcc_update (adding the -d option to $GCC_CVS).
Brad
More information about the Gcc
mailing list