1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
aamine 2003-06-23 19:54:41 +00:00
parent d749616333
commit 2f7fde4e4e
2 changed files with 12 additions and 13 deletions

View file

@ -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.

View file

@ -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