aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1992-12-12 04:20:03 +0000
committerDavid D. Zuhn <zoo@cygnus>1992-12-12 04:20:03 +0000
commitba4513e74f5c98e2e5ede750d38537f216b2e45d (patch)
tree1da115db43ce1fae0210a009b3c28a8c5570dc38
parent491a12058f34429f86fdac24544ed4752e317d85 (diff)
downloadgdb-ba4513e74f5c98e2e5ede750d38537f216b2e45d.zip
gdb-ba4513e74f5c98e2e5ede750d38537f216b2e45d.tar.gz
gdb-ba4513e74f5c98e2e5ede750d38537f216b2e45d.tar.bz2
* configure.in: handle some programs as cross-only, and others as
native only * test-build.mk: handle partial holes in a more generic manner * Makefile.in: m4 depends on libiberty also updated dates in test-build.mk and build-all.mk
-rw-r--r--build-all.mk2
-rw-r--r--configure.in25
2 files changed, 16 insertions, 11 deletions
diff --git a/build-all.mk b/build-all.mk
index 0886fdf..5758dee 100644
--- a/build-all.mk
+++ b/build-all.mk
@@ -15,7 +15,7 @@ TREE = devo
NATIVE = native
-DATE = 921203
+DATE = 921208
TAG = latest-$(DATE)
diff --git a/configure.in b/configure.in
index cc4e142..0a3ba28 100644
--- a/configure.in
+++ b/configure.in
@@ -3,7 +3,13 @@
# script appropriate for this directory. For more information, check
# any existing configure script.
-configdirs="m4 autoconf mmalloc libiberty texinfo flex byacc bison opcodes bfd binutils gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas etc tcl expect tk deja-gnu z8ksim sed fileutils shellutils textutils time wdiff find"
+
+configdirs="mmalloc libiberty texinfo flex byacc bison opcodes bfd binutils gcc readline glob ld gas gdb make patch send_pr libg++ gprof gdbtest libm tgas etc tcl expect tk deja-gnu z8ksim"
+
+cross_only_tools="xiberty newlib"
+
+native_only_tools="m4 autoconf ispell grep diff rcs cvs sed fileutils shellutils textutils wdiff find emacs"
+
srctrigger=move-if-change
srcname="gnu development package"
@@ -42,16 +48,15 @@ case "${target}" in
esac
-# remove various programs from consideration. some of these are not
-# reasonable to build for a native compilation (eg newlib). some of these
-# aren't built for each cross compiler toolchain (eg emacs).
+# some tools are only suitable for building in a "native" situation.
+# Those are added when we have a host==target configuration. For cross
+# toolchains, we add some directories that should only be useful in a
+# cross-compiler.
if [ x"${host}" = x"${target}" ] ; then
- # remove from native toolchains
- configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
+ configdirs="${configdirs} ${native_only_tools}"
else
- # remove from cross compilers in general
- configdirs=`echo ${configdirs} | sed -e 's/emacs//;s/ispell//;s/rcs//;s/cvs//'`
+ configdirs="${configdirs} ${cross_only_tools}"
fi
# remove more programs from consideration, based on the host or
@@ -69,13 +74,13 @@ case "${target}" in
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
;;
rs6000-*-*)
- configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
+ configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/tk//'`
;;
hppa*-*-*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/bfd//;s/gdb//'`
;;
*-*-solaris2)
- configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//;s/emacs//'`
+ configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
;;
esac