diff libinterp/corefcn/toplev.cc @ 21131:54527108599a

store more --enable-FEATURE info in octave_config_info * configure.ac: (ENABLE_64, ENABLE_BOUNDS_CHECK, ENABLE_DOCS, ENABLE_FLOAT_TRUNCATE, ENABLE_JIT, ENABLE_OPENMP): New variables. macros. Handle consistently and AC_DEFINE them. * common.mk, toplev.cc, oct-conf.in.h: Substitute new variables and store them in octave_config_info. * oct-conf-post.in.h: Provide old macro names for compatibility. * Array.cc, Array.h, DiagArray2.h, PermMatrix.h, Range.cc, Sparse.h, dim-vector.h, idx-vector.h, oct-refcount.h: Fix uses of macros.
author John W. Eaton <jwe@octave.org>
date Thu, 21 Jan 2016 18:18:16 -0500
parents bd1752782e56
children e06e600f396a
line wrap: on
line diff
--- a/libinterp/corefcn/toplev.cc	Thu Jan 21 18:12:34 2016 -0500
+++ b/libinterp/corefcn/toplev.cc	Thu Jan 21 18:18:16 2016 -0500
@@ -1300,7 +1300,13 @@
     { false, "DL_LIBS", OCTAVE_CONF_DL_LIBS },
     { false, "GCC_VERSION", OCTAVE_CONF_GCC_VERSION },
     { false, "GXX_VERSION", OCTAVE_CONF_GXX_VERSION },
+    { false, "ENABLE_64", OCTAVE_CONF_ENABLE_64 },
+    { false, "ENABLE_BOUNDS_CHECK", OCTAVE_CONF_ENABLE_BOUNDS_CHECK },
+    { false, "ENABLE_DOCS", OCTAVE_CONF_ENABLE_DOCS },
     { false, "ENABLE_DYNAMIC_LINKING", OCTAVE_CONF_ENABLE_DYNAMIC_LINKING },
+    { false, "ENABLE_FLOAT_TRUNCATE", OCTAVE_CONF_ENABLE_FLOAT_TRUNCATE },
+    { false, "ENABLE_JIT", OCTAVE_CONF_ENABLE_JIT },
+    { false, "ENABLE_OPENMP", OCTAVE_CONF_ENABLE_OPENMP },
     { false, "EXEEXT", OCTAVE_CONF_EXEEXT },
     { false, "F77", OCTAVE_CONF_F77 },
     { false, "F77_FLOAT_STORE_FLAG", OCTAVE_CONF_F77_FLOAT_STORE_FLAG },