* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 3 Aug 2000 02:22:11 +0000 (02:22 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 3 Aug 2000 02:22:11 +0000 (02:22 +0000)
commas in $LANGUAGES.

ChangeLog
configure.in

index 87705ddfd43007cdf479eaeb868de8cb1a678145..14c234b8abff70200e09c2ba7abb71d2edd865d6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * configure.in (qCXX_FOR_TARGET): Use echo instead of expr.
index 98ccdccfe69d594db53c23dff952720fc95f9a32..e270f3ad1942ead1e0cee7a3764d0e4b25e00f53 100644 (file)
@@ -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