Allow building RGW with LDAP disabled

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
This commit is contained in:
Daniel Gryniewicz 2016-06-10 11:33:56 -04:00
parent 4ae038fb53
commit 38abfcb5d0

View File

@ -1317,10 +1317,6 @@ endif(${WITH_KVS})
if(${WITH_RADOSGW})
if(${HAVE_OPENLDAP})
set(rgw_ldap_srcs rgw/rgw_ldap.cc)
endif(${HAVE_OPENLDAP})
set(rgw_a_srcs
rgw/rgw_acl.cc
rgw/rgw_acl_s3.cc
@ -1343,7 +1339,7 @@ if(${WITH_RADOSGW})
rgw/rgw_http_client.cc
rgw/rgw_json_enc.cc
rgw/rgw_keystone.cc
${rgw_ldap_srcs}
rgw/rgw_ldap.cc
rgw/rgw_loadgen.cc
rgw/rgw_log.cc
rgw/rgw_metadata.cc