A snippet from the Apache
httpd-2.4 configure document:
--enable-mods-shared=MODULE-LIST Defines a list of modules to be enabled and build as dynamic shared modules. This mean, these module have to be loaded dynamically by using the LoadModule directive. --enable-mods-static=MODULE-LIST This option behaves similar to --enable-mods-shared, but will link the given modules statically. This mean, these modules will always be present while running `httpd`. They need not be loaded with LoadModule. --enable-modules=MODULE-LIST This option behaves similar to --enable-mods-shared, and will also link the given modules dynamically. The special keyword none disables the build of all modules.
Does this mean that if using
--enable-modules, it will automatically link at run time, without having to use the
LoadModule directive? What's the benefit of this? I understand the difference between a static and dynamic library, but this just confused me.