]> arthur.barton.de Git - netatalk.git/blobdiff - macros/db3-check.m4
Merge branch-2-1
[netatalk.git] / macros / db3-check.m4
index 7b3c64edecdb1e62bf586399cc6e98de652231a8..081d27be75f28222122d1fb283ef21b24cdd4f44 100644 (file)
@@ -161,8 +161,10 @@ AC_DEFUN([AC_PATH_BDB],[
                             break;
                         fi
 
-                        dnl -- Search for 64bit lib in "lib" too
-                        if test x"$atalk_libname" = x"lib64" ; then
+                        dnl -- Search lib in "lib" too, as $atalk_libname might be set
+                        dnl -- to "lib64" or "lib/64" which would not be found above
+                        dnl -- if 64bit lib were installed in a dir named "lib"
+                        if test x"$atalk_libname" != x"lib" ; then
                            bdblibdir="${bdbdir}/lib"
                            bdbbindir="${bdbdir}/bin"