Hi Richard, * Richard Brooksby wrote on Fri, May 12, 2006 at 06:00:47PM CEST: > At <http://sources.redhat.com/automake/automake.html> it says: > >7.1.3.2 Conditional compilation using Automake conditionals *snip*
This documents Automake version 1.9.6. > >If your program uses a lot of files, you will probably prefer a > >conditional +=. > > > > bin_PROGRAMS = hello > > hello_SOURCES = hello-common.c > > if LINUX > > hello_SOURCES += hello-linux.c > > else > > hello_SOURCES += hello-generic.c > > endif > > The former works, the latter does not. I'm running automake 1.6.3 on > Mac OS X 10.4. Try putting the attached minimal files in a directory > and running "aclocal" followed by "automake". Current is 1.9.6. Use that instead of 1.6.3, which is several years old. I think the bug you report was fixed in 1.7, but I wasn't using Automake back in those times. Oodles of other bugs have been fixed since. Cheers, Ralf