From daf644b5c9361c240272a8ce59f7b76faa2a43fe Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Thu, 3 Aug 2000 02:22:11 +0000 Subject: [PATCH] * configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to commas in $LANGUAGES. --- ChangeLog | 5 +++++ configure.in | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 87705ddfd43..14c234b8abf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-08-02 Alexandre Oliva + + * configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to + commas in $LANGUAGES. + 2000-08-01 Alexandre Oliva * configure.in (qCXX_FOR_TARGET): Use echo instead of expr. diff --git a/configure.in b/configure.in index 98ccdccfe69..e270f3ad194 100644 --- a/configure.in +++ b/configure.in @@ -1286,8 +1286,8 @@ esac if test "x${CHILL_FOR_TARGET+set}" = xset; then : elif test -d ${topsrcdir}/gcc && - echo ",${enable_languages-${LANGUAGES-CHILL}}," | - grep ,CHILL, > /dev/null ; then + echo ",${enable_languages-`echo ${LANGUAGES-CHILL} | tr ' ' ','`}," | + grep ',CHILL,' > /dev/null ; then CHILL_FOR_TARGET='$$r/gcc/xgcc -L$$r/gcc/ch/runtime/' elif test "$host" = "$target"; then CHILL_FOR_TARGET='$(CC)' @@ -1302,7 +1302,7 @@ esac if test "x${CXX_FOR_TARGET+set}" = xset; then : elif test -d ${topsrcdir}/gcc && - echo ",${enable_languages-${LANGUAGES-c++}}," | + echo ",${enable_languages-`echo ${LANGUAGES-c++} | tr ' ' ','`}," | grep ',c[+][+],' > /dev/null ; then CXX_FOR_TARGET='$$r/gcc/g++ -nostdinc++ '$libstdcxx_flags elif test "$host" = "$target"; then -- 2.30.2