1

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?

cmal
  • 775
  • 3
  • 14
  • 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

1 Answers1

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