检索八度的编译选项

Retrieve the compilation options for octave

有什么简单的方法可以检索八度的编译选项吗?

类似于python的东西:

import distutils.sysconfig
print(distutils.sysconfig.get_config_var('CONFIG_ARGS'))
>>> '--enable-shared' '--enable-ipv6' '--with-ensurepip=no' <...>

我是 运行 Ubuntu 16.04

octave_config_info()很啰嗦。例如,您在我的系统上询问的配置选项:

octave:1> octave_config_info().config_opts 
ans = '--disable-gui'

编辑:正如 carandraug 指出的那样,"octave_config_info()" 已在 4.2 中弃用。您可以在此处查看有关维护者邮件列表的讨论:http://octave.1599824.n4.nabble.com/quot-features-quot-problems-td4675361.html