[PATCH 03/18] configure: create config_components.asm

Nicolas George <[email protected]> Tue, 28 Jul 2026 20:14:59 +0200
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
---
 configure | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure b/configure
index 67ed44bd1..6af476e70 100755
--- a/configure
+++ b/configure
@@ -9812,6 +9812,11 @@ cat > ffmpeg/config.h << EOF
 #include "../config.h"
 EOF
 cp ffmpeg/config.h ffmpeg/config_components.h
+
+# Create config_components.asm from config.h
+grep '^#define CONFIG_' config.h | tr '#' '%' > "$TMPS"
+cmp -s "$TMPS" ffmpeg/config_components.asm || mv -f "$TMPS" ffmpeg/config_components.asm
+
 touch ffmpeg/.config
 
 # generate the lists of enabled components for ffmpeg
-- 
2.53.0

_______________________________________________
MPlayer-dev-eng mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo/%(_internal_name)s