[vorbis-dev] vcomment question

Ben Stanley bds02 at uow.edu.au
Fri Jul 12 10:50:01 PDT 2002



David K. Gasaway wrote:

> Ben Stanley wrote:
>
>> It's defined in configure.in
>>
>> AC_INIT(oggenc/encode.c)
>> AM_INIT_AUTOMAKE(vorbis-tools,1.0)
>>                              ^^^
>
>
> Could you explain a little more?  I don't know enough about these 
> tools.   Is VERSION replaced in the vcomment.c source before it is 
> compiled? Otherwise, that line doesn't look like valid C.
>
> I was hoping to compile on Windows.  I see there is a MSVC project for 
> vorbiscomment.  How does it handle this VERSION?

Bookmark this page for when you have time to learn some more...

http://sources.redhat.com/autobook/

Note in particular the link to the browsable online version and/or the 
downloadable tarball.

To cut a long story short, autoconf eventually writes out a file full of 
macro definitions, usually config.h. This will probably include a line like

#define VERSION 1.0

But the last time I read the autobook was about 7 months ago... YMMV.

Ben.

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