test for lber.h when trying to link against openldap to handle
openldap v1, from Sumit Bose <sumit.bose@suse.de> git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9716 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -77,7 +77,10 @@ dnl AC_ROKEN(10,[/usr/heimdal /usr/athena],[lib/roken],[$(top_builddir)/lib/roke
|
||||
rk_ROKEN(lib/roken)
|
||||
LIB_roken="\$(top_builddir)/lib/vers/libvers.la $LIB_roken"
|
||||
|
||||
AC_TEST_PACKAGE_NEW(openldap,[#include <ldap.h>],[-lldap -llber],,,OPENLDAP)
|
||||
AC_TEST_PACKAGE_NEW(openldap,
|
||||
[#include <lber.h>
|
||||
#include <ldap.h>],
|
||||
[-lldap -llber],,,OPENLDAP)
|
||||
|
||||
if test "$openldap_libdir"; then
|
||||
LIB_openldap="-R $openldap_libdir $LIB_openldap"
|
||||
|
Reference in New Issue
Block a user