[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to examine a C++ library in a subfolder?
From: |
Ralf Wildenhues |
Subject: |
Re: How to examine a C++ library in a subfolder? |
Date: |
Sun, 1 Jul 2007 11:15:16 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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
- Re: How to examine a C++ library in a subfolder?,
Ralf Wildenhues <=