X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure;h=54d0339ab9ea890d040e51483595c941bdd0d190;hb=refs%2Fheads%2Finferior-thread-map-2020-06-30;hp=8a3e7026f0b4cbc40ea2555fe28cca420cad6466;hpb=919adfe8409211c726c1d05b47ca59890ee648f1;p=deliverable%2Fbinutils-gdb.git diff --git a/configure b/configure index 8a3e7026f0..54d0339ab9 100755 --- a/configure +++ b/configure @@ -3876,6 +3876,9 @@ case "${target}" in noconfigdirs="$noconfigdirs ld gas gdb gprof sim" noconfigdirs="$noconfigdirs $target_libraries" ;; + pdp11-*-*) + noconfigdirs="$noconfigdirs gdb gprof" + ;; powerpc-*-aix*) # copied from rs6000-*-* entry noconfigdirs="$noconfigdirs gprof" @@ -7360,13 +7363,17 @@ esac CONFIGURE_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-configure-/g` INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g` -# gdb depends on gnulib and gdbsupport, but as nothing else does, only -# include them if gdb is built. -if echo " ${configdirs} " | grep " gdb " > /dev/null 2>&1 ; then - # The Makefile provides the ordering, so it's enough here to add to - # the list. - configdirs="${configdirs} gnulib gdbsupport" -fi +# gdb and gdbserver depend on gnulib and gdbsupport, but as nothing +# else does, only include them if one of these is built. The Makefile +# provides the ordering, so it's enough here to add to the list. +case " ${configdirs} " in + *\ gdb\ *) + configdirs="${configdirs} gnulib gdbsupport" + ;; + *\ gdbserver\ *) + configdirs="${configdirs} gnulib gdbsupport" + ;; +esac # Strip out unwanted targets.