Simplify and speedup FFMPEG_CONFIGURATION.
authorDiego Biurrun <diego@biurrun.de>
Mon, 5 Feb 2007 15:10:46 +0000 (15:10 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 5 Feb 2007 15:10:46 +0000 (15:10 +0000)
Originally committed as revision 7825 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index bb1c4d3..9234fc0 100755 (executable)
--- a/configure
+++ b/configure
@@ -943,10 +943,7 @@ if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
     show_help
 fi
 
-FFMPEG_CONFIGURATION=" "
-for opt do
-  FFMPEG_CONFIGURATION="$FFMPEG_CONFIGURATION""$opt "
-done
+FFMPEG_CONFIGURATION="$@"
 
 ENCODER_LIST=`sed -n 's/^[^#]*ENC.*, *\(.*\)).*/\1_encoder/p' "$source_path/libavcodec/allcodecs.c"`
 DECODER_LIST=`sed -n 's/^[^#]*DEC.*, *\(.*\)).*/\1_decoder/p' "$source_path/libavcodec/allcodecs.c"`