aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-08-03 02:22:11 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-08-03 02:22:11 +0000
commitdaf644b5c9361c240272a8ce59f7b76faa2a43fe (patch)
tree17620a47911cd17bdd419e5b641e67def5de2150 /configure.in
parent28423a689ed3ab8c141778684e77ed19de442cb2 (diff)
downloadgdb-daf644b5c9361c240272a8ce59f7b76faa2a43fe.zip
gdb-daf644b5c9361c240272a8ce59f7b76faa2a43fe.tar.gz
gdb-daf644b5c9361c240272a8ce59f7b76faa2a43fe.tar.bz2
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.
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 98ccdcc..e270f3a 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