https://bugs.openldap.org/show_bug.cgi?id=9307
Issue ID: 9307 Summary: --enable-<option>=mod should require --enable-modules Product: OpenLDAP Version: 2.5 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: build Assignee: bugs@openldap.org Reporter: ryan@openldap.org Target Milestone: ---
In master/RE25,
./configure --enable-backends=mod
fails with:
checking configure arguments... configure: error: slapd requires a backend
if --enable-modules is not also specified.
In RE24, and for overlays in both versions, the specified modules get switched to static automatically, and a warning is emitted for each:
configure: WARNING: building static accesslog overlay
The behaviour was changed in issue 8224; the idea was to have it fail earlier if neither loadable module support nor any static backend was selected, but the error is not clear enough.
Quanah and I agreed that it would be better to fail with an explicit error message in this case, rather than automatically do something different than requested.