Mercurial > octave-nkf
diff bootstrap.conf @ 19398:8d267cca249e gui-release
build: Don't build with g77.
* bootstrap.conf: Remove bootstrap_epilogue () section.
* configure.ac: Check for gfortran ahead of other Fortran compilers.
Issue error message and stop configure if g77 is the only compiler found.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 27 Nov 2014 18:54:22 -0800 |
parents | ff4da3c8ed16 |
children | 2218dd129a6b |
line wrap: on
line diff
--- a/bootstrap.conf Tue Nov 25 12:45:36 2014 -0500 +++ b/bootstrap.conf Thu Nov 27 18:54:22 2014 -0800 @@ -188,19 +188,3 @@ (cd libinterp/dldfcn; ./config-module.sh) } -bootstrap_epilogue () -{ - ## G77 is obsolete, but it is still the first option in the autoconf - ## Fortran macros. We should avoid it, because mixing old versions of - ## g77 with modern gcc and g++ causes trouble. The following will - ## make it harder (but not impossible) for users to make this mistake. - ## - ## FIXME -- we should really work to fix autoconf so that it prefers - ## gfortran over g77 even when searching for a Fortran 77 compiler. - - echo "replacing all occurrences of g77 with gfortran in configure script..." - - sed 's/g77/gfortran/g' configure > configure.t - mv configure.t configure - chmod 755 configure -}