9febef232f769ab17e38a35c93e9d1bbd2281303
[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 configdirs="mpn mpz mpf mpq mpbsd"
7 srctrigger=gmp-impl.h
8 srcname="GNU Multi-Precision library"
9
10 CFLAGS="-O"
11
12 # per-target:
13
14 case "${target}" in
15   sparc8* | microsparc*)
16     if [ x$with_gcc != xno ]
17     then
18       target_makefile_frag=config/mt-sprc8-gcc
19     fi
20     ;;
21   supersparc*)
22     if [ x$with_gcc != xno ]
23     then
24       target_makefile_frag=config/mt-supspc-gcc
25     fi
26     ;;
27   m888110*)
28     if [ x$with_gcc != xno ]
29     then
30       target_makefile_frag=config/mt-m88110
31     fi
32     ;;
33   *-*-linux*)
34     target_makefile_frag=config/mt-linux ;;
35   *-*-mingw32)
36     CFLAGS="-mno-cygwin -O"
37     ;;
38 esac
39
40 AC_SUBST(CFLAGS)
41 AC_OUTPUT(Makefile)