[project @ 2000-09-07 11:23:59 by rrt]
[ghc-hetmet.git] / ghc / rts / gmp / configure.in
index 60c3d4c..e13e0cb 100644 (file)
@@ -21,7 +21,7 @@ dnl  the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 dnl  MA 02111-1307, USA.
 
 
-AC_REVISION($Revision: 1.5 $)dnl
+AC_REVISION($Revision: 1.6 $)dnl
 AC_PREREQ(2.14)dnl
 AC_INIT(gmp-impl.h)
 
@@ -308,6 +308,10 @@ case "$target" in
     ;;
 esac
 
+case "${target}" in
+  *-*-mingw32) gmp_cflags_gcc="$gmp_cflags_gcc -mno-cygwin";;
+esac
+
 dnl  Check for programs needed by macros for finding compiler.
 dnl  More programs are checked for below, when a compiler is found.
 AC_PROG_NM     dnl  Macro from Libtool.