On Thu, Dec 30, 2004 at 10:52:54PM -0800, Robin Rowe wrote: > AC_CHECK_LIB(IlmImf,ImfApplyLut,,AC_MSG_ERROR(*** openexr dev lib not > found ***),) AC_CHECK_LIB cannot test for a function with C++ linkage. A C++ function's symbol name depends on the types of its parameters as well as its name; this makes features like overloading possible. AC_CHECK_LIB does not know about the parameters, so it cannot craft a test. If libIlmImf contains a function with C linkage, you could test for it. If not, you could test linking a trivial `int main() { return 0; }' with -lIlmImf. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf