[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: bcond_with on RHEL4 missing?



On Wed, Jul 25, 2007 at 01:46:28PM +0200, Patrice Dumas wrote:
> Hello,
> 

I solved it, one has to use:

%define with()         %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}}
%define without()      %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}}
%define bcond_with()           %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
%define bcond_without()        %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}

--
Pat


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]