# expands to enabled or disabled based on bcond; for use with meson or cmake
%__enabled_disabled() %{expand:%%{?with_%{1}:enabled}%%{!?with_%{1}:disabled}}
# expands to enabled or disabled based on bcond; for use with meson or cmake
%__enabled_disabled() %{expand:%%{?with_%{1}:enabled}%%{!?with_%{1}:disabled}}