From: Loren Merritt Date: Tue, 11 Apr 2006 21:16:44 +0000 (+0000) Subject: store quoted configure options. needed e.g. for multiple args under --extra-cflags. X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=b3ad52d4860127a9b7348923671b595b98cb4d09;p=x264.git store quoted configure options. needed e.g. for multiple args under --extra-cflags. git-svn-id: svn://svn.videolan.org/x264/trunk@495 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/configure b/configure index 28b18aba..c23406d2 100755 --- 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