comparison configure.ac @ 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 0ead4a0df960
children 1080856f48c4
comparison
equal deleted inserted replaced
3206:863a239f0685 3207:21a6b1257dd8
63 AC_SUBST(ENABLE_64) 63 AC_SUBST(ENABLE_64)
64 64
65 BUILD_SHARED=yes 65 BUILD_SHARED=yes
66 AC_ARG_ENABLE(shared, 66 AC_ARG_ENABLE(shared,
67 [AS_HELP_STRING([--disable-shared], [Disable shared libraries])], 67 [AS_HELP_STRING([--disable-shared], [Disable shared libraries])],
68 [], [if test "$enableval" = no; then BUILD_SHARED=no; fi]) 68 [if test "$enableval" = no; then BUILD_SHARED=no; fi], [])
69 AC_SUBST(BUILD_SHARED) 69 AC_SUBST(BUILD_SHARED)
70 70
71 BUILD_STATIC=no 71 BUILD_STATIC=no
72 AC_ARG_ENABLE(static, 72 AC_ARG_ENABLE(static,
73 [AS_HELP_STRING([--enable-static], [Enable static libraries])], 73 [AS_HELP_STRING([--enable-static], [Enable static libraries])],
74 [if test "$enableval" = yes; then BUILD_STATIC=yes; fi], []) 74 [if test "$enableval" = yes; then BUILD_STATIC=yes; fi], [])
75 AC_SUBST(BUILD_STATIC) 75 AC_SUBST(BUILD_STATIC)
76 76
77 ENABLE_JIT=yes 77 ENABLE_JIT=yes
78 AC_ARG_ENABLE([jit], 78 AC_ARG_ENABLE([jit],
79 [AS_HELP_STRING([--enable-jit], 79 [AS_HELP_STRING([--disable-jit], [Disable Octave JIT compiler])],
80 [(EXPERIMENTAL) enable Octave JIT compiler])], 80 [if test "$enableval" = no; then ENABLE_JIT=no; fi], [])
81 [if test "$enableval" = yes; then ENABLE_JIT=yes; fi], [])
82 AC_SUBST(ENABLE_JIT) 81 AC_SUBST(ENABLE_JIT)
83 82
84 MXE_NATIVE_BUILD=false 83 MXE_NATIVE_BUILD=false
85 AC_ARG_ENABLE([native-build], 84 AC_ARG_ENABLE([native-build],
86 [AS_HELP_STRING([--enable-native-build], 85 [AS_HELP_STRING([--enable-native-build],