Mercurial > mxe-octave
changeset 4610:56a53d1315c0
Makefile.in: Prevent bad config for stable-octave
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 01 Mar 2018 09:24:49 -0500 |
parents | cd94e0f04e87 |
children | 504cb71a29a9 |
files | Makefile.in |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Wed Feb 28 11:27:28 2018 -0500 +++ b/Makefile.in Thu Mar 01 09:24:49 2018 -0500 @@ -60,6 +60,21 @@ # not ENABLE_FORTRAN_INT64. ENABLE_FORTRAN_INT64 := @ENABLE_FORTRAN_INT64@ +## FIXME: this will need to change when Octave 4.4 is released as stable. +stable_64_mismatch = false +ifeq ($(OCTAVE_TARGET),stable-octave) + ifeq ($(ENABLE_64),yes) + ifeq ($(ENABLE_FORTRAN_INT64),no) + $(error --enable-64 and --enable-fortran-int-64 must match for stable-octave) + endif + else + ifeq ($(ENABLE_FORTRAN_INT64),yes) + $(error --enable-64 and --enable-fortran-int-64 must match for stable-octave) + endif + endif +endif + + # create binary octave forge tools. # if cross, compiling, this also means we will attempt to create cross mkoctfile ENABLE_BINARY_PACKAGES := @ENABLE_BINARY_PACKAGES@