X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure;fp=configure;h=4d111486926079fc31f65dfe79ade7b063005742;hb=73cc72729a184f00bf6fc4d74684a8516ba6b683;hp=3e95ce50ffb15a53e3d7aa66515937d1bd22d43c;hpb=f568655424ad268c8c5df3f56e4e19a86b16623d;p=deliverable%2Fbinutils-gdb.git diff --git a/configure b/configure index 3e95ce50ff..4d11148692 100755 --- a/configure +++ b/configure @@ -7184,6 +7184,14 @@ 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, but as nothing else does, only include it 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 + # gnulib to the list. + configdirs="${configdirs} gnulib" +fi + # Strip out unwanted targets. # While at that, we remove Makefiles if we were started for recursive