aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-03-16 08:12:46 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-03-16 08:12:59 -0700
commit35fece71d50e1883e67fcd28c69245de4335b8b5 (patch)
tree29b05647574d3e588b0214215f4e0357b7993c9b /configure.ac
parent3ce5b6e25ca2389c545282204b96064c00a13fab (diff)
downloadgdb-35fece71d50e1883e67fcd28c69245de4335b8b5.zip
gdb-35fece71d50e1883e67fcd28c69245de4335b8b5.tar.gz
gdb-35fece71d50e1883e67fcd28c69245de4335b8b5.tar.bz2
Disable all target libraries if not building gcc
Don't build target libraries if not building gcc. * configure.ac (target_configdirs): Unset if not building gcc. * configure: Regenerated.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5ff56bf..34774d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2039,6 +2039,9 @@ Supported languages are: ${potential_languages}])
AC_SUBST(stage1_languages)
ac_configure_args=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[[^ ]]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
+else
+ # Disable all target libraries if not building gcc.
+ target_configdirs=
fi
# Handle --disable-<component> generically.