X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=configure.ac;h=854f71a34e5e01c5e0e9894aa3b2e108ea61f2f8;hb=2b2ed2452c0bd2437ff65e71356bece225f0be46;hp=c84263c516bc9131565fbaaf4d17d2e77bd9aa8f;hpb=79b377b3cf3a0e71e1e4710c4ee1e65e7a27a5d4;p=deliverable%2Fbinutils-gdb.git diff --git a/configure.ac b/configure.ac index c84263c516..854f71a34e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, # 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, -# 2014, 2015, 2016 Free Software Foundation, Inc. +# 2014, 2015, 2016, 2019 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -2712,6 +2712,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