[PATCH modular 1/4] build.sh: use accurate values for HOST_OS from config.guess

Gaetan Nadon memsize at videotron.ca
Sun Jan 2 11:34:45 PST 2011


On Sun, 2011-01-02 at 10:17 -0800, Alan Coopersmith wrote:

> On 01/ 2/11 05:58 AM, Gaetan Nadon wrote:
> > Using *Linux* rather than Linux is misleading to the user as it
> > implies there are a large number of possibilities.
> > 
> > In addition, FreeBSD | NetBSD | OpenBSD is more informative than *BSD*
> > which is not used in config.guess.
> 
> But does not include the occassional new variant of BSD that comes up,
> like DragonflyBSD, or the hybrids, like GNU/kFreeBSD.   (Not that I'm
> sure off hand what the $HOST_OS for either of those look like.)
> 

The `uname -s` value for Dragonfly as per config.guess:

    *:DragonFly:*:*)
	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
	exit ;;

As it is today, the script would skip the input-joystick driver for this
OS. That's the confusion I am trying to clear, with the reviewers help. 

Looking at this driver's configuration, it should work on Dragonfly. As
for the GNU hybrids, the value returned by `uname -m` is "GNU/*" so I
can use that to cover those cases. That would complete the list with
today's best current knowledge. Some maintenance in the future is
unavoidable but should be reasonable.

Thanks

Gaetan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110102/1c5adcb5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110102/1c5adcb5/attachment-0001.pgp>


More information about the xorg-devel mailing list