# 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
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
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)
if $PerlCmd -e 'do "getopts.pl" || exit(1); exit(0);' > /dev/null 2>&1 ; then
:
else
- echo "I think your perl library is misinstalled."
+ echo "I think your perl library is misinstalled:"
echo "The following script did not work:"
echo ' do "getopts.pl" || exit(1); exit(0);'
- exit 1
+ echo 'But, anyway, we will continue in our quest..'
fi
#
#
#
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 <time.h>], [return altzone;], AC_DEFINE(HAVE_ALTZONE),HaveAltZone=no)
+AC_MSG_RESULT($HaveAltZone)
#
dnl ** determine the type of signal()
#