From 2fd415dfa2e4fd3b85871729ce530b3e79abad62 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 7 Jul 1993 15:26:14 +0000 Subject: [PATCH] Don't crash if with_minimal_bfd is the empty string. --- bfd/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2