X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=configure.ac;h=a910c4fd6ba7a58f54e29a16fe842e38da5602dd;hb=708a2ffff5cc2d280968a6b28268d8276d391bb4;hp=35a9c1867d2586aa327219d3a182dcca275e908e;hpb=919adfe8409211c726c1d05b47ca59890ee648f1;p=deliverable%2Fbinutils-gdb.git diff --git a/configure.ac b/configure.ac index 35a9c1867d..a910c4fd6b 100644 --- a/configure.ac +++ b/configure.ac @@ -1117,6 +1117,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" @@ -2746,13 +2749,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.