]> git.sur5r.net Git - openocd/commitdiff
build: fix subconfigure parameter issue
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Fri, 19 Nov 2010 09:57:37 +0000 (09:57 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Fri, 19 Nov 2010 09:57:37 +0000 (09:57 +0000)
When passing CFLAGS for example through to the jimtcl subconfigure the
quotes were not being preserved.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
config_subdir.m4

index f32bc89e0cd4858d4bf10e6dbf113c2fa96a81ae..4102dfd327efa6669fe12538b53e8a3cfafee166 100644 (file)
@@ -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"
 ])
 ])