[FFmpeg-devel] [PATCH] configure: define CONFIG_THIS_YEAR at the configure level

Stefano Sabatini stefasab at gmail.com
Tue Nov 26 00:10:06 CET 2013


On date Monday 2013-11-25 23:40:41 +0100, Lukasz M encoded:
> On 25 November 2013 23:33, Stefano Sabatini <stefasab at gmail.com> wrote:
> 
[...]
> > The macro can be shared between configure script and cmdutils.c.
> > ---
> > diff --git a/configure b/configure
> > index 6b0375b..1bf05cb 100755
> > --- a/configure
> > +++ b/configure
> > @@ -4910,6 +4910,7 @@ cat > $TMPH <<EOF
> >  #define FFMPEG_CONFIG_H
> >  #define FFMPEG_CONFIGURATION "$(c_escape $FFMPEG_CONFIGURATION)"
> >  #define FFMPEG_LICENSE "$(c_escape $license)"
> > +#define CONFIG_THIS_YEAR 2013
> >
> 

> "$(date +%Y)"
> Probably an overkill? :)

We like to celebrate the new year's eve "by hand" :).

Now seriously, the problem is that you could have a misconfigured
system, so the date output can't be always trusted.

I'll push the patch tomorrow if there are no objections.
-- 
FFmpeg = Fiendish & Fostering Marvellous Portable Erroneous Gymnast


More information about the ffmpeg-devel mailing list