Re: Automake barfing on $(shell ...) syntax?

2010-12-22 Thread Philip Prindeville
On 12/22/10 2:23 PM, Nick Bowler wrote: On 2010-12-20 17:39 -0800, Philip Prindeville wrote: The odd thing is that even though it complains, it still generates the correct Makefile in the first case: SYMFILES = $(srcdir)/uni.h $(shell $(CC) $(CFLAGS) -E $(srcdir)/header.c | $(AWK) -f $(srcdir)/

Re: Automake barfing on $(shell ...) syntax?

2010-12-22 Thread Nick Bowler
On 2010-12-20 17:39 -0800, Philip Prindeville wrote: > The odd thing is that even though it complains, it still generates the > correct Makefile in the first case: > > SYMFILES = $(srcdir)/uni.h $(shell $(CC) $(CFLAGS) -E > $(srcdir)/header.c | $(AWK) -f $(srcdir)/script.awk) > > Does automake ne

bug#7698: aclocal generates too strict a check for name-lister

2010-12-22 Thread Ximin Luo
I have a core2 system, and have been trying to compile GMP 5.0.1 optimised for other x86 CPUs, by doing (e.g.) $ ./configure --host=pentium4-$(./config.guess | cut -d- -f2-) However, these fail with an obscure error message about `link -dump -symbols` (see snippet 1). After a convoluted path of d

bug#7698: aclocal generates too strict a check for name-lister

2010-12-22 Thread Ximin Luo
On 21/12/10 13:36, Stefano Lattarini wrote: > The bug you're hitting must be located in a third-part macro, since no > automake-provided macro do something similar to that. And in fact, it > seems to come from GMP-5.0.1's own acinclude.m4 (which is *not* the same > as aclocal.m4! see the automake

bug#7689: Fwd: Due for a new release?

2010-12-22 Thread Philip Prindeville
The odd thing is that even though it complains, it still generates the correct Makefile in the first case: SYMFILES = $(srcdir)/uni.h $(shell $(CC) $(CFLAGS) -E $(srcdir)/header.c | $(AWK) -f $(srcdir)/script.awk) Does automake need to be $(shell ...)-aware? Original Message -

bug#7698: aclocal generates too strict a check for name-lister

2010-12-22 Thread Ximin Luo
On 22/12/10 00:55, Peter Rosin wrote: > FWIW, It smells exactly like a bug that was fixed in libtool 2.2.8 related > to this NEWS entry: I did some more poking around - this bug is in libtool, but not the one you mention. The "responsible snippet" I pasted above is from libtool.m4, and it exists i

Different flags for static and shared build of a library

2010-12-22 Thread Zdenek Hutyra
Hello. Is it possible to specify CFLAGS different for static and shared library in .am file? lib_LTLIBRARIES = libFOO.la libFOO_la_CFLAGS = ... Thank you.

Automake barfing on $(shell ...) syntax?

2010-12-22 Thread Philip Prindeville
The odd thing is that even though it complains, it still generates the correct Makefile in the first case: SYMFILES = $(srcdir)/uni.h $(shell $(CC) $(CFLAGS) -E $(srcdir)/header.c | $(AWK) -f $(srcdir)/script.awk) Does automake need to be $(shell ...)-aware? The code in question lives here.

comments in make variable definition

2010-12-22 Thread Stefano Lattarini
[dropping debbugs, adding automake] [stemming from discussion about automake bug#7657: ] On Tuesday 21 December 2010, Ralf Wildenhues wrote: > * Stefano Lattarini wrote on Tue, Dec 21, 2010 at 01:55:39PM CET: > > On Sunday 19 December 2010, Ralf