From: matthewc Date: Tue, 14 May 2002 08:09:07 +0000 (+0000) Subject: [project @ 2002-05-14 08:09:07 by matthewc] X-Git-Tag: Approx_11550_changesets_converted~2039 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=de67a097881e7dc70e15ed77556cf0e498ff9498;p=ghc-hetmet.git [project @ 2002-05-14 08:09:07 by matthewc] * Add ia64-*-linux* as a recognised system type * Standardise capitalisation of YES and NO in HaveLibGmp * Error out if user tries to use in-tree GMP on IA64 (results in hangs and segfaults - it probably needs an upgrade sometime) --- diff --git a/configure.in b/configure.in index 287a757..0ee6db0 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' @@ -899,10 +908,16 @@ 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) +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