# HG changeset patch # User John W. Eaton # Date 1519914289 18000 # Node ID 56a53d1315c0370c65ca902de2ed8cecf3496854 # Parent cd94e0f04e8752ec66c2247a6104729a3a3b7050 Makefile.in: Prevent bad config for stable-octave diff -r cd94e0f04e87 -r 56a53d1315c0 Makefile.in --- 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@