Changeset View
Changeset View
Standalone View
Standalone View
m4/ldap.m4
Context not available. | |||||
#else | #else | ||||
#include <ldap.h> | #include <ldap.h> | ||||
#endif | #endif | ||||
],[ldap_open("foobar",1234);], | ],[ldap_open("foobar",1234);ber_alloc();], | ||||
[gnupg_cv_func_ldap_init=yes],[gnupg_cv_func_ldap_init=no]) | [gnupg_cv_func_ldap_init=yes],[gnupg_cv_func_ldap_init=no]) | ||||
AC_MSG_RESULT([$gnupg_cv_func_ldap_init]) | AC_MSG_RESULT([$gnupg_cv_func_ldap_init]) | ||||
if test $gnupg_cv_func_ldap_init = no; then | if test $gnupg_cv_func_ldap_init = no; then | ||||
AC_MSG_CHECKING([whether I can make LDAP be sane with lber.h]) | AC_MSG_CHECKING([whether I can make LDAP be sane with lber.h]) | ||||
AC_TRY_LINK([#include <lber.h> | AC_TRY_LINK([#include <lber.h> | ||||
#include <ldap.h>],[ldap_open("foobar",1234);], | #include <ldap.h>],[ldap_open("foobar",1234);ber_alloc();], | ||||
[gnupg_cv_func_ldaplber_init=yes],[gnupg_cv_func_ldaplber_init=no]) | [gnupg_cv_func_ldaplber_init=yes],[gnupg_cv_func_ldaplber_init=no]) | ||||
AC_MSG_RESULT([$gnupg_cv_func_ldaplber_init]) | AC_MSG_RESULT([$gnupg_cv_func_ldaplber_init]) | ||||
fi | fi | ||||
Context not available. |