[MPlayer-dev-eng] [PATCHlet] check lib64 frst
Jens Axboe
mplayer-dev at kernel.dk
Tue Mar 11 09:54:30 CET 2003
Hi,
If you have both 32 and 64-bit X libs installed on your system,
configure will find the 32-bit ones first and then fail to use them. One
fix is to simply check /usr/X11R6/lib64 first, here's a patch to
configure to do that.
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.678
diff -u -r1.678 configure
--- configure 7 Mar 2003 18:44:59 -0000 1.678
+++ configure 11 Mar 2003 09:06:15 -0000
@@ -2457,7 +2461,7 @@
echocheck "X11 libs presence"
if test -z "$_ld_x11" ; then
- for I in /usr/X11R6/lib /usr/lib/X11R6 /usr/X11/lib /usr/lib32 /usr/openwin/lib /usr/X11R6/lib64 ; do
+ for I in /usr/X11R6/lib64 /usr/X11R6/lib /usr/lib/X11R6 /usr/X11/lib /usr/lib32 /usr/openwin/lib ; do
if test -d "$I" && ( test -f "$I/libX11.so" || test -f "$I/libX11.a" ) ; then
_ld_x11="-L$I"
echores "yes (using $I)"
--
Jens Axboe
More information about the MPlayer-dev-eng
mailing list