Mercurial > mxe-octave
diff src/octave.mk @ 3333:4372645ff7e3
Add --disable-java option to configure.
* Makefile.in: Add ENABLE_JAVA Makefile variable that is substituted by
configure.
* configure.ac: Add AC_ARG_ENABLE macro call with ENABLE_JAVA defaulted to yes.
* src/octave.mk: Call Octave configure script with --disable-java if MXE option
has been specified.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 23 Nov 2013 09:10:20 -0800 |
parents | 5b38e99bbfe4 |
children | 324937497c32 |
line wrap: on
line diff
--- a/src/octave.mk Sat Nov 23 09:05:40 2013 -0800 +++ b/src/octave.mk Sat Nov 23 09:10:20 2013 -0800 @@ -13,9 +13,13 @@ $(PKG)_DEPS := arpack curl fftw fltk $($(PKG)_FONTCONFIG) gl2ps glpk gnuplot graphicsmagick hdf5 lapack pcre pstoedit qhull qrupdate qscintilla qt readline suitesparse texinfo zlib ifeq ($(ENABLE_JIT),yes) $(PKG)_DEPS += llvm -$(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --enable-jit + $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --enable-jit else -$(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --disable-jit + Remove $(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS := --disable-jit +endif + +ifeq ($(ENABLE_JAVA),no) + $(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS := --disable-java endif ifeq ($(ENABLE_OPENBLAS),yes) @@ -76,6 +80,7 @@ $($(PKG)_BLAS_OPTION) \ $($(PKG)_CROSS_CONFIG_OPTIONS) \ $($(PKG)_ENABLE_64_CONFIGURE_OPTIONS) \ + $($(PKG)_ENABLE_JAVA_CONFIGURE_OPTIONS) \ $($(PKG)_ENABLE_JIT_CONFIGURE_OPTIONS) \ $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \ PKG_CONFIG='$(MXE_PKG_CONFIG)' \