https://bugs.gpodder.org/show_bug.cgi?id=920

--- Comment #7 from Thomas Perl <[email protected]> 2010-03-23 21:21:18 GMT ---
What about this makefile condition structure to check if LINGUAS is set:

------------------------------------
LINGUAS ?= xxx

ifeq ($(LINGUAS),xxx)
    MSG="LINGUAS IS NOT SET"
else
    ifeq ($(LINGUAS),)
        MSG="LINGUAS IS EMPTY"
    else
        MSG="LINGUAS IS NOT EMPTY"
    endif
endif

all:
        @echo $(MSG)
------------------------------------

Works for me here:

t...@thpmbp:~$ make
LINGUAS IS NOT SET
t...@thpmbp:~$ LINGUAS= make
LINGUAS IS EMPTY
t...@thpmbp:~$ LINGUAS=de make
LINGUAS IS NOT EMPTY

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to