aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-07-07 15:26:14 +0000
committerIan Lance Taylor <ian@airs.com>1993-07-07 15:26:14 +0000
commit2fd415dfa2e4fd3b85871729ce530b3e79abad62 (patch)
treea171f8f4551ad302594f49ed109727993b4b12e5 /bfd
parent40324362910ee927688083d63e7b8d3341e630f9 (diff)
downloadgdb-2fd415dfa2e4fd3b85871729ce530b3e79abad62.zip
gdb-2fd415dfa2e4fd3b85871729ce530b3e79abad62.tar.gz
gdb-2fd415dfa2e4fd3b85871729ce530b3e79abad62.tar.bz2
Don't crash if with_minimal_bfd is the empty string.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/configure.in b/bfd/configure.in
index ec996c7..c0af9a7 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -160,14 +160,14 @@ case ${host64}-${target64}-${want64} in
;;
esac
-if [ ${with_minimal_bfd} = yes ] \
+if [ x${with_minimal_bfd} = xyes ] \
&& grep -s TARGET_BACKENDS ${srcdir}/${target_makefile_frag} ; then
echo 'BFD_BACKENDS = $(TARGET_BACKENDS)' >> Makefile.2
else
echo 'BFD_BACKENDS = $(ALL_BACKENDS)' >> Makefile.2
fi
-if [ ${with_minimal_bfd} = yes ] \
+if [ x${with_minimal_bfd} = xyes ] \
&& grep -s TARGET_CPUS ${srcdir}/${target_makefile_frag} ; then
echo 'BFD_MACHINES = $(TARGET_CPUS)' >> Makefile.2
else