projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
203387f
)
[project @ 1997-06-05 23:55:16 by sof]
author
sof
<unknown>
Thu, 5 Jun 1997 23:55:16 +0000
(23:55 +0000)
committer
sof
<unknown>
Thu, 5 Jun 1997 23:55:16 +0000
(23:55 +0000)
2.04 updates
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
5370305
..
9acdb41
100644
(file)
--- 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.
# 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
case $HostPlatform in
alpha-dec-osf[[1234]]*)
HostPlatform=alpha-dec-osf1 # canonicalise for our purposes
@@
-248,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)
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)
AC_SUBST(HostPlatform)
AC_SUBST(TargetPlatform)
AC_SUBST(HostPlatform_CPP)
@@
-577,9
+579,13
@@
dnl ** check if it is safe to include both <time.h> and <sys/time.h>
#
AC_HEADER_TIME
#
#
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
#
AC_STRUCT_TIMEZONE
+HaveAltZone=yes
+AC_MSG_CHECKING([for altzone])
+AC_TRY_LINK([#include <time.h>], [return altzone;], AC_DEFINE(HAVE_ALTZONE),HaveAltZone=no)
+AC_MSG_RESULT($HaveAltZone)
#
dnl ** determine the type of signal()
#
#
dnl ** determine the type of signal()
#