balabit/syslog-ng — pull request #324 by algernon (2014-12-02 16:17:50+00:00)
Title: configure.ac: Add an --enable-all-modules option

This option will turn on or off all modules and most features when enabled, unless a feature was explicitly changed from being auto-detected. Currently, this means that pacct must be explicitly enabled, since it defaults to "no" (while all others default to "auto").

This also means that Sun Streams are turned on even on Linux, which leads to a compile error later. So on Linux, --enable-all-modules should be used together with --disable-sun-streams.

Fixes #149.

A better option would be to clean up configure, and have an m4 macro that handles the module enable/disable foo, and also registers it in a list, so when adding a new module, one wouldn't need to update the `MODULES` list introduced here too. But that's beyond my time limit at the moment.