summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)