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 f32bc89..4102dfd 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"
 ])
 ])