Hi all, I am facing a strange problem. Can someone point out where am
I going wrong.
If my makefile.am looks as following, then it automatically generates
mybinary_DEPEDENCIES and set it to ../lib/libutil.la
bin_PROGRAMS = mybinary
LDADD= ../lib//libutil.la
mybinary_SOURCES = mybinary.cpp
However if my makefile looks like
bin_PROGRAMS = mybinary
LDADD= @MY_LIBS@
mybinary_SOURCES = mybinary.cpp
where MY_LIBS is a variable defined as AC_SUBST(MY_LIBS) and set in
configure.in, then
mybinary_DEPEDENCIES is set as empty.
Any help/pointer would be appreciated.
Thanks
ND