Hi, it came on now on the binutils mailing list:
`make tags' will not index sources which are listed in *_SOURCES += ... in unsatisfied AM_CONDITIONAL blocks. IMO they should be. Sure one can use some EXTRA_*_SOURCES out of the `if' block but this delocalizes+duplicates the information making error prone for future modifications. OTOH AM_CONDITIONAL can be used for example if an optional sources part is / is not bundled, in such case the current automake behavior is better. Posting here for a consideration as asked about by Ralf Wildenhues. Thanks, Jan automake-1.11.1-5.fc14.noarch autoconf-2.66-2.fc14.noarch make tags list='b.c '; \ - `c.c' is missing here! ==> Makefile.am <== bin_PROGRAMS = a a_SOURCES = b.c AUTOMAKE_OPTIONS = foreign if F a_SOURCES += c.c endif F ==> b.c <== int main (void) { return 0; } ==> c.c <== void f (void) {} ==> configure.ac <== AC_INIT(a, 1.0) AM_INIT_AUTOMAKE AM_CONDITIONAL(F, false) AC_PROG_CC AC_CONFIG_FILES(Makefile) AC_OUTPUT