X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.in;h=7ee231c38e83065c798dcab79e37dbe5432607cc;hb=37bb88b9f2a8764cdc7f44fd49c36903e6c514f0;hp=287a7574cfb317c69a05841a9420fd8e20e01c8b;hpb=ef5a6ca31642ed2e876f9b136d56085a6796d8b4;p=ghc-hetmet.git diff --git a/configure.in b/configure.in index 287a757..7ee231c 100644 --- a/configure.in +++ b/configure.in @@ -203,6 +203,15 @@ i[[3456]]86-*-mingw32*) HostOS_CPP='mingw32' exeext='.exe' ;; +ia64-*-linux*) + HostPlatform=ia64-unknown-linux # hack again + TargetPlatform=ia64-unknown-linux + BuildPlatform=ia64-unknown-linux + HostPlatform_CPP='ia64_unknown_linux' + HostArch_CPP='ia64' + HostVendor_CPP='unknown' + HostOS_CPP='linux' + ;; m68k-next-nextstep2) HostPlatform_CPP='m68k_next_nextstep2' HostArch_CPP='m68k' @@ -725,6 +734,10 @@ AC_STRUCT_ST_BLKSIZE dnl ** do we have long longs? FPTOOLS_C_LONG_LONG +dnl ** check what fields struct msghdr contains +FPTOOLS_MSGHDR_MSG_ACCRIGHTS +FPTOOLS_MSGHDR_MSG_CONTROL + dnl ** what are the sizes of various types dnl (these must come before GHC_CHECK_ALIGNMENT) AC_CHECK_SIZEOF(char, 1) @@ -899,10 +912,24 @@ AC_CHECK_FUNCS(access ftime getclock getpagesize getrusage gettimeofday mktime m dnl ** check whether this machine has gmp3 installed AC_CHECK_LIB(gmp, __gmpz_fdiv_qr, HaveLibGmp=YES; LibGmp=gmp, AC_CHECK_LIB(gmp3, __gmpz_fdiv_qr, HaveLibGmp=YES; LibGmp=gmp3, - HaveLibGmp=No; LibGmp=not-installed)) + HaveLibGmp=NO; LibGmp=not-installed)) AC_SUBST(HaveLibGmp) AC_SUBST(LibGmp) +dnl ** check for mingwex library +AC_CHECK_LIB(mingwex, closedir, HaveLibMingwEx=YES, HaveLibMingwEx=NO) +AC_SUBST(HaveLibMingwEx) + +if test $HaveLibMingwEx = YES ; then + AC_DEFINE(HAVE_MINGWEX) +fi + +if test "$HaveLibGmp" = "NO"; then +if test "$HostArch_CPP" = "ia64"; then +AC_MSG_ERROR([You need to install libgmp (the in-tree version does not work on IA64).]) +fi; +fi; + dnl ** check whether this machine has GNU regex in libc. FPTOOLS_REGEX_IN_LIBC