Move gnulib to top level
[deliverable/binutils-gdb.git] / configure
index 3e95ce50ffb15a53e3d7aa66515937d1bd22d43c..4d111486926079fc31f65dfe79ade7b063005742 100755 (executable)
--- 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
This page took 0.028758 seconds and 4 git commands to generate.