[PATCH] Change sysconfdir brackets to avoid some shells trying to run it as a command

Alan Coopersmith Alan.Coopersmith at Sun.COM
Fri Dec 18 07:11:35 PST 2009


Keith Packard wrote:
> On Thu, 17 Dec 2009 18:24:39 -0800, Alan Coopersmith <alan.coopersmith at sun.com> wrote:
> 
> 
>> -	[DEFAULT_FONT_PATH='catalogue:$(sysconfdir)/X11/fontpath.d'],
>> +	[DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'],
> 
> A classic confusion between make and shell syntax.

Which works in other cases where the variable is single quoted to pass the
variable through to be expanded in the Makefile, but since this variable is
evaluated again later in the configure script and passed as a define in the
*-config.h files, that can't work for this one.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg-devel mailing list