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. From-SVN: r17333
This commit is contained in:
parent
d45b3d875b
commit
c43143f6a1
@ -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>
|
Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
|
||||||
|
|
||||||
* gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
|
* gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
|
||||||
|
8
gcc/configure
vendored
8
gcc/configure
vendored
@ -5393,7 +5393,7 @@ for machine in $build $host $target; do
|
|||||||
|
|
||||||
if [ x$gas = xyes ]
|
if [ x$gas = xyes ]
|
||||||
then
|
then
|
||||||
if [ x$target_cpu_default2 = x ]
|
if [ "$target_cpu_default2" = "" ]
|
||||||
then
|
then
|
||||||
target_cpu_default2="MASK_GAS"
|
target_cpu_default2="MASK_GAS"
|
||||||
else
|
else
|
||||||
@ -5494,9 +5494,9 @@ for machine in $build $host $target; do
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ x$target_cpu_default2 != x ]
|
if [ "$target_cpu_default2" != "" ]
|
||||||
then
|
then
|
||||||
if [ x$target_cpu_default != x ]
|
if [ "$target_cpu_default" != "" ]
|
||||||
then
|
then
|
||||||
target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
|
target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
|
||||||
else
|
else
|
||||||
@ -5647,7 +5647,7 @@ do
|
|||||||
|
|
||||||
# Define TARGET_CPU_DEFAULT if the system wants one.
|
# Define TARGET_CPU_DEFAULT if the system wants one.
|
||||||
# This substitutes for lots of *.h files.
|
# 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
|
then
|
||||||
echo "#define TARGET_CPU_DEFAULT ($target_cpu_default)" >>$link
|
echo "#define TARGET_CPU_DEFAULT ($target_cpu_default)" >>$link
|
||||||
fi
|
fi
|
||||||
|
@ -2568,7 +2568,7 @@ for machine in $build $host $target; do
|
|||||||
|
|
||||||
if [[ x$gas = xyes ]]
|
if [[ x$gas = xyes ]]
|
||||||
then
|
then
|
||||||
if [[ x$target_cpu_default2 = x ]]
|
if [[ "$target_cpu_default2" = "" ]]
|
||||||
then
|
then
|
||||||
target_cpu_default2="MASK_GAS"
|
target_cpu_default2="MASK_GAS"
|
||||||
else
|
else
|
||||||
@ -2669,9 +2669,9 @@ for machine in $build $host $target; do
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ x$target_cpu_default2 != x ]]
|
if [[ "$target_cpu_default2" != "" ]]
|
||||||
then
|
then
|
||||||
if [[ x$target_cpu_default != x ]]
|
if [[ "$target_cpu_default" != "" ]]
|
||||||
then
|
then
|
||||||
target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
|
target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
|
||||||
else
|
else
|
||||||
@ -2822,7 +2822,7 @@ do
|
|||||||
|
|
||||||
# Define TARGET_CPU_DEFAULT if the system wants one.
|
# Define TARGET_CPU_DEFAULT if the system wants one.
|
||||||
# This substitutes for lots of *.h files.
|
# 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
|
then
|
||||||
echo "#define TARGET_CPU_DEFAULT ($target_cpu_default)" >>$link
|
echo "#define TARGET_CPU_DEFAULT ($target_cpu_default)" >>$link
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user