From: Ian Lance Taylor Date: Wed, 7 Jul 1993 15:26:14 +0000 (+0000) Subject: Don't crash if with_minimal_bfd is the empty string. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fd415dfa2e4fd3b85871729ce530b3e79abad62;p=binutils-gdb.git Don't crash if with_minimal_bfd is the empty string. --- diff --git a/bfd/configure.in b/bfd/configure.in index ec996c78b72..c0af9a7fac0 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