Skip to content

Commit 3149568

Browse files
committed
* build/dbm.m4 (APU_CHECK_DBM): Fail if configured with
--with-dbm=lmdb but LMDB is not available. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1913265 13f79535-47bb-0310-9956-ffa450edef68
1 parent 3f99ed2 commit 3149568

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build/dbm.m4

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,10 @@ AC_DEFUN([APU_CHECK_DBM], [
576576
CPPFLAGS="$saved_cppflags"
577577
LDFLAGS="$saved_ldflags"
578578
fi
579+
580+
if test "$requested" = "lmdb" -a "$apu_have_lmdb" = 0; then
581+
AC_MSG_ERROR([LMDB requested, but not found])
582+
fi
579583
])
580584
581585
@@ -695,6 +699,7 @@ AC_DEFUN([APU_CHECK_DBM], [
695699
fi
696700
697701
if test "$apu_want_db" != "0"; then
702+
AC_MSG_NOTICE([checking for Berkeley DB $requested in $user_places])
698703
APU_CHECK_DB($requested, $user_places)
699704
if test "$apu_have_db" = "0"; then
700705
AC_ERROR(Berkeley DB not found.)

0 commit comments

Comments
 (0)