Commit 6fd7e75d authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Disable LDAP completely if the headers are not missing.

parent 1b85b6ca
...@@ -16104,6 +16104,8 @@ fi ...@@ -16104,6 +16104,8 @@ fi
done done
LIBS="$ac_wine_check_funcs_save_LIBS" LIBS="$ac_wine_check_funcs_save_LIBS"
else
LDAP_LIBS=""
fi fi
CPPFLAGS=$ac_save_CPPFLAGS CPPFLAGS=$ac_save_CPPFLAGS
test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'` test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
......
...@@ -2172,6 +2172,8 @@ then ...@@ -2172,6 +2172,8 @@ then
ldap_parse_vlv_control \ ldap_parse_vlv_control \
ldap_parse_vlvresponse_control, ldap_parse_vlvresponse_control,
[$LDAP_LIBS $PTHREAD_LIBS]) [$LDAP_LIBS $PTHREAD_LIBS])
else
LDAP_LIBS=""
fi]) fi])
fi fi
WINE_NOTICE_WITH(ldap,[test "x$LDAP_LIBS" = "x"], WINE_NOTICE_WITH(ldap,[test "x$LDAP_LIBS" = "x"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment