automake 1.11 parses if statement too late

2009-08-07 Thread Bernhard Rosenkraenzer
Hi, this part of a Makefile.am causes errors with automake 1.11: if IPHONE # What ing * came up with the idea of a platform without shared libraries??? lib_LIBRARIES = libtest.a libtest_a_SOURCES = test.cpp libtest_a_LDFLAGS = -lsomelib else lib_LTLIBRARIES = libtest.la libtest_la_SOURCES

Re: automake 1.11 parses if statement too late

2009-08-07 Thread Andrew W. Nosenko
On Fri, Aug 7, 2009 at 15:23, Bernhard Rosenkraenzer wrote: > Hi, > this part of a Makefile.am causes errors with automake 1.11: > > if IPHONE > # What ing * came up with the idea of a platform without shared > libraries??? > lib_LIBRARIES = libtest.a > libtest_a_SOURCES = test.cpp > libtes

Re: automake 1.11 parses if statement too late

2009-08-10 Thread Ralf Wildenhues
Hello, * Andrew W. Nosenko wrote on Fri, Aug 07, 2009 at 05:05:35PM CEST: > On Fri, Aug 7, 2009 at 15:23, Bernhard Rosenkraenzer wrote: > > this part of a Makefile.am causes errors with automake 1.11: > > > > if IPHONE > > # What ing * came up with the idea of a platform without shared > >