summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/external/libldb.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/server/external/libldb.m4 b/server/external/libldb.m4
index d11acb4bf..0679e1d19 100644
--- a/server/external/libldb.m4
+++ b/server/external/libldb.m4
@@ -20,7 +20,7 @@ if test x"$with_ldb_lib_dir" != x; then
ldblibdir=$with_ldb_lib_dir
else
ldblibdir="`$PKG_CONFIG --variable=modulesdir ldb`"
- if test x"$ldblibdir" == x; then
+ if ! test -d $ldblibdir; then
ldblibdir="${libdir}/ldb"
fi
fi