--with-librocksdb-static=check \
%if 0%{?rhel} || 0%{?fedora}
--with-systemd-libexec-dir=/usr/libexec/ceph \
- --with-rgw-user=root \
- --with-rgw-group=root \
%endif
%if 0%{?suse_version}
--with-systemd-libexec-dir=/usr/lib/ceph/ \
- --with-rgw-user=wwwrun \
- --with-rgw-group=www \
%endif
--with-radosgw \
$CEPH_EXTRA_CONFIGURE_ARGS \
]
)
-
-dnl rgw-user
-AC_SUBST(user_rgw)
-AC_ARG_WITH(
- rgw-user,
- AS_HELP_STRING(
- [--with-rgw-user=USER],
- [systemd unit directory @<:@USER_RGW@:>@
- Defaults to "www-data"]
- ),
- [
- user_rgw="$withval"
- ],
- [
- if test "x$USER_RGW" = "x"; then
- user_rgw=www-data
- else
- user_rgw="$USER_RGW"
- fi
- ]
-)
-
-dnl rgw-group
-AC_SUBST(group_rgw)
-AC_ARG_WITH(
- rgw-group,
- AS_HELP_STRING(
- [--with-rgw-group=GROUP],
- [systemd unit directory @<:@GROUP_RGW@:>@
- Defaults to "www-data"]
- ),
- [
- group_rgw="$withval"
- ],
- [
- if test "x$GROUP_RGW" = "x"; then
- group_rgw=www-data
- else
- group_rgw="$GROUP_RGW"
- fi
- ]
-)
-
-
AC_SUBST(systemd_unit_dir)
AC_ARG_WITH(
systemd-unit-dir,