diff --git a/ChangeLog b/ChangeLog index 80b34476c4..14e12932ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jun 24 04:54:46 2003 Minero Aoki + + * configure.in: always add -mieee for gcc/alpha. [ruby-dev:20429] + Tue Jun 24 02:40:09 2003 Nobuyoshi Nakada * 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 Mon Jun 23 23:59:56 2003 Minero Aoki - * 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