[project @ 2000-03-15 15:03:20 by simonmar]
[ghc-hetmet.git] / ghc / rts / gmp / configure.in
1 # This file is a shell script fragment that supplies the information
2 # necessary for a configure script to process the program in
3 # this directory.  For more information, look at ../configure.
4 AC_INIT(Makefile.in)
5
6 AC_CONFIG_SUBDIRS(mpn mpz)
7
8 srctrigger=gmp-impl.h
9 srcname="GNU Multi-Precision library"
10
11 CFLAGS="-O"
12
13 # per-target:
14
15 case "${target}" in
16   sparc8* | microsparc*)
17     if [ x$with_gcc != xno ]
18     then
19       target_makefile_frag=config/mt-sprc8-gcc
20     fi
21     ;;
22   supersparc*)
23     if [ x$with_gcc != xno ]
24     then
25       target_makefile_frag=config/mt-supspc-gcc
26     fi
27     ;;
28   m888110*)
29     if [ x$with_gcc != xno ]
30     then
31       target_makefile_frag=config/mt-m88110
32     fi
33     ;;
34   *-*-linux*)
35     target_makefile_frag=config/mt-linux ;;
36   *-*-mingw32)
37     CFLAGS="-mno-cygwin -O"
38     ;;
39 esac
40
41 AC_SUBST(CFLAGS)
42 AC_OUTPUT(Makefile)