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

Andres Mejia mcitadel at gmail.com
Mon May 18 20:13:27 PDT 2009


On Monday 18 May 2009 17:02:34 Jason Daly wrote:
> Chris Robinson wrote:
> > The *-config scripts are basically bash/sh scripts, that have a few
> > things replaced (version number, etc). I'm no expert with bash scripting,
> > though. At least, not to where I can fully grasp what the script is
> > doing. If something turns up broken in it, or not working as intended, it
> > would be difficult for me to fix it. And given that it's preferred to use
> > pkg-config anyway, and there's little-to-no use for openal-config, it
> > doesn't seem worth it to include.
>
> It's useful in the cases where the host system doesn't have pkg-config
> installed.
>
> If pkg-config is available, I agree it would be the preferred method.
> I'm not convinced it's a good idea to assume that pkg-config is
> installed on every machine that OpenAL might be installed on, though.

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.

-- 
Regards,
Andres


More information about the Openal-devel mailing list