diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-04-26 13:58:10 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-04-26 13:58:10 +0000 |
commit | fd31cfaaea0825cc0634c0d2294499420302ca7e (patch) | |
tree | 4cd0ac77f531c17dc6de3a2acd44eca2f79bbc79 | |
parent | 1dc770df22d74b69e8e71b99d5127d49c42c172d (diff) | |
download | ruby-fd31cfaaea0825cc0634c0d2294499420302ca7e.tar.gz ruby-fd31cfaaea0825cc0634c0d2294499420302ca7e.tar.xz ruby-fd31cfaaea0825cc0634c0d2294499420302ca7e.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@1336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | configure.in | 10 |
2 files changed, 16 insertions, 1 deletions
@@ -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 9cd889871..379e880ec 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) |