[vorbis-dev] Distribution Fixes

Jon Shiring slothy at slothy.com
Thu Oct 26 06:51:52 PDT 2000



Ali Abdin wrote:
> Yes, there is a benefit. To be able to locate _WHERE_ you installed the
> files (location of headers and location of the libraries).

How exactly is this helpful?  If you need to run any tests on it, you can
do compile tests, just like how autoconf does most checks for libraries. 
If they have their libogg and libvorbis files elsewhere, they can set their
LD_LIBRARY_PATH.  It's not our job to do a "find / libogg.so" (or "find /
ogg-config" for that matter) if they have their system set up oddly.

> You are incorrectly making the assumption that if it is not in the path I
> will "bomb out" of configure (which is what the macros will do).
> 
> But I do not wish to do this. I wish to conditionally compile Ogg Vorbis
> support (#ifdef HAVE_VORBIS).

AC_CHECK_LIB(...) does not bomb out unless you tell it to as a condition of
failing.  You can have it do whatever you want it to.  For example, licq
has a check for openssl:
AC_CHECK_LIB(ssl, SSL_new, WITH_OPENSSL="yes", WITH_OPENSSL="no")

Jon

--- >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