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'
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)
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