On Tue, Mar 27, 2007 at 10:40:10PM -0400, DJ Delorie wrote: > > > I only meant: > > > > CROSS_SYSTEM_HEADER_DIR='$(shell echo "$(gcc_tooldir)/sys-include")' > > I figured you meant that. Can you think of an example that would > benefit from this quoting?
$(gcc_tooldir) starts with $(libsubdir) starts with $(libdir) which will come from $(prefix), so there's an unquoted $(prefix) there. ../gcc/configure --prefix=/usr/local/"where * am * i" will thus lead to $(shell echo /usr/local/where * am * i/sys-include), which will wildcard. -- Daniel Jacobowitz CodeSourcery