[vorbis-dev] patch for acinclude.m4

Jeff Squyres jsquyres at lsc.nd.edu
Mon Dec 4 09:59:03 PST 2000


The configure script for vorbis-tools requires one to manually specify:

        --with-ogg-prefix=PATH
        --with-vorbis-prefix=PATH
        --with-ao-prefix=PATH

This is quite a pain to type.

It would seem that most people will be installing all of these packages
into the same $prefix.  So in the absense of specifying these flags, it
would seem suitable to just check for the appropriate header files and
libraries under $prefix.  In the spirit of "optimize the common case", I
have attached a diff (only a few lines, actually) to
vorbis-tools/acinclude.m4 that does just this.  It makes configuring much
simpler -- you can just do:

        ./autogen.sh --prefix=/tmp/foo

assuming that you've previously installed all the others with a --prefix
of /tmp/foo.

The same issue arises in vorbis' configure script, so I attached a diff
for vorbis/acinclude.m4 as well.

{+} Jeff Squyres
{+} squyres at cse.nd.edu
{+} Perpetual Obsessive Notre Dame Student Craving Utter Madness
{+} "I came to ND for 4 years and ended up staying for a decade"


<HR NOSHADE>
<UL>
<LI>TEXT/PLAIN attachment: vorbis_tools.acinclude.m4.diff
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vorbis_tools.acinclude.m4.diff
Type: application/octet-stream
Size: 2085 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20001204/fe1ebbd1/vorbis_tools.acinclude.m4-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vorbis.acinclude.m4.diff
Type: application/octet-stream
Size: 668 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20001204/fe1ebbd1/vorbis.acinclude.m4-0001.obj


More information about the Vorbis-dev mailing list