summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <michael.meissner@amd.com>2008-06-09 16:19:10 +0000
committerMichael Meissner <meissner@gcc.gnu.org>2008-06-09 16:19:10 +0000
commit0e462a951b6de1354da41ecac9ee796e256a9fa5 (patch)
tree3ec61a8205de147863087155f129c7374c22d22b
parentd3c1d2a06e0bba564dd24998996eccfb93a5645c (diff)
downloadgcc-0e462a951b6de1354da41ecac9ee796e256a9fa5.tar.gz
Fix config.gcc shell script lossage
From-SVN: r136596
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config.gcc4
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 <michael.meissner@amd.com>
+
+ * config.gcc (i[34567]86-*-*): Put test in quotes to prevent
+ failure on some Bourne shells.
+ (x86_64-*-*): Ditto.
+
2008-06-09 Kai Tietz <kai.tietz@onevision.com>
* 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
;;