From deb17dfd4ba89fdee718ef129f769a9320889660 Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Thu, 28 Nov 2013 15:16:54 -0800
Subject: [PATCH] configure: output build config and license to
libavutil/avconfig.h
Fixes #1769.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
---
configure | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 1b8c852..f901b56 100755
|
a
|
b
|
cat > $TMPH <<EOF
|
| 4933 | 4933 | /* Automatically generated by configure - do not modify! */ |
| 4934 | 4934 | #ifndef FFMPEG_CONFIG_H |
| 4935 | 4935 | #define FFMPEG_CONFIG_H |
| 4936 | | #define FFMPEG_CONFIGURATION "$(c_escape $FFMPEG_CONFIGURATION)" |
| 4937 | | #define FFMPEG_LICENSE "$(c_escape $license)" |
| | 4936 | #include "libavutil/avconfig.h" |
| 4938 | 4937 | #define CONFIG_THIS_YEAR 2013 |
| 4939 | 4938 | #define FFMPEG_DATADIR "$(eval c_escape $datadir)" |
| 4940 | 4939 | #define AVCONV_DATADIR "$(eval c_escape $datadir)" |
| … |
… |
cat > $TMPH <<EOF
|
| 4982 | 4981 | /* Generated by ffconf */ |
| 4983 | 4982 | #ifndef AVUTIL_AVCONFIG_H |
| 4984 | 4983 | #define AVUTIL_AVCONFIG_H |
| | 4984 | #define FFMPEG_CONFIGURATION "$(c_escape $FFMPEG_CONFIGURATION)" |
| | 4985 | #define FFMPEG_LICENSE "$(c_escape $license)" |
| 4985 | 4986 | EOF |
| 4986 | 4987 | |
| 4987 | 4988 | print_config AV_HAVE_ $TMPH $HAVE_LIST_PUB |