Hello
> I'd like to specify a static library that is linked with all testcases
> in check_PROGRAMS, so that I don't have to specify it for each testcase.
> Is this possible with automake?
some obvious hints:
I think that if you set variable "LDADD" (without any prefix), it applies
to all programs in that makefile.
1) If you have a separate directory for tests, this solves your problem.
2) Otherwise, if you have many check_PROGRAMS, but only a few normal programs,
you can set LDADD and overrride
foo1_LDADD =
foo2_LDADD =
for regular programs foo1 and foo2.
HTH,
Stepan