aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1995-10-18 23:45:05 +0000
committerSteve Chamberlain <sac@cygnus>1995-10-18 23:45:05 +0000
commitefd7b806cf3681ccb902f4f0918f7f0686345701 (patch)
treec0c54787c2c17b1502d82c9a21e01f7edeff9c5d /configure.in
parent3a70e2988dab3f67a18cb743db6a97cc8e7b565e (diff)
downloadfsf-binutils-gdb-efd7b806cf3681ccb902f4f0918f7f0686345701.zip
fsf-binutils-gdb-efd7b806cf3681ccb902f4f0918f7f0686345701.tar.gz
fsf-binutils-gdb-efd7b806cf3681ccb902f4f0918f7f0686345701.tar.bz2
Wed Oct 18 15:53:56 1995 steve chamberlain <sac@slash.cygnus.com>
* winsup. New directory. * Makefile.in: Build winsup. * configure.in: Winsup is configured when target is win32. Can only build win32 target GDB when native.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in23
1 files changed, 17 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index bdf3a6c..9329be3 100644
--- a/configure.in
+++ b/configure.in
@@ -322,10 +322,18 @@ done
# Configure extra directories which are host specific
case "${host}" in
- i[345]86-*-go32*|i[345]86-*-win32*)
+ i[345]86-*-win32* | i[345]86-*-go32*)
configdirs="$configdirs dosrel" ;;
esac
+
+# Configure extra directories which are target specific
+
+case "${target}" in
+ i[345]86-*-win32*)
+ configdirs="$configdirs winsup" ;;
+esac
+
# Remove more programs from consideration, based on the host or
# target this usually means that a port of the program doesn't
# exist yet.
@@ -340,7 +348,7 @@ case "${host}" in
noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff"
;;
i[345]86-*-win32)
- noconfigdirs="tk tcl expect diff make texinfo bison flex send-pr gprof gdb readline"
+ noconfigdirs="tk tcl expect dejagnu texinfo bison send-pr gprof rcs"
;;
esac
@@ -396,10 +404,12 @@ case "${target}" in
;;
i[345]86-*-win32)
- # Can't build gdb for win32 target
- noconfigdirs="$noconfigdirs gdb tk"
- # but put newlib back
- skipdirs=`echo " ${skipdirs} " | sed -e 's/ newlib / /'`
+
+ noconfigdirs="$noconfigdirs tk"
+ # Can't build gdb for win32 if not native.
+ if [ x${is_cross_compiler} = xyes ]; then
+ noconfigdirs="$noconfigdirs gdb"
+ fi
;;
i[345]86-*-pe)
noconfigdirs="$noconfigdirs libg++ libstdc++ libio librx"
@@ -500,6 +510,7 @@ esac
# Remove the entries in $skipdirs and $noconfigdirs from $configdirs and
# $target_configdirs.
# If we have the source for $noconfigdirs entries, add them to $notsupp.
+
notsupp=""
for dir in . $skipdirs $noconfigdirs ; do
if [ $dir != . ] && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then