aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-03-13 02:50:15 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-03-13 02:50:15 +0000
commit9f579565e59d2ded10eae24431d7944aadcceaea (patch)
tree52e74a7f26322b77892268dc1cc16831e55f6564 /configure.in
parentaa8f32108dc6f29721deee55593fc69a5546130b (diff)
downloadgdb-9f579565e59d2ded10eae24431d7944aadcceaea.zip
gdb-9f579565e59d2ded10eae24431d7944aadcceaea.tar.gz
gdb-9f579565e59d2ded10eae24431d7944aadcceaea.tar.bz2
* configure.in: canonicalize all instances to *-*-solaris2*,
also strip out a number of tools to not build for go32 host
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in31
1 files changed, 24 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 4b567fe..237fc39 100644
--- a/configure.in
+++ b/configure.in
@@ -98,7 +98,7 @@ case "${host}" in
vax-*-ultrix2*) host_makefile_frag=config/mh-vaxult2 ;;
*-ibm-aix*) host_makefile_frag=config/mh-aix ;;
*-bull-bosx*) host_makefile_frag=config/mh-aix ;;
- *-sun-solaris*) host_makefile_frag=config/mh-solaris ;;
+ *-sun-solaris2*) host_makefile_frag=config/mh-solaris ;;
*-sun-*) host_makefile_frag=config/mh-sun ;;
*-hp-hpux) host_makefile_frag=config/mh-hpux ;;
*-*-sysv4*) host_makefile_frag=config/mh-sysv4 ;;
@@ -118,6 +118,21 @@ case "${target}" in
esac
+# some tools are so dependent upon X11 that if we're not building with X,
+# it's not even worth trying to configure, much less build, that tool.
+
+case ${with_x} in
+ yes) ;;
+ no | "")
+ configdirs=`echo ${configdirs} | sed -e 's/tk//'`
+ ;;
+ *)
+ echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2
+ ;;
+esac
+
+
+
# 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
@@ -142,11 +157,13 @@ fi
# target this usually means that a port of the program doesn't
# exist yet.
-#case "${host}" in
-# hppa*-*-*)
-# configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
-# ;;
-#esac
+case "${host}" in
+ i[34]86-*-go32)
+ configdirs=`echo ${configdirs} | sed -e 's/tcl//;s/expect//;s/deja-gnu//'`
+ configdirs=`echo ${configdirs} | sed -e 's/make//;s/texinfo//'`
+ configdirs=`echo ${configdirs} | sed -e 's/patch//;s/flex//;s/byacc//;s/send_pr//'`
+ ;;
+esac
case "${target}" in
mips-dec-bsd*)
@@ -162,7 +179,7 @@ case "${target}" in
hppa*-*-*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
;;
- *-*-solaris2)
+ *-*-solaris2*)
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/gas//'`
;;
*-*-vms)