Silence some clang warnings
Plug leak in 4d02c741b120786df1b87ee9ed49c1d3f9bc7522

Free writer txn on env_close
ITS#7942
ITS#7942 tweak previous commit

Only free when cleaning up operation controls, not response controls.
(This only makes a difference on search requests, which may have
multiple responses with the same set of controls.)
ITS#7943 reinit txn flags

When reusing the main write txn
use IANA assigned OID for dontUseCopy control, don't hide anymore
Silence compiler warning by adding explicit return 0 to ppolicy_db_destroy
new date
Android also only has memalign
Add MDB_ROBUST
Free write mutex earlier in txn_reset0
MDB_ROBUST: Use MDB_PID_T. Drop a wmutex variable.
Must do dlist_free before releasing Wmutex
Use SysV semaphores instead of POSIX

Since they can cleanup after themselves on process exit
Use robust mutexes by default

Making it optional on pthreads just complicates things;
they're always robust on other implementations
Don't use -fPIC for static lib
ITS#7952 .gitignore mdb_dump/load
ITS#7953 .gitignore *.lo
ITS#7955, #7671 fix MDB_PREV_DUP
ITS#7956 fix compact of empty env