bug#34925: Overwriting target_LDFLAGS within conditionals

2019-03-20 Thread Дилян Палаузов
Hello, my reading of the automake manual is that for an AM_CONDITIONAL Z AM_LDFLAGS = -flto if Z a_LDFLAGS = -O3 endif means: if Z is defined, a_LDFLAGS is used and AM_LDFLAGS are not used. if Z is not defined, a_LDFLAGS is absent and AM_LDFLAGS are used. But looking in Makefile.in the code lo

bug#34924: Default _SOURCES fails when the target contains dots

2019-03-20 Thread Дилян Палаузов
Hello, I expect that the line a_b_d_e_f_g_SOURCES = a/b/d-e-f.g.c to be superflous, as this is a “Default _SOURCE”, but `make` fails with make[1]: *** No rule to make target 'a/b/d-e-f.c', needed by 'a/b/d_e_f_g-d-e-f.o'. Stop g is lost from the tagret. …_PROGRAMS = a/b/c-e-f.g Note, that