[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Macros get expanded in comments..
- From: "Mike A. Harris" <mharris meteng on ca>
- To: rpm-list redhat com
- Subject: Macros get expanded in comments..
- Date: Sun, 24 Sep 2000 16:54:51 -0400 (EDT)
I have a spec file which I have a construct like:
%define this that
#%define this somethingelse
After a bit of hair pulling I found that the commented out macro
definition is acting as if not commented out after all. Is this
a bug or a feature? If the latter, how can I get the desired
operation?
In english, what I'm _really_ wanting to do is:
if( build_os <= Red Hat 6.2 )
%define this that
else
%define this somethingelse
fi
I have no idea how to state that in the spec file though, so I
figured I'd just manually comment out the %define for each build.
Any help would be greatly appreciated.
TIA
--
Mike A. Harris - Linux advocate - Open source advocate
Copyright 2000 all rights reserved
----------
"A Firewall is really much like a sophisticated traffic cop; it detects and
stops unauthorized or suspicious movement in or out of the network. But
security is more than a Firewall; it's a process. You can't just put in a
Firewall and think you're secure."
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]