diff options
author | Yang Tse <yangsita@gmail.com> | 2007-10-14 02:37:04 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-10-14 02:37:04 +0000 |
commit | a171f60bf78079cd413a129ecefa58f6a8c6df03 (patch) | |
tree | 1eabc42c4440d6a2ce2ee761cbfe39e97d0e7081 /configure.ac | |
parent | 887e8f92650c6786cd4ea420d1284a3be0d471d4 (diff) |
Add custom checks for lber, ldap, ldapssl and ldap_ssl header files
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/configure.ac b/configure.ac index 4d0ebe742..c4d626097 100644 --- a/configure.ac +++ b/configure.ac @@ -546,24 +546,10 @@ AC_HELP_STRING([--with-lber-lib=libname],[Specify name of lber lib file]), if test x$CURL_DISABLE_LDAP != x1 ; then - AC_CHECK_HEADERS(lber.h) - - AC_CHECK_HEADERS(ldap.h, - [],[],[ -#if HAVE_LBER_H -#include <lber.h> -#endif -]) - - AC_CHECK_HEADERS(ldap_ssl.h, - [],[],[ -#if HAVE_LBER_H -#include <lber.h> -#endif -#if HAVE_LDAP_H -#include <ldap.h> -#endif -]) + CURL_CHECK_HEADER_LBER + CURL_CHECK_HEADER_LDAP + CURL_CHECK_HEADER_LDAPSSL + CURL_CHECK_HEADER_LDAP_SSL if test -z "$LDAPLIBNAME" ; then case $host in |