]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Avoid shell errors when target_cpu_default* contains a | character.
authorJim Wilson <wilson@cygnus.com>
Tue, 13 Jan 1998 18:01:56 +0000 (18:01 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 13 Jan 1998 18:01:56 +0000 (10:01 -0800)
* configure.in (target_cpu_default, target_cpu_default2): Use double
quotes around them when testing their value.
* configure: Rebuilt.

From-SVN: r17333

gcc/ChangeLog
gcc/configure
gcc/configure.in

index eac46089b9c629b82985d52db4f3a69263c501c7..4ce7bdca5d81d504a18b3a72c3d71d89e1edfff2 100644 (file)
@@ -1,3 +1,9 @@
+Tue Jan 13 17:50:55 1998  Jim Wilson  <wilson@cygnus.com>
+
+       * configure.in (target_cpu_default, target_cpu_default2): Use double
+       quotes around them when testing their value.
+       * configure: Rebuilt.
+       
 Tue Jan 13 09:07:44 1998  John Carr  <jfc@mit.edu>
 
        * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
index d216f5167c6bf62e2b7f604ba764c3fb1280b63e..cacb53bf7b932fcdd97361ec17ae2bc2ad4c610c 100755 (executable)
@@ -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
index e13586528cae003c8504738c28e480b483497f74..b60f54ce516cc93ac60cd5f807879e50e3dd2303 100644 (file)
@@ -2568,7 +2568,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
@@ -2669,9 +2669,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
@@ -2822,7 +2822,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