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 | 11e886e6d6472e0ed13a2a31bc5eacf5eca4954a (patch) | |
tree | f681f50d65720affc5d9683773effe75de6b34c6 /configure.in | |
parent | 40542f32cf9be13c98dec4685aa42407f1a99db5 (diff) |
* 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/branches/ruby_1_6@1336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 6910091f92..2e043a497e 100644 --- a/configure.in +++ b/configure.in @@ -185,7 +185,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 @@ -241,6 +242,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) |