]> git.videolan.org Git - x264.git/commitdiff
store quoted configure options. needed e.g. for multiple args under --extra-cflags.
authorLoren Merritt <pengvado@videolan.org>
Tue, 11 Apr 2006 21:16:44 +0000 (21:16 +0000)
committerLoren Merritt <pengvado@videolan.org>
Tue, 11 Apr 2006 21:16:44 +0000 (21:16 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@495 df754926-b1dd-0310-bc7b-ec298dee348c

configure

index 28b18ababfbe0d414689bf6a42b221b993f49816..c23406d2ab045cbecb02cbae42ba608563f2b4d3 100755 (executable)
--- a/configure
+++ b/configure
@@ -354,9 +354,14 @@ EXE=$EXE
 VIS=$vis
 HAVE_GETOPT_LONG=$HAVE_GETOPT_LONG
 DEVNULL=$DEVNULL
-CONFIGURE_ARGS=$@
 EOF
 
+echo -n 'CONFIGURE_ARGS=' >> config.mak
+for A in "$@" ; do
+    echo -n " '$A'" >> config.mak
+done
+echo '' >> config.mak
+
 cp config.mak gtk/config.mak
 
 if [ "$vfw" = "yes" ]; then