%define puts variables on stack, undefine pops them from stack. Now i need a 
way to undefine variable permamently.

Suppose
%define crap 1
%define crap 2
%define crap 3
%undefine crap
(now crap is == 2)

and what I need is some

%undefineall crap

which will make crap undefined regardless of how many defines/undefines were 
there earlier.

Any ideas how to do that on macro level?

Some

while [ "%{defined crap}" ]; do
%undefine crap
done

that will actually work (this one won't obviously).

The other solution is to add %undefineall macro on *.c level (this one is easy 
but I'm looking for a on-macro level thing).

Ideas?
-- 
Arkadiusz Miƛkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        [email protected]

Reply via email to