Is it sufficient to check whether the module-file-suffix
variable exists an is not nil to tell whether the running Emacs supports dynamic module loading?
I'd like to be sure that an instance of Emacs I did not build myself was built using make after configuring with the --with-modules
configure switch. Id like to detect this in Emacs Lisp code.
The docstring of that Emacs Lisp variable seems to indicate that it's sufficient to detect it, yet something I know depends on dynamic module loading does not seem to work and I suspect that the module loading mechanism does not work properly in that instance of Emacs.
Are there better ways to detect the support of dynamic module loading?
M-x report-emacs-bug
.