Ralf Wildenhues wrote:

and at configure time @LIBMINE_LDADD@ either gets set to ../libmine/libmine.la or something like -L/usr/pkg/lib -lmine.

OK.  First tangential issue: if you use @substitutions@ rather than
Makefile.am conditionals, then automake cannot see through them, and
you have to fix dependencies yourself.  IOW, you have to ensure that
myprog_DEPENDENCIES contains '../libmine/libmine.la' if myprog_LDADD
contains it.  In contrast, automake can figure it out itself with

if LOCAL_LIBMINE
myprog_LDADD = ../libmine/libmine.la
else
myprog_LDADD = ...
endif

This issue isn't your actual problem though.

Thanks.  I've changed to use automake conditionals here like you suggested.


-Dan


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to