This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Checking for libraries using AC_CHECK_LIB



Hello,

I have some difficulties to understand the AC_CHECK_LIB macro.
Using the argument for the function to be checked defines a
dummy header for the function so that the compiler does not
complain. 

But in C++ the case is somewhat different if there are functions
residing in namespaces, such as CORBA::ORB_init -- how would I
check for these?

On Linux, I simply checked for main, but Solaris CC 5.1 tells
me that calling main recursively is not allowed.

How is this macro intended to be used together with C++?

Lars
begin:vcard 
n:von Wedel;Lars
tel;fax:++49 241 8092326
tel;work:++49 241 8095240
x-mozilla-html:FALSE
url:http://www.lfpt.rwth-aachen.de
org:RWTH Aachen;Lehrstuhl fuer Prozesstechnik
adr:;;Turmstrasse 46;52064 Aachen;;;Germany
version:2.1
email;internet:vonWedel@lfpt.rwth-aachen.de
fn:Lars von Wedel
end:vcard

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]