* configure.in (qCXX_FOR_TARGET): Use echo instead of expr.

From-SVN: r35402
This commit is contained in:
Alexandre Oliva 2000-08-01 04:10:47 +00:00 committed by Alexandre Oliva
parent f9f45ccb5f
commit 606ce3919d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-08-01 Alexandre Oliva <aoliva@redhat.com>
* configure.in (qCXX_FOR_TARGET): Use echo instead of expr.
2000-07-31 Alexandre Oliva <aoliva@redhat.com>
* configure.in (qCXX_FOR_TARGET): Quote `&' characters in

View File

@ -1314,7 +1314,7 @@ case $CXX_FOR_TARGET in
*' $(FLAGS_FOR_TARGET)') ;;
*) CXX_FOR_TARGET=$CXX_FOR_TARGET' $(FLAGS_FOR_TARGET)' ;;
esac
qCXX_FOR_TARGET=`expr "x$CXX_FOR_TARGET" : 'x\(.*\)' | sed 's,&,\\\&,g'`
qCXX_FOR_TARGET=`echo "$CXX_FOR_TARGET" | sed 's,&,\\\&,g'`
targargs="--cache-file=../config.cache --host=${target_alias} --build=${build_alias} ${targargs}"
sed -e "s:^TARGET_CONFIGDIRS[ ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:" \