[Date Prev][Date Next]
Re: (ITS#5945) --enable-backends=auto support
> Full_Name: Quanah Gibson-Mount
> Version: 2.4.13
> OS: NA
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (184.108.40.206)
> It would be handy to allow --enable-backends to have auto support so that all
> available backends can be selected. The current behavior is "yes", which means
> that if you don't have the requisites for a given backend, configure stops.
Accommodating this request would make other things much more inconvenient.
Currently the backends and overlay options toggle between "no | yes | mod"
where "yes" means "yes+static" and "mod" means "yes+dynamic". An "auto" option
here doesn't allow you to select static vs dynamic. Adding "auto" would revert
us back to OpenLDAP 2.0's behavior, where every backend required two enable
switches "--enable-bdb" and "--enable-bdb-mod=static" (or dynamic) which IMO
was far too cumbersome.
Likewise it would require rewriting most of the backends' detection tests in
configure.in, which currently use AC_MSG_ERROR when a prereq isn't found. All
of those would have to be turned into warnings/bailouts in the "auto" case,
instead of aborting the configure run.
IMO, seems like more effort than it's worth.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/