[PATCH] configure: fix REQUIRED_MODULES, it was not being set at all

Dan Nicholson dbn.lists at gmail.com
Fri Sep 18 06:30:23 PDT 2009


On Fri, Sep 18, 2009 at 6:25 AM, Rémi Cardona <remi at gentoo.org> wrote:
> Le 18/09/2009 15:14, Dan Nicholson a écrit :
>> I don't see why the original was a problem
>
> I don't really know either. I thought the syntax was ok, but running
> configure proved otherwise.
>
>> but can you leave the line
>> continuation markers in there? Having variables with newlines in them
>> is not fun.
>
> I don't always understand how bash treats variables but a simple "echo
> $REQUIRED_MODULES" after the declaration showed the list as a single
> string on a single line, wrapped only by my terminal.

If you do 'echo "$REQUIRED_MODULES"', it would print newlines, though.
Unless you want to audit the use of REQUIRED_MODULES everywhere in the
script (and through the macros), it's probably a better idea not to
have the newlines.

--
Dan


More information about the xorg-devel mailing list