help with AC_CHECK_LIB, AC_TRY_LINK

2001-12-06 Thread Patrick Crosby
for some reason, i'm unable to get configure to find one of the libraries i'm using. i have tried both of the following in my configure.in: AC_CHECK_LIB([id3], [ID3Tag_New]) and saved_libs="$LIBS" LIBS="$LIBS -lid3" AC_TRY_LINK([#include ], [ID3Tag* pTag = ID3Tag_New();],

LDADD and library link order

2001-11-14 Thread Patrick Crosby
is there a way to get automake to put the libraries specified in LDADD after the libraries in LIBS for linking? is there a different LDADD-like variable that does this? thanks. patrick