diff scripts/miscellaneous/computer.m @ 21253:a66a737913b5

allow __have_feature__ to check for ENABLE_ options * __have_feature__.m: Handle ENABLE_ options. * mex_demo.c, oct_demo.cc: Update note about octave_config_info. * toplev.cc (Foctave_config_info): For ENABLE_ options, store logical values instead of true/false or yes/no strings in struct. * computer.m: Change use of octave_config_info ("ENABLE_64").
author John W. Eaton <jwe@octave.org>
date Fri, 12 Feb 2016 16:28:51 -0500
parents e06e600f396a
children 1da428cbf401
line wrap: on
line diff
--- a/scripts/miscellaneous/computer.m	Fri Feb 12 16:13:11 2016 -0500
+++ b/scripts/miscellaneous/computer.m	Fri Feb 12 16:28:51 2016 -0500
@@ -71,7 +71,7 @@
     else
       c = msg;
       if (isargout (2))
-        if (strcmp (octave_config_info ("ENABLE_64"), "true"))
+        if (octave_config_info ("ENABLE_64"))
           maxsize = 2^63-1;
         else
           maxsize = 2^31-1;