ando@sys-net.it writes:
(...) There are tons of (sysadmin side) ways to make sure the right library is loaded, so I vote against supporting this feature. Of course, I'm fine about documenting that --with-uniquename is not supported.
configure should in any case check for __lock_getlocker(), since it's not a documented Berkeley DB function. Note that their headers do not declare it, OpenLDAP back-bdb.h does.