From: Jonathan McDowell <noodles@earth.li>
Date: Mon, 20 Sep 2004 14:32:11 +0000 (+0000)
Subject: Hard error when db version is < 4.
X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/d9fb5b538c7c7222c29be018b3c2a9680a181f70

Hard error when db version is < 4.
Fix configure.ac so we hard error if our version is less than 4.
---

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)