From 0e462a951b6de1354da41ecac9ee796e256a9fa5 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Mon, 9 Jun 2008 16:19:10 +0000 Subject: [PATCH] Fix config.gcc shell script lossage From-SVN: r136596 --- gcc/ChangeLog | 6 ++++++ gcc/config.gcc | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f54b09405c5..da2a69ffce4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-06-09 Michael Meissner + + * config.gcc (i[34567]86-*-*): Put test in quotes to prevent + failure on some Bourne shells. + (x86_64-*-*): Ditto. + 2008-06-09 Kai Tietz * config/i386/cygming.h (TARGET_SUBTARGET64_DEFAULT): New. diff --git a/gcc/config.gcc b/gcc/config.gcc index a18ba974847..735013ee2ac 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -360,13 +360,13 @@ fi case ${target} in i[34567]86-*-*) - if test $enable_cld = yes; then + if test "x$enable_cld" = xyes; then tm_defines="${tm_defines} USE_IX86_CLD=1" fi ;; x86_64-*-*) tm_file="i386/biarch64.h ${tm_file}" - if test $enable_cld = yes; then + if test "x$enable_cld" = xyes; then tm_defines="${tm_defines} USE_IX86_CLD=1" fi ;; -- 2.30.2