[vorbis-dev] Distribution Fixes

Michael Smith msmith at labyrinth.net.au
Thu Oct 26 03:41:38 PDT 2000



>There is a valid usage for them. If you think there isn't, could you 
>please tell me how I detect the presence of libogg/libvorbis (that 
>includes the '-devel' packages) is installed on my system.

Please, tell me how you're going to use these scripts to detect the
presence (or otherwise) of libogg/libvorbis. If you're assuming it's going
to be in your path (if installed), then it's just as reasonable to assume
that libvorbis is in your normal library search path. So you just use the
(supplied) autoconf macros. They're there for a reason.

I honestly fail to see how an extra script helps you locate these files.
Script presumably goes in standard location. If script is present, you can
locate files. However, it's equally true that the files presumably go in
standard locations, so you can simply check for the presence of the files
directly.

Logically, if these scripts are useful in any way, we should extend it to
libc-config, libm-config, etc. One for _every_ library on the system. Why
is this case any different?

I absolutely agree that for complex interdependent systems (like gnome,
etc.) there are good reasons for these sorts of scripts. For standalone
libraries with a fixed and unchanging list of dependencies (libvorbis
depends on libogg, libc, libm. There's no reason that I can think of that
that would ever change), I fail to see a benefit.

>
>Okay, once you do that. Could you now tell me, how I can get my 
>application (that uses libvorbisfile) to detect where the headers and 
>libraries are installed?

No. I can tell you that you don't need to know, though. Again, it's
reasonable to assume that they're in the standard search paths. If that's
NOT a reasonable assumption, then it's also unreasonable to assume that the
config scripts will be in your path.

Michael

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list