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 | eb50188f30f55830298e67c1539539508d6f57a1 (patch) | |
tree | 4bda799102905c581b08e157bf7782d0492bd837 | |
parent | dfb6f63899a14f35f2f25bcb3a1871a77d9044c6 (diff) | |
download | ruby-eb50188f30f55830298e67c1539539508d6f57a1.tar.gz ruby-eb50188f30f55830298e67c1539539508d6f57a1.tar.xz ruby-eb50188f30f55830298e67c1539539508d6f57a1.zip |
* configure.in: always add -mieee for gcc/alpha. [ruby-dev:20429]
git-svn-id: http://svn.ruby-lang.org/repos/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 789c21cb6..ec6abaef7 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 |