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

Dan Nicholson dbn.lists at gmail.com
Fri Dec 18 09:08:05 PST 2009


On Fri, Dec 18, 2009 at 7:11 AM, Alan Coopersmith
<Alan.Coopersmith at sun.com> wrote:
> 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.

Good point.

Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>


More information about the xorg-devel mailing list