Re: ifdef ... endif issue

2007-08-25 Thread Benoit SIGOURE
On Aug 26, 2007, at 12:04 AM, Daniel Leidert wrote: Hi, Hi, I wanted to use this code in one of my Makefiles: ifdef WIN32_EXTRA_LDFLAGS WIN32_EXTRA_LDFLAGS += -export-symbols $(srcdir)/entities.def endif But that doesn't work. automake complains: src/plugin_entities/Makefile.am:22: WIN32

ifdef ... endif issue

2007-08-25 Thread Daniel Leidert
Hi, I wanted to use this code in one of my Makefiles: ifdef WIN32_EXTRA_LDFLAGS WIN32_EXTRA_LDFLAGS += -export-symbols $(srcdir)/entities.def endif But that doesn't work. automake complains: src/plugin_entities/Makefile.am:22: WIN32_EXTRA_LDFLAGS must be set with `=' before using `+=' src/plugi