Yevgen Muntyan <[EMAIL PROTECTED]> writes: >>>AC_TRY_LINK puts LDFLAGS before conftest.c on compilation command line...
> For instance for > > AC_CHECK_FUNCS([FAMMonitorDirectory FAMOpen],[fam_found=yes],[fam_found=no]) > > it produces this command line: > > gcc -o conftest -g -L/usr/local/gtk/lib -Wl,--as-needed -lfam conftest.c -lfam belongs in LIBS, not in LDFLAGS. That's your problem, most likely.
