summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-04-26 13:58:10 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-04-26 13:58:10 +0000
commite32f6a82698f7909cde817ae33626660b83456d7 (patch)
tree4cd0ac77f531c17dc6de3a2acd44eca2f79bbc79
parent4dfc822aecf894a4903fbeda58d618d1cc6c5d6a (diff)
downloadruby-e32f6a82698f7909cde817ae33626660b83456d7.tar.gz
* configure.in: don't use tzname on cygwin 1.3.1+.
* configure.in: add -mieee/-ieee to CFLAGS on OSF1/Alpha to disable "DIVISION BY ZERO" exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--configure.in10
2 files changed, 16 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7bb838f49d..17091b88bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Thu Apr 26 22:36:11 2001 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * configure.in: don't use tzname on cygwin 1.3.1+.
+
+ * configure.in: add -mieee/-ieee to CFLAGS on OSF1/Alpha
+ to disable "DIVISION BY ZERO" exception.
+
Tue Apr 24 15:18:49 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/extmk.rb.in, lib/mkmf.rb: (dir_config) do not add the
diff --git a/configure.in b/configure.in
index 9cd889871f..379e880ec4 100644
--- a/configure.in
+++ b/configure.in
@@ -200,7 +200,8 @@ rhapsody*) ;;
darwin*) LIBS="-lobjc $LIBS";;
human*) ac_cv_func_getpgrp_void=yes;;
beos*) ;;
-cygwin*) rb_cv_have_daylight=no;;
+cygwin*) rb_cv_have_daylight=no
+ ac_cv_var_tzname=no;;
mingw*) LIBS="-lwsock32 -lmsvcrt $LIBS"
ac_cv_header_a_out_h=no
ac_cv_header_pwd_h=no
@@ -256,6 +257,13 @@ linux*) LIBS="-lm $LIBS"
alpha*)
CFLAGS="-mieee $CFLAGS" ;;
esac ;;
+osf*) LIBS="-lm $LIBS"
+ case "$target_cpu"::"$without_gcc" in
+ alpha*::no)
+ CFLAGS="-mieee $CFLAGS" ;;
+ alpha*::yes)
+ CFLAGS="-ieee $CFLAGS" ;;
+ esac ;;
*) LIBS="-lm $LIBS";;
esac
AC_CHECK_LIB(crypt, crypt)