'==' not portable WAS include/X11/Xos_r.h and NetBSD

Donnie Berkholz spyderous at gentoo.org
Sat Oct 15 20:03:52 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeremy C. Reed wrote:
| I found an error in libX11/configure.ac:
|
| The test expression for xthreads uses two equals. This is not portable.
| if test x$xthreads == xyes ; then
|
| And NetBSD complains:
|
| test: ==: unexpected operator
|
| I fixed that on my system to use one =.

There were numerous instances of this, all in either
lib/X11/configure.ac or xserver/xorg/configure.ac. I just fixed all of them.

Thanks for the report.

Donnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDUcMYXVaO67S1rtsRAvttAKD1GUU0Kk8wWXU7gl/CwZsS6lB4DQCfbuP9
ZrL7qQ2qYxdxRKslA2weW58=
=5kqr
-----END PGP SIGNATURE-----


More information about the xorg-modular mailing list