changeset 24374:80948d6e58c2 stable

Fix ENABLE_JIT mistakenly being set by configure. * configure.ac: Check that ENABLE_JIT = yes, rather than just being defined, before calling AC_DEFINE.
author Rik <rik@octave.org>
date Wed, 06 Dec 2017 18:27:31 -0800
parents 708b98b4cdd1
children 2e5259153857 6915cc404dba
files configure.ac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed Dec 06 13:45:54 2017 +0100
+++ b/configure.ac	Wed Dec 06 18:27:31 2017 -0800
@@ -1390,7 +1390,7 @@
 dnl   warn_llvm="JIT compiler disabled, some performance loss for loops"
 dnl   OCTAVE_CONFIGURE_WARNING([warn_llvm])
 fi
-if test $ENABLE_JIT; then
+if test $ENABLE_JIT = yes; then
   AC_DEFINE(ENABLE_JIT, 1, [Define to 1 to enable JIT compiler.])
 fi