configure: Disable LDAP completely if the headers are not missing.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1b85b6cab7
commit
6fd7e75d08
|
@ -16104,6 +16104,8 @@ fi
|
|||
done
|
||||
|
||||
LIBS="$ac_wine_check_funcs_save_LIBS"
|
||||
else
|
||||
LDAP_LIBS=""
|
||||
fi
|
||||
CPPFLAGS=$ac_save_CPPFLAGS
|
||||
test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
|
||||
|
|
|
@ -2172,6 +2172,8 @@ then
|
|||
ldap_parse_vlv_control \
|
||||
ldap_parse_vlvresponse_control,
|
||||
[$LDAP_LIBS $PTHREAD_LIBS])
|
||||
else
|
||||
LDAP_LIBS=""
|
||||
fi])
|
||||
fi
|
||||
WINE_NOTICE_WITH(ldap,[test "x$LDAP_LIBS" = "x"],
|
||||
|
|
Loading…
Reference in New Issue