From d9fb5b538c7c7222c29be018b3c2a9680a181f70 Mon Sep 17 00:00:00 2001
From: Jonathan McDowell <noodles@earth.li>
Date: Mon, 20 Sep 2004 14:32:11 +0000
Subject: [PATCH] Hard error when db version is < 4. Fix configure.ac so we
 hard error if our version is less than 4.

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index a3468aa..e0a7e84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,7 +21,7 @@ then
 	set `eval $ac_cpp conftest.c | egrep '^ *[[0-9]] *'`; v="$1"; vv="$2"
 	AC_MSG_RESULT($v.$vv)
 	if test "$v" -ne 4; then
-		AC_MSG_RESULT([   * onak requires libdb version 4])
+		AC_MSG_ERROR([   * onak requires libdb version 4])
 	fi
 	for db in "db-$v.$vv" "db$v.$vv" "db-$v" "db$v" "db"; do
 		AC_MSG_CHECKING(for db_create in lib$db)
-- 
2.39.5