aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1998-01-04 00:12:58 +0000
committerJeff Law <law@redhat.com>1998-01-04 00:12:58 +0000
commit0b0bd98b801a29994c2d794aad15e958b7f20800 (patch)
tree73b2d8fb3356132d6fc565f2815609ad1b84d645 /configure.in
parentc49f612a688aac74a2fb55e0d6190b92f9ed5fb9 (diff)
downloadgdb-0b0bd98b801a29994c2d794aad15e958b7f20800.zip
gdb-0b0bd98b801a29994c2d794aad15e958b7f20800.tar.gz
gdb-0b0bd98b801a29994c2d794aad15e958b7f20800.tar.bz2
* config.sub: Add mingw32 support.
* configure.in: Likewise. * mh-mingw32: New file.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in24
1 files changed, 22 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 40ade81..d7e894b 100644
--- a/configure.in
+++ b/configure.in
@@ -188,6 +188,9 @@ case "${host}" in
*-cygwin32*)
host_makefile_frag="${host_makefile_frag} config/mh-cygwin32"
;;
+ *-mingw32*)
+ host_makefile_frag="${host_makefile_frag} config/mh-mingw32"
+ ;;
*-windows*)
host_makefile_frag="${host_makefile_frag} config/mh-windows"
;;
@@ -470,6 +473,8 @@ done
case "${host}" in
i[3456]86-*-go32*)
configdirs="$configdirs dosrel" ;;
+ i[3456]86-*-mingw32*)
+ configdirs="$configdirs dosrel" ;;
*-cygwin32*)
configdirs="$configdirs dosrel" ;;
esac
@@ -493,6 +498,10 @@ case "${host}" in
noconfigdirs="$noconfigdirs libide vmake jstools"
# end-sanitize-ide
;;
+ i[3456]86-*-mingw32*)
+ # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl apache inet itcl tix db sn gnuserv"
+ noconfigdirs="expect dejagnu cvs autoconf automake send-pr gprof rcs guile perl texinfo apache inet"
+ ;;
*-*-cygwin32)
noconfigdirs="expect dejagnu cvssrc autoconf automake send-pr gprof rcs guile perl texinfo apache inet"
;;
@@ -587,6 +596,17 @@ case "${target}" in
# but don't build gdb
noconfigdirs="$noconfigdirs gdb target-libg++ target-libstdc++ target-libio target-librx"
;;
+ i[3456]86-*-mingw32*)
+ target_configdirs="$target_configdirs target-mingw"
+ noconfigdirs="$noconfigdirs expect target-libgloss"
+
+ # Can't build gdb for cygwin32 if not native.
+ case "${host}" in
+ i[3456]86-*-mingw32) ;; # keep gdb tcl tk expect etc.
+ *) noconfigdirs="$noconfigdirs gdb tcl tk expect itcl tix db sn gnuserv"
+ ;;
+ esac
+ ;;
*-*-cygwin32)
target_configdirs="$target_configdirs target-winsup"
noconfigdirs="$noconfigdirs expect target-libgloss"
@@ -1009,10 +1029,10 @@ if [ "${shared}" = "yes" ]; then
esac
fi
-# If we are building for a cygwin32 host, then set INSTALL_PROGRAM_ARGS to
+# If we are building for a win32 host, then set INSTALL_PROGRAM_ARGS to
# -x. This will cause programs to be installed with .exe extensions.
case "${host}" in
-*-*-cygwin32*)
+*-*-cygwin32* | i[3456]86-*-mingw32)
sed -e 's/^INSTALL_PROGRAM_ARGS[ ]*=.*$/INSTALL_PROGRAM_ARGS = -x/' \
Makefile > Makefile.tem
rm -f Makefile