Re: if vs. ifdef in Makefile.am

"ljh" <[email protected]>
Newsgroups gmane.comp.sysutils.automake.general
Message-ID <[email protected]>
Hi,

Is there a way, in Makefile.am, to check if a variable is empty or defined on command line.

# Makefile.am
if $(FOOBAR)

---

$ make FOOBAR=1


Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.