aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-01-09 14:09:57 +0000
committerNick Clifton <nickc@redhat.com>2007-01-09 14:09:57 +0000
commitf86e35b82d53c9aaa17f4a9e054920b6b25e771d (patch)
tree4fa89c676e7a5a2ba98af1c9956e65a65ee66a16 /configure.in
parentb1b532dd03d4410ebb4a19385c17bf5fb3b62406 (diff)
downloadgdb-f86e35b82d53c9aaa17f4a9e054920b6b25e771d.zip
gdb-f86e35b82d53c9aaa17f4a9e054920b6b25e771d.tar.gz
gdb-f86e35b82d53c9aaa17f4a9e054920b6b25e771d.tar.bz2
* Makefile.tpl (all-target): Correct @if conditional for target modules.
* configure.in: Omit libiberty if building only target libgcc. * configure, Makefile.in: Regenerated.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index e4589cb..fc40507 100644
--- a/configure.in
+++ b/configure.in
@@ -1448,10 +1448,14 @@ done
# Sometimes the tools are distributed with libiberty but with no other
# libraries. In that case, we don't want to build target-libiberty.
+# Don't let libgcc imply libiberty either.
if test -n "${target_configdirs}" ; then
+ libgcc=
others=
for i in `echo ${target_configdirs} | sed -e s/target-//g` ; do
- if test "$i" != "libiberty" ; then
+ if test "$i" = "libgcc"; then
+ libgcc=target-libgcc
+ elif test "$i" != "libiberty" ; then
if test -r $srcdir/$i/configure ; then
others=yes;
break;
@@ -1459,7 +1463,7 @@ if test -n "${target_configdirs}" ; then
fi
done
if test -z "${others}" ; then
- target_configdirs=
+ target_configdirs=$libgcc
fi
fi