[FFmpeg-devel] [PATCH] Allow overriding SAMPLES path from make command

Diego Biurrun diego
Sat Jan 29 00:07:26 CET 2011


On Sat, Jan 29, 2011 at 12:02:36AM +0100, Reimar D?ffinger wrote:
> On 28 Jan 2011, at 21:32, M?ns Rullg?rd <mans at mansr.com> wrote:
> > Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:
> > 
> >> --- a/configure
> >> +++ b/configure
> >> @@ -3243,7 +3243,7 @@ SLIB_CREATE_DEF_CMD=${SLIB_CREATE_DEF_CMD}
> >> SLIB_EXTRA_CMD=${SLIB_EXTRA_CMD}
> >> SLIB_INSTALL_EXTRA_CMD=${SLIB_INSTALL_EXTRA_CMD}
> >> SLIB_UNINSTALL_EXTRA_CMD=${SLIB_UNINSTALL_EXTRA_CMD}
> >> -SAMPLES=$samples
> >> +SAMPLES?=$samples
> >> EOF
> >> 
> >> get_version(){
> > 
> > This, like any other make variable, can already be overridden on the
> > command line.
> 
> Ops, I messed up the description.
> It allows overriding it with an environment variable.

Elaborate - does 'make SAMPLES=foo' not work?

Diego



More information about the ffmpeg-devel mailing list