taglib with autoconf and automake - help please
lalinsky at gmail.com
Fri Aug 18 17:42:07 CEST 2006
Bartek Grychtol wrote:
> I wrote a little file conversion program in C++ using TagLib, and now I wanted
> to make it a proper GNU project with autoconf and automake. I am completely
> knew to these tools and admittedly don't really know what I am doing. I was
> hacking around the whole day yesterday, but couldn't figure out how to write
> the Makefile.am and configure.ac such that I get my program to compile again.
> I don't seem to be able to invoke the taglib-config properly, I think. My
> program used to compile with the line provided in the TagLib Documentation:
> g++ taglib-test.cpp `taglib-config --cflags --libs` -o taglib-test
> I would be grateful for any and all helpful suggestions in this regard.
I personally use AC_CHECK_TAGLIB  in configure.ac, which exports two
variables TAGLIB_LIBS and TAGLIB_CFLAGS, and then I use these in Makefile.am.
More information about the taglib-devel