summaryrefslogtreecommitdiffstats
path: root/gcc/configure
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-13 18:01:56 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-13 18:01:56 +0000
commit75caa75b95c53316c7b40176e027fc7e1ff90bcc (patch)
tree3a06764c26e0600c359c0b0561f8a67dab8cf6f9 /gcc/configure
parent6eaa4c2d32155bd015952ae32861ff8da02fdc3e (diff)
downloadppe42-gcc-75caa75b95c53316c7b40176e027fc7e1ff90bcc.tar.gz
ppe42-gcc-75caa75b95c53316c7b40176e027fc7e1ff90bcc.zip
Avoid shell errors when target_cpu_default* contains a | character.
* configure.in (target_cpu_default, target_cpu_default2): Use double quotes around them when testing their value. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17333 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/configure b/gcc/configure
index d216f5167c6..cacb53bf7b9 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -5393,7 +5393,7 @@ for machine in $build $host $target; do
if [ x$gas = xyes ]
then
- if [ x$target_cpu_default2 = x ]
+ if [ "$target_cpu_default2" = "" ]
then
target_cpu_default2="MASK_GAS"
else
@@ -5494,9 +5494,9 @@ for machine in $build $host $target; do
;;
esac
- if [ x$target_cpu_default2 != x ]
+ if [ "$target_cpu_default2" != "" ]
then
- if [ x$target_cpu_default != x ]
+ if [ "$target_cpu_default" != "" ]
then
target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
else
@@ -5647,7 +5647,7 @@ do
# Define TARGET_CPU_DEFAULT if the system wants one.
# This substitutes for lots of *.h files.
- if [ x$target_cpu_default != x -a $link = tm.h ]
+ if [ "$target_cpu_default" != "" -a $link = tm.h ]
then
echo "#define TARGET_CPU_DEFAULT ($target_cpu_default)" >>$link
fi
OpenPOWER on IntegriCloud