Re: ifdef ... endif issue

2011-08-19 Thread Stefano Lattarini
On Thursday 18 August 2011, Daniel Neuberger wrote: > On 08/18/11 13:24, Stefano Lattarini wrote: > > Do you have a link to that thread, by chance? I think I can point out > > other workarounds, but before doing so I want to be sure they are > > appropriate to the issue under discussions. > > Sur

Re: ifdef ... endif issue

2011-08-18 Thread Daniel Neuberger
On 08/18/11 13:24, Stefano Lattarini wrote: Do you have a link to that thread, by chance? I think I can point out other workarounds, but before doing so I want to be sure they are appropriate to the issue under discussions. Sure, it's http://thread.gmane.org/gmane.comp.sysutils.automake.gener

Re: ifdef ... endif issue

2011-08-18 Thread Stefano Lattarini
Hi Daniel. On Thursday 18 August 2011, Daniel Neuberger wrote: > >> I don't think you can do what you're trying to achieve. AFAIK the > >> if .. endif syntax used by automake is for conditionals only (see: > >> http://www.gnu.org/software/automake/manual/html_node/ > >> Conditionals.html) and the

Re: ifdef ... endif issue

2011-08-18 Thread Daniel Neuberger
I don't think you can do what you're trying to achieve. AFAIK the if .. endif syntax used by automake is for conditionals only (see: http://www.gnu.org/software/automake/manual/html_node/ Conditionals.html) and there is nothing such as "ifdef". ifdef...endif is GNU make syntax. I found some old

Re: ifdef ... endif issue

2007-08-29 Thread Ralf Wildenhues
Hello Daniel, * Daniel Leidert wrote on Mon, Aug 27, 2007 at 12:37:00AM CEST: > > ifdef...endif is GNU make syntax. I found some old mail now, that tells > me, that automake doesn't accept that syntax, although it doesn't need > to process it. The ifdef...endif syntax would be interpreted by GNU

Re: ifdef ... endif issue

2007-08-26 Thread Daniel Leidert
Am Sonntag, den 26.08.2007, 01:28 +0200 schrieb Benoit SIGOURE: > On Aug 26, 2007, at 12:04 AM, Daniel Leidert wrote: [..] > > 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

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