openexr-devel
[Top][All Lists]
Advanced

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

[Openexr-devel] finding the libs via autoconf


From: Andrew Chapman
Subject: [Openexr-devel] finding the libs via autoconf
Date: Thu, 03 May 2007 10:10:03 +0100
User-agent: Thunderbird 2.0.0.0 (X11/20070326)

Can anyone offer some advice for getting a 3rd party tool to find openexr/ilmbase via autoconf?

I've tried using AC_CHECK_LIB() on libIlmImf, which returns the right link flags when the libs are installed to the default location, but I'm wondering if there is a neater way of doing it that might find the headers/libs in other locations.

I've seen the openexr.m4 file within the openexr distribution, which seems to provide AM_PATH_OPENEXR(), but I'm not too sure about the process of using it from a 3rd party app. I can only call that if I copy the openexr.m4 file into my app directory, but I'm assuming there's a way of using it from where the openexr installation has put it on the system.

So anyway, I'm new to this autoconf business, so any tips on reliably finding openexr or ilmbase would be much appreciated.

Cheers,
AC.


reply via email to

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