changeset 2855:1bb7dc230a4b

[project @ 1997-03-29 03:55:52 by jwe]
author jwe
date Sat, 29 Mar 1997 03:55:53 +0000
parents f9088eb6b47a
children 8c516da3c1f7
files ChangeLog configure.in
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 Fri Mar 28 16:53:08 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
+	* configure.in: Don't add -fpe1 to FFLAGS on Alpha OSF/1 systems
+	unless we are also using a version of gcc that appears to support
+	IEEE floating point.
+
 	* aclocal.m4 (OCTAVE_FLIBS): Require OCTAVE_HOST_TYPE.
 	Skip -lkernel32 on cygwin32 systems.
 
--- a/configure.in
+++ b/configure.in
@@ -21,7 +21,7 @@
 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 ### 02111-1307, USA. 
 
-AC_REVISION($Revision: 1.264 $)
+AC_REVISION($Revision: 1.265 $)
 AC_PREREQ(2.9)
 AC_INIT(src/octave.cc)
 AC_CONFIG_HEADER(config.h)
@@ -393,10 +393,10 @@
       fi
       case "$canonical_host_type" in
         alpha-dec-osf*)
-          if $f77_is_g77; then
+          if $f77_is_g77 || test -z "$GCC_IEEE_FP_FLAG"; then
             true
 	  else
-            FFLAGS="-fpe1 $FFLAGS"
+	    FFLAGS="-fpe1 $FFLAGS"
 	  fi
         ;;
       esac