Alexandre, I noticed:
> Or we could simply use an Automake conditional as follows. > > lib_LTLIBRARIES = libhello.la > if LINUX > libhello_la_SOURCES = hello-linux.c hello-common.c > else > libhello_la_SOURCES = hello-generic.c hello-common.c > endif and immediately wondered if one could say: lib_LTLIBRARIES = libhello.la libhello_la_SOURCES = hello-common.c if LINUX libhello_la_SOURCES+= hello-linux.c else libhello_la_SOURCES+= hello-generic.c endif As I recall, there *used* to be a problem with this. I don't know if it has been fixed or not. H