1 |
vip-ire |
1.1 |
--- Mail-SpamAssassin-3.0.0/spamc/configure.in.krb5 2004-01-18 00:56:18.000000000 +0100 |
2 |
|
|
+++ Mail-SpamAssassin-3.0.0/spamc/configure.in 2004-01-21 04:08:11.000000000 +0100 |
3 |
|
|
@@ -63,6 +63,14 @@ |
4 |
|
|
AC_MSG_ERROR([Cannot use SSL; libraries or header files are missing. |
5 |
|
|
You may try using 'configure --disable-ssl'.]) |
6 |
|
|
fi |
7 |
|
|
+ # Check whether openssl is linked against kerberos 5 |
8 |
|
|
+ if test -r `eval echo $includedir`/openssl/kssl.h; then |
9 |
|
|
+ krb5config=`PATH=/usr/kerberos/bin:$PATH which krb5-config 2>/dev/null` |
10 |
|
|
+ if test \! -z "$krb5config"; then |
11 |
|
|
+ SSLCFLAGS="$SSLCFLAGS `$krb5config --cflags`" |
12 |
|
|
+ SSLLIBS="$SSLLIBS `$krb5config --libs`" |
13 |
|
|
+ fi |
14 |
|
|
+ fi |
15 |
|
|
fi |
16 |
|
|
AC_CHECK_LIB(inet, connect) |
17 |
|
|
AC_CHECK_LIB(nsl, t_accept) |