changeset 3207:21a6b1257dd8

make --disable-jit and --disable-shared work
author John W. Eaton <jwe@octave.org>
date Tue, 06 Aug 2013 13:40:49 -0400
parents 863a239f0685
children 1080856f48c4
files configure.ac
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Tue Aug 06 13:32:02 2013 -0400
+++ b/configure.ac	Tue Aug 06 13:40:49 2013 -0400
@@ -65,7 +65,7 @@
 BUILD_SHARED=yes
 AC_ARG_ENABLE(shared,
   [AS_HELP_STRING([--disable-shared], [Disable shared libraries])],
-  [], [if test "$enableval" = no; then BUILD_SHARED=no; fi])
+  [if test "$enableval" = no; then BUILD_SHARED=no; fi], [])
 AC_SUBST(BUILD_SHARED)
 
 BUILD_STATIC=no
@@ -76,9 +76,8 @@
 
 ENABLE_JIT=yes
 AC_ARG_ENABLE([jit],
-  [AS_HELP_STRING([--enable-jit],
-    [(EXPERIMENTAL) enable Octave JIT compiler])],
-  [if test "$enableval" = yes; then ENABLE_JIT=yes; fi], [])
+  [AS_HELP_STRING([--disable-jit], [Disable Octave JIT compiler])],
+  [if test "$enableval" = no; then ENABLE_JIT=no; fi], [])
 AC_SUBST(ENABLE_JIT)
 
 MXE_NATIVE_BUILD=false