i think this works, but it needs user interaction. is there a way i put this into configure.ac or sth.? Ralf Wildenhues wrote: > > 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 > > -- View this message in context: http://www.nabble.com/How-to-examine-a-C%2B%2B-library-in-a-subfolder--tf3986986.html#a11387192 Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf