[FFmpeg-devel] [PATCH] Coremake support

Reimar Döffinger Reimar.Doeffinger
Mon May 14 18:29:42 CEST 2007

On Mon, May 14, 2007 at 12:07:54PM -0400, Ronald S. Bultje wrote:
> The reason that I wrote the auto* patch is because it allows exactly  
> that. Without any additional work in the source tree that I'm  
> integrating ffmpeg into, I can wrap it with a single line in the  
> projects configure.ac (check AC_CONFIG_SUBDIRS). If such a patch were  
> ever to be integrated upstream it would allow literally hassle-free  
> integration of ffmpeg into any project (Reimar, seriously, check  
> AC_CONFIG_SUBDIRS, it does _everything_ and is made exactly to handle  
> this kind of stuff).

I think you misunderstood at least partially. The currently problem is
setting the whole ENABLED_*, CONFIG_*, HAVE_* and TARGET_*. Some of
these can probably be mapped to autoconf default stuff, but for
everything else you'd still have to write code to set them.

> The current configure solution doesn't allow  
> that, because it doesn't support integration into the parent source  
> tree for things like make dist for tarball generation and stuff like  
> that.

With the current build system you could e.g. add dist target to the
generated config.mak.
It might also be possible to find other ways to make these things
simpler by changing our configure a bit.
E.g. one thing to consider might be to split configure into separate
configures in the libav* subdirectories. Maybe that wouldn't work out,
but it might be worth a try if someone has time to waste *g*

Reimar D?ffinger

More information about the ffmpeg-devel mailing list