[vlc-devel] AW: Re: Difficulties with autconf/automake

Andreas Korth andreas.korth at gmx.net
Sun Oct 19 21:37:51 CEST 2003


Thanks Clément,

I also found a section in the HACKING file on this issue (after posting
my message) but it's not as informative as your description below. 

I would suggest to update HACKING to include your explanation. It would
also seem like a good idea to me to add it to the developer docs online.

Cheers,
Andreas   

> 
> Hello,
> 
> > How do I add new files to the autoconf system, so that they 
> get built 
> > with VLC?
> 
> You will have to add a AX_ADD_PLUGIN command in the configure.ac file.
> 
> If the plugin is always to get built, add it at the place 
> where there is already a bunch of these, without any 
> condition (around line 850)
> 
> If you want a configuration option, you will have to use 
> AC_ARG_ENABLE. (look the pvr example, line 1400, which is one 
> of the simplest).
> 
> If your plugin needs special compilation options, you can 
> change them with AX_ADD_CFLAGS (for C program), 
> AX_ADD_CXXFLAGS (for C++) and AX_ADD_LDFLAGS for link options.
> 
> Good luck,
> 
> --  
> Zorglub
> Clément Stenac
> 
> -- 
> This is the vlc-devel mailing-list, see 
> http://www.videolan.org/vlc/ To unsubscribe, > please read 
> http://developers.videolan.org/lists.html
> If you are in trouble, please contact <postmaster at videolan.org>
> 

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list