[FFmpeg-devel] [PATCH] tools: add reconfigure script
Derek Buitenhuis
derek.buitenhuis at gmail.com
Fri Jun 20 19:00:58 CEST 2014
On 6/20/2014 5:11 PM, Lukasz Marek wrote:
> 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>
[...]
> --- /dev/null
> +++ b/tools/reconfigure
> @@ -0,0 +1,5 @@
> +#!/bin/bash
We don't use bash. Use Bourne Shell.
> +OPT=`cat config.h | grep FFMPEG_CONFIGURATION | awk '{print substr($0, index($0,$3))}'`
AFAIK we use $() and not ``.
> +OPT=`echo $OPT | awk '{print substr($0, 2, length($0)-2)}'`
> +echo Reconfiguring with: \"$OPT\"
> +./configure $OPT
This doesn't work for out of tree builds.
- Derek
More information about the ffmpeg-devel
mailing list