Don't crash if with_minimal_bfd is the empty string.
authorIan Lance Taylor <ian@airs.com>
Wed, 7 Jul 1993 15:26:14 +0000 (15:26 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 7 Jul 1993 15:26:14 +0000 (15:26 +0000)
bfd/configure.in

index ec996c78b72edc018a47f8db83e177053d896824..c0af9a7fac08d448b30ded5670ff5485614b3612 100644 (file)
@@ -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