Hello, * bonami wrote on Wed, Jun 27, 2007 at 10:43:17AM CEST: > > i have a C++ library ll in /usr/local/lib/e/ and there is a class c in it. > now i'm developing another program using autoconf/automake. > how can i test for the library's existence in configure.ac, since it is not > in library dir? > if i write > AC_CHECK_LIB([ll], main)) > it fails. It should work if you use ./configure LDFLAGS=-L/usr/local/lib/e > and header file meets the same problem. and similar with CPPFLAGS. Hope that helps. Cheers, Ralf _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf