xserver: Branch 'master'

Alan Coopersmith alan.coopersmith at sun.com
Tue Oct 10 07:25:33 PDT 2006


Daniel Stone wrote:
> On Mon, Oct 09, 2006 at 05:25:20PM -0700, Alan Coopersmith wrote:
>>     Use bash on Solaris to run symlink-mesa.sh
> 
> If this is just the *.{c,h} thing, the better fix is to expand that by
> hand.  I did that, but haven't pushed yet, mumble lack of DSL at home
> mumble.

No, this is from three other issues in symlink-mesa.sh that Solaris Bourne
Shell doesn't like:

1) " if [ -z $1 ] " causes the script to exit with "test: argument expected"
    if $1 is indeed empty.   This could be fixed by quoting $1 so it always
    sees an argument:
	if [ -z "$1" ]

2) "echo -n" - in the ancient BSD vs. SysV echo split, Solaris still follows
    SysV in /bin/echo & /bin/sh ("\c" to suppress newline, "echo -n foo" prints
    "-n foo").   configure has code to test for this and use it, so that could
    be copied to symlink-mesa.sh.

3) If you fix both of the above, the script still fails since in the action()
    function, $ACTION is unset, so it ends up attempting to execute every .c &
    .h file in Mesa.   I don't know why this is, and the only way I found to
    fix this was to use something more modern than our classic bourne shell.

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



More information about the xorg mailing list