[PATCH] configure: Check for libldap instead of libldap_r.