diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-23 19:54:41 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-23 19:54:41 +0000 |
commit | 2f7fde4e4e41f378b62f4cb1fb69e19c4abea722 (patch) | |
tree | 4bda799102905c581b08e157bf7782d0492bd837 | |
parent | d749616333e092b13948405164f4799b2884eddd (diff) | |
download | ruby-2f7fde4e4e41f378b62f4cb1fb69e19c4abea722.tar.gz |
* configure.in: always add -mieee for gcc/alpha. [ruby-dev:20429]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.in | 19 |
2 files changed, 12 insertions, 13 deletions
@@ -1,3 +1,7 @@ +Tue Jun 24 04:54:46 2003 Minero Aoki <aamine@loveruby.net> + + * configure.in: always add -mieee for gcc/alpha. [ruby-dev:20429] + Tue Jun 24 02:40:09 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> * array.c (rb_ary_unshift_m): need to check number of arguments. @@ -5,7 +9,7 @@ Tue Jun 24 02:40:09 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> Mon Jun 23 23:59:56 2003 Minero Aoki <aamine@loveruby.net> - * io.c (io_close): missing prototype. + * io.c (io_close): missing prototype. [ruby-dev:20422] * ext/socket/socket.c (bsock_do_not_rev_lookup_set): ditto. diff --git a/configure.in b/configure.in index 789c21cb63..ec6abaef71 100644 --- a/configure.in +++ b/configure.in @@ -328,24 +328,19 @@ freebsd*) LIBS="-lm $LIBS" fi fi ;; -linux*) LIBS="-lm $LIBS" - case "$target_cpu" in - alpha*) - CFLAGS="-mieee $CFLAGS" ;; - esac ;; -osf*) LIBS="-lm $LIBS" - case "$target_cpu"::"$GCC" in - alpha*::yes) - CFLAGS="-mieee $CFLAGS" ;; - alpha*::no|alpha*::) - CFLAGS="-ieee $CFLAGS" ;; - esac ;; *) LIBS="-lm $LIBS";; esac AC_CHECK_LIB(crypt, crypt) AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX +case "$target_cpu" in +alpha*) case "$target_os"::"$GCC" in + *::yes) CFLAGS="-mieee $CFLAGS" ;; # gcc + osf*) CFLAGS="-ieee $CFLAGS" ;; # ccc + esac ;; +esac + dnl Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC |