From: hno <> Date: Mon, 5 May 2003 03:22:24 +0000 (+0000) Subject: OpenSSL kerberos dependency workaround for RedHat 9 X-Git-Tag: SQUID_3_0_PRE1~216 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f11555e0124bf82e397c526e05518fe067e22f23;p=thirdparty%2Fsquid.git OpenSSL kerberos dependency workaround for RedHat 9 --- diff --git a/configure.in b/configure.in index ca787e9473..02169478ff 100644 --- a/configure.in +++ b/configure.in @@ -3,7 +3,7 @@ dnl Configuration input file for Squid dnl dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9) dnl -dnl $Id: configure.in,v 1.332 2003/04/29 16:08:18 hno Exp $ +dnl $Id: configure.in,v 1.333 2003/05/04 21:22:24 hno Exp $ dnl dnl dnl @@ -13,7 +13,7 @@ AC_CONFIG_SRCDIR([src/main.cc]) AC_CONFIG_AUX_DIR(cfgaux) AM_INIT_AUTOMAKE(squid, 3.0-DEVEL) AM_CONFIG_HEADER(include/autoconf.h) -AC_REVISION($Revision: 1.332 $)dnl +AC_REVISION($Revision: 1.333 $)dnl AC_PREFIX_DEFAULT(/usr/local/squid) AM_MAINTAINER_MODE @@ -699,6 +699,12 @@ if test -n "$USE_OPENSSL"; then if test -z "$SSLLIB"; then SSLLIB="-lcrypto" # for MD5 routines fi + dnl This is a workaround for RedHat 9 brain damage.. + if test -d /usr/kerberos/include && test -z "$SSLLIBDIR" && test -f /usr/include/openssl/kssl.h; then + echo "OpenSSL depends on Kerberos" + SSLLIBDIR="/usr/kerberos/lib" + CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include" + fi fi if test -n "$SSLLIBDIR"; then SSLLIB="-L$SSLLIBDIR $SSLLIB"