# HG changeset patch # User jwe # Date 827497304 0 # Node ID 8e393fad93628547404f25fc513f1d8120938077 # Parent 564637605b2a9591b032d8597d261188782c5263 [project @ 1996-03-22 12:21:44 by jwe] diff --git a/configure.in b/configure.in --- a/configure.in +++ b/configure.in @@ -20,7 +20,7 @@ ### along with Octave; see the file COPYING. If not, write to the Free ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -AC_REVISION($Revision: 1.171 $) +AC_REVISION($Revision: 1.172 $) AC_PREREQ(2.0) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -274,12 +274,25 @@ ### On Linux systems we need to compile with -mieee-fp to get full ### support for IEEE floating point. +### +### On Alpha/OSF systems, wee need -mieee-with-inexact, but that also +### requires gcc 2.8.x or later. case "$canonical_host_type" in i[345]86-*-linux) GCC_IEEE_FP_FLAG="-mieee-fp" AC_MSG_RESULT([defining GCC_IEEE_FP_FLAG to be $GCC_IEEE_FP_FLAG]) ;; + alpha-dec-osf*) + case"$gcc_version" in + 1.* | 2.[01234567].*) + ;; + *) + GCC_IEEE_FP_FLAG="-mieee-with-inexact" + AC_MSG_RESULT([defining GCC_IEEE_FP_FLAG to be $GCC_IEEE_FP_FLAG]) + ;; + esac + ;; esac AC_SUBST(GCC_IEEE_FP_FLAG)