autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to examine a C++ library in a subfolder?


From: bonami
Subject: Re: How to examine a C++ library in a subfolder?
Date: Sun, 1 Jul 2007 18:32:54 -0700 (PDT)

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
> address@hidden
> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]