[FFmpeg-devel] [PATCH] tools: add reconfigure script

Lukasz Marek lukasz.m.luki2 at gmail.com
Fri Jun 20 18:11:22 CEST 2014


Simple script that allows to reconfigure with previously used switches.
Usefull after rebasing working branch.

Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
---
 tools/reconfigure | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100755 tools/reconfigure

diff --git a/tools/reconfigure b/tools/reconfigure
new file mode 100755
index 0000000..7283737
--- /dev/null
+++ b/tools/reconfigure
@@ -0,0 +1,5 @@
+#!/bin/bash
+OPT=`cat config.h | grep FFMPEG_CONFIGURATION | awk '{print substr($0, index($0,$3))}'`
+OPT=`echo $OPT | awk '{print substr($0, 2, length($0)-2)}'`
+echo Reconfiguring with: \"$OPT\"
+./configure $OPT
-- 
1.9.1



More information about the ffmpeg-devel mailing list