mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
Add check for lber.h and ldap.h header files
This commit is contained in:
parent
0cc9122093
commit
3337be81c8
@ -544,6 +544,8 @@ AC_HELP_STRING([--with-lber-lib=libname],[Specify name of lber lib file]),
|
|||||||
|
|
||||||
if test x$CURL_DISABLE_LDAP != x1 ; then
|
if test x$CURL_DISABLE_LDAP != x1 ; then
|
||||||
|
|
||||||
|
AC_CHECK_HEADERS(ldap.h)
|
||||||
|
|
||||||
if test -z "$LDAPLIBNAME" ; then
|
if test -z "$LDAPLIBNAME" ; then
|
||||||
case $host in
|
case $host in
|
||||||
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
|
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
|
||||||
@ -570,6 +572,8 @@ fi
|
|||||||
|
|
||||||
if test x$CURL_DISABLE_LDAP != x1 ; then
|
if test x$CURL_DISABLE_LDAP != x1 ; then
|
||||||
|
|
||||||
|
AC_CHECK_HEADERS(lber.h)
|
||||||
|
|
||||||
if test "$LBERLIBNAME" ; then
|
if test "$LBERLIBNAME" ; then
|
||||||
dnl If name is "no" then don't define this library at all
|
dnl If name is "no" then don't define this library at all
|
||||||
dnl (it's only needed if libldap.so's dependencies are broken).
|
dnl (it's only needed if libldap.so's dependencies are broken).
|
||||||
|
Loading…
Reference in New Issue
Block a user