[FFmpeg-cvslog] r18252 - trunk/configure
mru
subversion
Mon Mar 30 23:12:44 CEST 2009
Author: mru
Date: Mon Mar 30 23:12:44 2009
New Revision: 18252
Log:
Quote stored configure arguments containing spaces
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Mon Mar 30 22:57:01 2009 (r18251)
+++ trunk/configure Mon Mar 30 23:12:44 2009 (r18252)
@@ -1220,7 +1220,12 @@ else
die "Out of tree builds are impossible with config.h in source dir."
fi
-FFMPEG_CONFIGURATION="$@"
+for v in "$@"; do
+ r="${v#*=}"
+ l="${v%$r}"
+ test "$r" = "${r#* }" || r="'$r'"
+ FFMPEG_CONFIGURATION="${FFMPEG_CONFIGURATION# } ${l}${r}"
+done
find_things(){
thing=$1
@@ -1315,7 +1320,7 @@ done
disabled logging && logfile=/dev/null
-echo "# $0 $@" > $logfile
+echo "# $0 $FFMPEG_CONFIGURATION" > $logfile
set >> $logfile
test -n "$cross_prefix" && enable cross_compile
More information about the ffmpeg-cvslog
mailing list