~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/plugins/kdb/ldap/libkdb_ldap/configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2009-05-07 16:16:34 UTC
  • mfrom: (13.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090507161634-xqyk0s9na0le4flj
Tags: 1.7dfsg~beta1-4
When  decrypting the TGS response fails with the subkey, try with the
session key to work around Heimdal bug, Closes: #527353 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
K5_AC_INIT(configure.in)
2
 
CONFIG_RULES
3
 
AC_CHECK_HEADERS(unistd.h)
4
 
AC_TYPE_MODE_T
5
 
AC_TYPE_OFF_T
6
 
 
7
 
AC_CHECK_FUNCS(srand48 srand srandom umask)
8
 
 
9
 
LDAP_OKAY=1
10
 
AC_CHECK_HEADERS([ldap.h], :, [LDAP_OKAY=0; AC_MSG_WARN([ldap.h not found])])
11
 
AC_CHECK_HEADERS([lber.h], :, [LDAP_OKAY=0; AC_MSG_WARN([lber.h not found])])
12
 
AC_CHECK_LIB(ldap, ldap_init, :, [LDAP_OKAY=0; AC_MSG_WARN([libldap not found])])
13
 
if test "$LDAP_OKAY" = "0"; then 
14
 
    AC_ERROR("LDAP libraries missing - skipping LDAP database module")
15
 
fi
16
 
BER_OKAY=0
17
 
AC_CHECK_LIB(ldap, ber_init, [BER_OKAY=1])
18
 
if test "$BER_OKAY" = "1"; then 
19
 
        LDAP_LIBS='-lldap'
20
 
else
21
 
        AC_CHECK_LIB(lber, ber_init, [BER_OKAY=1], [AC_MSG_WARN([libber not found])])
22
 
        if test "$BER_OKAY" = "1"; then 
23
 
                LDAP_LIBS='-lldap -llber'
24
 
        else
25
 
                AC_ERROR("BER library missing - skipping LDAP database module")
26
 
        fi
27
 
fi
28
 
AC_SUBST(LDAP_LIBS)
29
 
 
30
 
KRB5_RUN_FLAGS
31
 
dnl The following is for check...
32
 
KRB5_BUILD_PROGRAM
33
 
KRB5_BUILD_LIBOBJS
34
 
KRB5_BUILD_LIBRARY_WITH_DEPS
35
 
dnl
36
 
V5_AC_OUTPUT_MAKEFILE