[Rpm-maint] [rpm-software-management/rpm] Add macros to generate --enable-/disable- arguments (#176)
steelman
notifications at github.com
Wed Mar 22 10:39:51 UTC 2017
I've renamed the macros. Below is a table describing their usage.
usage | %{with_foo} is definned | with_foo} is undefined
---------------------- | ----------------------- | ----------------------
%{cfg_enable foo} | --enable-foo | --disable-foo
%{cfg_disable foo} | --disable-foo | --enable-foo
%{cfg_with foo} | --with-foo | --without-foo
%{cfg_without foo} | --without-foo | --with-foo
%{cfg_with foo baz} | --with-foo=baz | --without-foo
%{cfg_without foo baz} | --without-foo | --with-foo=baz
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/176#issuecomment-288359958
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170322/9d475784/attachment.html>
More information about the Rpm-maint
mailing list