configure.ac: Fix "broken OpenGL setup" check

Anderson Lizardo andersonlizardo at yahoo.com.br
Tue Jul 19 20:18:05 CDT 2005


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

Hi,

Here is a new patch that fixes the "broken OpenGL setup" check. It
incorporates Alexandre's suggestion
(http://www.winehq.org/hypermail/wine-devel/2005/06/0805.html) to check
for brokeness doing an actual build/linking instead of checking for
missing or present files. The error message was also rewritten so it
makes more sense.

Changelog:

Fixed "broken OpenGL setup" configure check, which used to report false
errors on some systems.

####
Testcase for Ubuntu Linux 5.04 + NVIDIA RIVA TNT2 card, starting from
"non-NVIDIA" installation (i.e. nvidia-glx* not installed):

Case #1:
# aptitude reinstall xlibmesa-gl xlibmesa-gl-dev
# aptitude install nvidia-glx nvidia-glx-dev
Result: OpenGL support detected and enabled

Case #2:
# aptitude purge nvidia-glx-dev
Result: OpenGL support detected as broken

Case #3:
# aptitude purge nvidia-glx
# aptitude reinstall xlibmesa-gl xlibmesa-gl-dev
Result: OpenGL support detected and enabled

Case #3:
# aptitude purge xlibmesa-gl-dev
Result: OpenGL support not detected

Conclusion: new check code works as expected.
####

Thanks,
- --
Anderson Lizardo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFC3aZMtyCO/xz4QpMRAgMQAJ9KLAplHp7oy2/gtp5cBRYfUiVyyQCfTtGH
Ksf/xjx1002H06T5jGqoV28=
=PCj9
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-fix_opengl_check.patch
Type: text/x-patch
Size: 2480 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050719/087d4357/wine-fix_opengl_check.bin


More information about the wine-patches mailing list