From: hno <> Date: Tue, 21 Mar 2006 05:56:13 +0000 (+0000) Subject: Disable squid_session by default for now until the proper autoconf magic X-Git-Tag: SQUID_3_0_PRE4~286 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1e21bbe23185508207e9f3673a83fba6b25c710;p=thirdparty%2Fsquid.git Disable squid_session by default for now until the proper autoconf magic is in place... From Duane: This doesn't compile on FreeBSD. There is no libdb. looks like dbopen is in libc. --- diff --git a/helpers/external_acl/session/config.test b/helpers/external_acl/session/config.test index 77dbabe29a..eb3d6afb7a 100755 --- a/helpers/external_acl/session/config.test +++ b/helpers/external_acl/session/config.test @@ -1,8 +1,20 @@ #!/bin/sh + +# Need a little more autoconf magic before enabling this. Some systems +# have db 1.85 in libc but the makefile currently assumes -ldb is needed.. +exit 1 + +# Actual intended test if [ -f /usr/include/db_185.h ]; then exit 0 fi if [ -f /usr/include/db.h ]; then exit 0 fi +if [ -f /usr/local/include/db_185.h ]; then + exit 0 +fi +if [ -f /usr/local/include/db.h ]; then + exit 0 +fi exit 1