Fix detection of Berkeley DB 6.
PR 55277
Patch by Lars Wendler <polynomial-c gentoo.org>
(slightly modified)


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1544846 13f79535-47bb-0310-9956-ffa450edef68