* configure.in: add -mieee to CFLAGS on Linux/Alpha
to disable "DIVISION BY ZERO" exception. * configure.in: remove -ansi on OSF/1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cc8165ad23
commit
eccb4d0210
@ -1,3 +1,10 @@
|
|||||||
|
Sun Apr 22 17:44:37 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in: add -mieee to CFLAGS on Linux/Alpha
|
||||||
|
to disable "DIVISION BY ZERO" exception.
|
||||||
|
|
||||||
|
* configure.in: remove -ansi on OSF/1.
|
||||||
|
|
||||||
Wed Apr 18 04:37:51 2001 Wakou Aoyama <wakou@fsinet.or.jp>
|
Wed Apr 18 04:37:51 2001 Wakou Aoyama <wakou@fsinet.or.jp>
|
||||||
|
|
||||||
* lib/cgi.rb: CGI::Cookie: no use PATH_INFO.
|
* lib/cgi.rb: CGI::Cookie: no use PATH_INFO.
|
||||||
|
@ -251,6 +251,11 @@ freebsd*) LIBS="-lm $LIBS"
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
linux*) LIBS="-lm $LIBS"
|
||||||
|
case "$target_cpu" in
|
||||||
|
alpha*)
|
||||||
|
CFLAGS="-mieee $CFLAGS" ;;
|
||||||
|
esac ;;
|
||||||
*) LIBS="-lm $LIBS";;
|
*) LIBS="-lm $LIBS";;
|
||||||
esac
|
esac
|
||||||
AC_CHECK_LIB(crypt, crypt)
|
AC_CHECK_LIB(crypt, crypt)
|
||||||
@ -925,9 +930,7 @@ case "$target_os" in
|
|||||||
CFLAGS="$CFLAGS -DOS2"
|
CFLAGS="$CFLAGS -DOS2"
|
||||||
;;
|
;;
|
||||||
osf*)
|
osf*)
|
||||||
if test "$without_gcc" = "no" ; then
|
if test "$without_gcc" = "yes" ; then
|
||||||
CFLAGS="$CFLAGS -ansi"
|
|
||||||
else
|
|
||||||
# compile something small: taint.c is fine for this.
|
# compile something small: taint.c is fine for this.
|
||||||
# the main point is the '-v' flag of 'cc'.
|
# the main point is the '-v' flag of 'cc'.
|
||||||
case "`cc -v -I. -c main.c -o /tmp/main.o 2>&1`" in
|
case "`cc -v -I. -c main.c -o /tmp/main.o 2>&1`" in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user