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

Clément Stenac zorglub at via.ecp.fr
Sun Oct 19 10:22:16 CEST 2003


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

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>

More information about the vlc-devel mailing list