X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.in;h=9acdb411454a9c8e111360a5780d200990b05622;hb=c73eeb4c219de30504fe54f1a65bc2c229e69d26;hp=89dfaebbd37559640d450351a7f258d3c1e83149;hpb=bd1440159f823d06b0836640311f73cb1916b68b;p=ghc-hetmet.git diff --git a/configure.in b/configure.in index 89dfaeb..9acdb41 100644 --- a/configure.in +++ b/configure.in @@ -74,6 +74,7 @@ fi # Suitable names to slam in *_CPP are in platform.h.in. # We also record the architecture, vendor, and operating system (OS) # separately. +HostPlatformFull=$HostPlatform case $HostPlatform in alpha-dec-osf[[1234]]*) HostPlatform=alpha-dec-osf1 # canonicalise for our purposes @@ -192,6 +193,15 @@ mips-sgi-irix*) HostVendor_CPP='sgi' HostOS_CPP='irix' ;; +rs6000-ibm-aix*) + HostPlatform=rs6000-ibm-aix + TargetPlatform=rs6000-ibm-aix #hack + BuildPlatform=rs6000-ibm-aix #hack + HostPlatform_CPP='rs6000_ibm_aix' + HostArch_CPP='rs6000' + HostVendor_CPP='ibm' + HostOS_CPP='aix' + ;; powerpc-ibm-aix*) HostPlatform=powerpc-ibm-aix TargetPlatform=powerpc-ibm-aix #hack @@ -239,6 +249,7 @@ TargetVendor_CPP=$HostVendor_CPP dnl Cannot afford all these SUBSTs (because of braindead seds w/ 99 cmd limits) dnl AC_SUBST(BuildPlatform) +AC_SUBST(HostPlatformFull) AC_SUBST(HostPlatform) AC_SUBST(TargetPlatform) AC_SUBST(HostPlatform_CPP) @@ -568,9 +579,13 @@ dnl ** check if it is safe to include both and # AC_HEADER_TIME # -dnl ** how do we get a timezone name? +dnl ** how do we get a timezone name, and UTC offset ? # AC_STRUCT_TIMEZONE +HaveAltZone=yes +AC_MSG_CHECKING([for altzone]) +AC_TRY_LINK([#include ], [return altzone;], AC_DEFINE(HAVE_ALTZONE),HaveAltZone=no) +AC_MSG_RESULT($HaveAltZone) # dnl ** determine the type of signal() #