summaryrefslogtreecommitdiff
path: root/server/external/libldb.m4
diff options
context:
space:
mode:
Diffstat (limited to 'server/external/libldb.m4')
-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 d11acb4b..0679e1d1 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