[FFmpeg-devel] [PATCH 2/2] configure: Add --enable-concise-version option.
Michael Niedermayer
michaelni at gmx.at
Tue Nov 19 22:08:12 CET 2013
On Tue, Nov 19, 2013 at 07:38:27AM -0500, Stephen Hutchinson wrote:
> On Sun, Aug 11, 2013 at 12:17 PM, Stephen Hutchinson <qyot27 at gmail.com> wrote:
> > This gives the user the ability to disable 'configuration:' from
> > the regular invocation report.
> > ---
> > cmdutils.c | 2 ++
> > configure | 6 ++++++
> > ffmpeg.c | 3 +++
> > ffplay.c | 3 +++
> > ffprobe.c | 3 +++
> > 5 files changed, 17 insertions(+)
> >
> > diff --git a/cmdutils.c b/cmdutils.c
> > index 43ea21c..827a3f5 100644
> > --- a/cmdutils.c
> > +++ b/cmdutils.c
> > @@ -1063,7 +1063,9 @@ static void print_program_info(int flags, int level)
> > av_log(NULL, level, "%sbuilt on %s %s with %s\n",
> > indent, __DATE__, __TIME__, CC_IDENT);
> >
> > +#ifndef CONCISE_CONF
> > av_log(NULL, level, "%sconfiguration: " FFMPEG_CONFIGURATION "\n", indent);
> > +#endif
> > }
> >
> > static void print_buildconf(int flags, int level)
> > diff --git a/configure b/configure
> > index 3946632..a39b3d6 100755
> > --- a/configure
> > +++ b/configure
> > @@ -294,6 +294,7 @@ Advanced options (experts only):
> > (faster, but may crash)
> > --enable-memalign-hack emulate memalign, interferes with memory debuggers
> > --enable-lto use link-time optimization
> > + --enable-concise-version omit 'configuration:' from regular invocation
iam not completely sure this is a good idea
its quite important that bug reports contain this information
> >
> > Optimization options (experts only):
> > --disable-asm disable all assembler optimizations
> > @@ -1592,6 +1593,7 @@ CMDLINE_SELECT="
> > lto
> > optimizations
> > stripping
> > + concise_version
> > "
> >
> > PATHS_LIST='
> > @@ -4621,6 +4623,10 @@ test -e Makefile || $ln_s "$source_path/Makefile" .
> >
> > enabled stripping || strip="echo skipping strip"
> >
> > +if enabled concise_version; then
> > + add_cflags -DCONCISE_CONF
> > +fi
please see config.h and the code that creates it
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131119/bd4524c8/attachment.asc>
More information about the ffmpeg-devel
mailing list