From: Spencer Oliver Date: Fri, 19 Nov 2010 09:57:37 +0000 (+0000) Subject: build: fix subconfigure parameter issue X-Git-Tag: v0.5.0-rc1~321 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fcee511f4e9cd6042b0e3a0e8b072e1f52d75291;p=openocd build: fix subconfigure parameter issue When passing CFLAGS for example through to the jimtcl subconfigure the quotes were not being preserved. Signed-off-by: Spencer Oliver --- diff --git a/config_subdir.m4 b/config_subdir.m4 index f32bc89e..4102dfd3 100644 --- a/config_subdir.m4 +++ b/config_subdir.m4 @@ -22,6 +22,6 @@ AC_CONFIG_SUBDIRS([$1]) m4_ifblank([$2], [rm -f $srcdir/$1/configure.gnu], [printf "#!/bin/sh -"\$"SHELL "../$srcdir/$1/configure" $2 "\$"@" > "$srcdir/$1/configure.gnu" +"\$"SHELL "../$srcdir/$1/configure" $2 \""\$"@"\" > "$srcdir/$1/configure.gnu" ]) ])