[project @ 2000-03-15 15:03:20 by simonmar]
[ghc-hetmet.git] / ghc / rts / gmp / configure.in
index 42192b5..da30bfb 100644 (file)
@@ -1,12 +1,14 @@
 # This file is a shell script fragment that supplies the information
 # necessary for a configure script to process the program in
 # this directory.  For more information, look at ../configure.
+AC_INIT(Makefile.in)
+
+AC_CONFIG_SUBDIRS(mpn mpz)
 
-configdirs="mpn mpz mpf mpq mpbsd"
 srctrigger=gmp-impl.h
 srcname="GNU Multi-Precision library"
 
-# per-host:
+CFLAGS="-O"
 
 # per-target:
 
@@ -31,5 +33,10 @@ case "${target}" in
     ;;
   *-*-linux*)
     target_makefile_frag=config/mt-linux ;;
-    
+  *-*-mingw32)
+    CFLAGS="-mno-cygwin -O"
+    ;;
 esac
+
+AC_SUBST(CFLAGS)
+AC_OUTPUT(Makefile)