[FFmpeg-devel] [PATCH 1/2] Allow overriding SAMPLES by environment variable
Martin Storsjö
martin
Wed Feb 9 21:55:05 CET 2011
On Wed, 9 Feb 2011, M?ns Rullg?rd wrote:
> Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:
>
> > ---
> > configure | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/configure b/configure
> > index 2077397..44471b2 100755
> > --- a/configure
> > +++ b/configure
> > @@ -3248,7 +3248,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
>
> Why? We don't do this for any other settings.
Being able to override it by doing "export SAMPLES=<whatever>", outside of
the actual configure/build commands, I guess. I can see the value in that,
but OTOH I can see it being kind of problematic that the build system
reacts to such a genericly named env variable, too.
// Martin
More information about the ffmpeg-devel
mailing list