[FFmpeg-devel] [PATCH] configure: output build config and license to libavutil/avconfig.h
Michael Niedermayer
michaelni at gmx.at
Sun Dec 8 17:43:20 CET 2013
On Sat, Nov 30, 2013 at 01:55:05PM -0800, Timothy Gu wrote:
> Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
> ---
> configure | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index b9104bb..8625caa 100755
> --- a/configure
> +++ b/configure
> @@ -4956,8 +4956,7 @@ cat > $TMPH <<EOF
> /* Automatically generated by configure - do not modify! */
> #ifndef FFMPEG_CONFIG_H
> #define FFMPEG_CONFIG_H
> -#define FFMPEG_CONFIGURATION "$(c_escape $FFMPEG_CONFIGURATION)"
> -#define FFMPEG_LICENSE "$(c_escape $license)"
> +#include "libavutil/avconfig.h"
> #define CONFIG_THIS_YEAR 2013
> #define FFMPEG_DATADIR "$(eval c_escape $datadir)"
> #define AVCONV_DATADIR "$(eval c_escape $datadir)"
> @@ -5005,6 +5004,8 @@ cat > $TMPH <<EOF
> /* Generated by ffconf */
> #ifndef AVUTIL_AVCONFIG_H
> #define AVUTIL_AVCONFIG_H
> +#define FFMPEG_CONFIGURATION "$(c_escape $FFMPEG_CONFIGURATION)"
> +#define FFMPEG_LICENSE "$(c_escape $license)"
> EOF
>
the license of the linked lib can differ from the installed
avconfig.h.
so this might lead to applications making the wrong assumtations
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- 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/20131208/eea53f77/attachment.asc>
More information about the ffmpeg-devel
mailing list