[FFmpeg-devel] [PATCH] configure: output build config and license to libavutil/avconfig.h
Timothy Gu
timothygu99 at gmail.com
Sat Nov 30 22:55:05 CET 2013
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
print_config AV_HAVE_ $TMPH $HAVE_LIST_PUB
--
1.8.3.2
More information about the ffmpeg-devel
mailing list