Skip to content

Commit

Permalink
* build/dbm.m4 (APU_CHECK_DBM): Fail if configured with
Browse files Browse the repository at this point in the history
  --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
  • Loading branch information
notroj committed Oct 24, 2023
1 parent 3f99ed2 commit 3149568
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/dbm.m4
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,10 @@ AC_DEFUN([APU_CHECK_DBM], [
CPPFLAGS="$saved_cppflags"
LDFLAGS="$saved_ldflags"
fi
if test "$requested" = "lmdb" -a "$apu_have_lmdb" = 0; then
AC_MSG_ERROR([LMDB requested, but not found])
fi
])
Expand Down Expand Up @@ -695,6 +699,7 @@ AC_DEFUN([APU_CHECK_DBM], [
fi
if test "$apu_want_db" != "0"; then
AC_MSG_NOTICE([checking for Berkeley DB $requested in $user_places])
APU_CHECK_DB($requested, $user_places)
if test "$apu_have_db" = "0"; then
AC_ERROR(Berkeley DB not found.)
Expand Down

0 comments on commit 3149568

Please sign in to comment.