[Openal-devel] Some patches used in Debian openal-soft package

Jason Daly jdaly at ist.ucf.edu
Tue May 19 08:08:17 PDT 2009


Andres Mejia wrote:
> IMO, the preferred method would be for the build system (whether it be cmake, 
> autotools, etc.) of whatever program that needs openal cope with finding the 
> correct information it needs to link with the library, and find the headers.
>
> The pkg-config file may be useful for finding the version, but then again, the 
> build system of the program should instead be checking the actual functions that 
> are needed from openal.
>   

Well, I think they ideally would do both.  First, use pkg-config (or 
whatever) to find it, then do a test for the header and link with a 
known symbol to be sure it's there.

Without something like pkg-config, you can only check the usual places 
(/usr, /usr/local, ...), which might not catch every case.

--"J"


More information about the Openal-devel mailing list