Mercurial > hg > octave-nkf
changeset 324:7bf8cd7cafde
[project @ 1994-02-02 10:58:58 by jwe]
author | jwe |
---|---|
date | Wed, 02 Feb 1994 11:01:49 +0000 |
parents | b851a7712cc7 |
children | 76858c603790 |
files | Makeconf.in configure.in |
diffstat | 2 files changed, 19 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Makeconf.in +++ b/Makeconf.in @@ -63,17 +63,20 @@ CC = @CC@ CFLAGS = @CFLAGS@ -ALL_CFLAGS = $(INCFLAGS) $(DEFS) $(CFLAGS) -UGLY_ALL_CFLAGS = $(INCFLAGS) $(UGLY_DEFS) $(CFLAGS) +GCC_IEEE_FP_FLAGS = @GCC_IEEE_FP_FLAGS@ +ALL_CFLAGS = $(INCFLAGS) $(DEFS) $(GCC_IEEE_FP_FLAGS) $(CFLAGS) +UGLY_ALL_CFLAGS = $(INCFLAGS) $(UGLY_DEFS) $(GCC_IEEE_FP_FLAGS) $(CFLAGS) CXX = @CXX@ CXXFLAGS = @CXXFLAGS@ EXTERNAL_TEMPLATES = @EXTERNAL_TEMPLATES@ -ALL_CXXFLAGS = $(INCFLAGS) $(DEFS) $(EXTERNAL_TEMPLATES) $(CXXFLAGS) -UGLY_ALL_CXXFLAGS = $(INCFLAGS) $(UGLY_DEFS) $(CXXFLAGS) +ALL_CXXFLAGS = $(INCFLAGS) $(DEFS) $(EXTERNAL_TEMPLATES) \ + $(GCC_IEEE_FP_FLAGS) $(CXXFLAGS) +UGLY_ALL_CXXFLAGS = $(INCFLAGS) $(UGLY_DEFS) $(EXTERNAL_TEMPLATES) \ + $(GCC_IEEE_FP_FLAGS) $(CXXFLAGS) LDFLAGS = @LDFLAGS@ -ALL_LDFLAGS = $(LIBFLAGS) $(LDFLAGS) +ALL_LDFLAGS = $(LIBFLAGS) $(GCC_IEEE_FP_FLAGS) $(LDFLAGS) FLIBS = @FLIBS@
--- a/configure.in +++ b/configure.in @@ -144,6 +144,17 @@ AC_SUBST(CXXFLAGS)dnl AC_SUBST(EXTERNAL_TEMPLATES)dnl +case "$CC" in + gcc* | */gcc*) + case "$canonical_host_type" in + *-i[3456]86-*) + GCC_IEEE_FP_FLAG="-mieee-fp" + ;; + esac + ;; +esac +AC_SUBST(GCC_IEEE_FP_FLAG)dnl + # If we haven't been forced to use f2c, try to find a Fortran compiler # under any one of several common Un*x Fortran compiler names. # Put fc last to avoid confusion with some vendor's /bin/sh fc