automake
[Top][All Lists]
Advanced

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

Checking for libraries using AC_CHECK_LIB


From: Lars von Wedel
Subject: Checking for libraries using AC_CHECK_LIB
Date: Tue, 11 Dec 2001 15:40:37 +0100

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

Attachment: vonWedel.vcf
Description: Card for Lars von Wedel


reply via email to

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