%% Barry D Benowitz <[EMAIL PROTECTED]> writes:
bdb> #now I test it:
bdb> ifeq ($(strip $(target_arch) ),$(strip $(hp) ) )
bdb> ifeq ($(strip $(target_arch) ),$(strip $(linux) ) )
bdb> neither result1 nor result2 are set. What am I doing wrong.
Take out all that extraneous whitespace. Whitespace _IS_
significant, especially at the end of text sections.
In particular, the whitespace right before the last paren, outside of
the strip function, is definitely screwing things up; the expansion
would be something like:
ifeq (linux,linux )
Well, "linux" is not equal to "linux ", so they don't match.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make