How can I know the current configuration options, like
with-cocoa
, with-librsvg
, with-modules
(i.e. the options using when Emacs was built), of the running Emacs, programmatically?
Asked
Active
Viewed 411 times
1 Answers
3
You can inspect the variable system-configuration-options
with C-h v system-configuration-options
system-configuration-options is a variable defined in `C source code'. Its value is ""
Documentation: String containing the configuration options Emacs was built with.
In my case, the value is: "--host=x86_64-debian-linux-gnu --with-modules"

Manuel Uberti
- 3,250
- 19
- 37
M-x emacs-version
tells you some info.M-x report-emacs-bug
tells you much more (you need not finish submitting a bug report). – Drew Jul 16 '18 at 14:46