From 1989ffd1fcbbf4c5c48c9aeea544bccf56dbd811 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Mon, 24 Oct 2011 13:42:16 +1300 Subject: [PATCH] ext_session_acl: updated configure checks * Drop obsolete check for db_185.h * Update function check to db_env_create instead of db_open This enables Squid to skip building of the session helper on systems with libdb older than 4.0. --- helpers/external_acl/session/config.test | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/helpers/external_acl/session/config.test b/helpers/external_acl/session/config.test index 83b0f99047..5407fe3999 100755 --- a/helpers/external_acl/session/config.test +++ b/helpers/external_acl/session/config.test @@ -1,10 +1,6 @@ #!/bin/sh -# Actual intended test -if [ -f /usr/include/db_185.h ]; then - exit 0 -fi -if [ -f /usr/include/db.h ] && grep dbopen /usr/include/db.h; then +if [ -f /usr/include/db.h ] && grep db_env_create /usr/include/db.h; then exit 0 fi exit 1 -- 2.47.2