[FFmpeg-devel] [PATCH 1/2] Allow overriding SAMPLES by environment variable

Diego Biurrun diego
Thu Feb 10 00:25:21 CET 2011


On Thu, Feb 10, 2011 at 12:12:55AM +0100, Michael Niedermayer wrote:
> On Wed, Feb 09, 2011 at 11:57:43PM +0100, Diego Biurrun wrote:
> > On Wed, Feb 09, 2011 at 11:32:38PM +0100, Janne Grunau wrote:
> > > On Wed, Feb 09, 2011 at 02:19:17PM -0800, Baptiste Coudurier wrote:
> > > > 
> > > > On 02/09/2011 02:13 PM, Diego Biurrun wrote:
> > > > > On Wed, Feb 09, 2011 at 07:32:06PM +0100, Reimar D?ffinger wrote:
> > > > >> ---
> > > > >>   configure |    2 +-
> > > > >>   1 files changed, 1 insertions(+), 1 deletions(-)
> > > > >>
> > > > >> --- a/configure
> > > > >> +++ b/configure
> > > > >> @@ -3248,7 +3248,7 @@ SLIB_CREATE_DEF_CMD=${SLIB_CREATE_DEF_CMD}
> > > > >>   SLIB_UNINSTALL_EXTRA_CMD=${SLIB_UNINSTALL_EXTRA_CMD}
> > > > >> -SAMPLES=$samples
> > > > >> +SAMPLES?=$samples
> > > > >
> > > > > Is setting it through configure a hassle?
> > > > 
> > > > I think so.
> > > 
> > > make SAMPLES=path/to/fate
> > > 
> > > works without specifying the path at configure time
> > 
> > I thought I had mentioned this at some point already, apparently
> > I did not.  Is that enough for you, Reimar?
> 
> I think this is undocumented

It is the standard way of passing variables to Make, same as 'make V=1'.

Diego



More information about the ffmpeg-devel mailing list