* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to

commas in $LANGUAGES.
This commit is contained in:
Alexandre Oliva 2000-08-03 02:22:11 +00:00
parent 9ccb71b88f
commit 6a2ef32105
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2000-08-02 Alexandre Oliva <aoliva@redhat.com>
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.
2000-08-01 Alexandre Oliva <aoliva@redhat.com> 2000-08-01 Alexandre Oliva <aoliva@redhat.com>
* configure.in (qCXX_FOR_TARGET): Use echo instead of expr. * configure.in (qCXX_FOR_TARGET): Use echo instead of expr.

View File

@ -1286,8 +1286,8 @@ esac
if test "x${CHILL_FOR_TARGET+set}" = xset; then if test "x${CHILL_FOR_TARGET+set}" = xset; then
: :
elif test -d ${topsrcdir}/gcc && elif test -d ${topsrcdir}/gcc &&
echo ",${enable_languages-${LANGUAGES-CHILL}}," | echo ",${enable_languages-`echo ${LANGUAGES-CHILL} | tr ' ' ','`}," |
grep ,CHILL, > /dev/null ; then grep ',CHILL,' > /dev/null ; then
CHILL_FOR_TARGET='$$r/gcc/xgcc -L$$r/gcc/ch/runtime/' CHILL_FOR_TARGET='$$r/gcc/xgcc -L$$r/gcc/ch/runtime/'
elif test "$host" = "$target"; then elif test "$host" = "$target"; then
CHILL_FOR_TARGET='$(CC)' CHILL_FOR_TARGET='$(CC)'
@ -1302,7 +1302,7 @@ esac
if test "x${CXX_FOR_TARGET+set}" = xset; then if test "x${CXX_FOR_TARGET+set}" = xset; then
: :
elif test -d ${topsrcdir}/gcc && elif test -d ${topsrcdir}/gcc &&
echo ",${enable_languages-${LANGUAGES-c++}}," | echo ",${enable_languages-`echo ${LANGUAGES-c++} | tr ' ' ','`}," |
grep ',c[+][+],' > /dev/null ; then grep ',c[+][+],' > /dev/null ; then
CXX_FOR_TARGET='$$r/gcc/g++ -nostdinc++ '$libstdcxx_flags CXX_FOR_TARGET='$$r/gcc/g++ -nostdinc++ '$libstdcxx_flags
elif test "$host" = "$target"; then elif test "$host" = "$target"; then