[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnu make bug
From: |
Paul D. Smith |
Subject: |
Re: gnu make bug |
Date: |
16 Feb 2001 17:07:47 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
%% address@hidden (Laurie Moye) writes:
lm> ifneq ( , $(findstring -g, $(CFLAGS)) )
Why does everyone think whitespace doesn't count?
lm> Which seems to confirm that the bracketted form of the ifneq fails to
lm> recognise the sort of empty string returned by findstring when it
lm> fails.
You're not comparing against the empty string, you're comparing with a
string containing " " (two spaces).
Rewrite:
ifneq (,$(findstring -g,$(CFLAGS)))
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> 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