[MPlayer-users] configure script patch
Kevin DeKorte
kdekorte at yahoo.com
Wed Aug 17 00:08:39 CEST 2005
To get the configure script to properly detect the OpenGL driver with the ATI
drivers installed. The following patch was needed. If mplayer is linked
against libGL.a the OpenGL acceleration does not work properly.
cvs diff configure
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1039
diff -u -r1.1039 configure
--- configure 14 Aug 2005 07:02:00 -0000 1.1039
+++ configure 16 Aug 2005 22:05:45 -0000
@@ -3777,12 +3777,12 @@
int main(void) { return 0; }
EOF
_gl=no
- if cc_check $_inc_x11 $_ld_x11 -lGL $_ld_lm ; then
+ if cc_check $_inc_x11 $_ld_x11 -lGLU $_ld_lm ; then
_gl=yes
- _ld_gl="-lGL $_ld_dl"
- elif cc_check $_inc_x11 $_ld_x11 -lGL $_ld_lm $_ld_pthread ; then
+ _ld_gl="-lGLU $_ld_dl"
+ elif cc_check $_inc_x11 $_ld_x11 -lGLU $_ld_lm $_ld_pthread ; then
_gl=yes
- _ld_gl="-lGL $_ld_pthread $_ld_dl"
+ _ld_gl="-lGLU $_ld_pthread $_ld_dl"
elif cc_check -lopengl32 ; then
_gl=yes
_gl_win32=yes
Kevin
--
Get my public GnuPG key from
http://keyserver.veridis.com:11371/export?id=7574690260641978351
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20050816/17d19cf3/attachment.pgp>
More information about the MPlayer-users
mailing list