aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-08-03 01:56:16 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2000-08-03 01:56:16 +0000
commitcf95c847635f2433221f373bd43bb79d58a296ef (patch)
tree8f9741f3b20676dd8e595e370646f46eb74bb9e9 /configure.in
parente314e3318ad35415f1ea44093c0b0fba263da358 (diff)
downloadgcc-cf95c847635f2433221f373bd43bb79d58a296ef.zip
gcc-cf95c847635f2433221f373bd43bb79d58a296ef.tar.gz
gcc-cf95c847635f2433221f373bd43bb79d58a296ef.tar.bz2
configure.in (CHILL_FOR_TARGET, [...]): Convert blanks to commas in $LANGUAGES.
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to commas in $LANGUAGES. From-SVN: r35440
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 9250244..485fbc4 100644
--- a/configure.in
+++ b/configure.in
@@ -1298,8 +1298,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)'
@@ -1314,7 +1314,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