[MPlayer-cvslog] r28946 - trunk/configure

diego subversion at mplayerhq.hu
Sat Mar 14 17:00:21 CET 2009


Author: diego
Date: Sat Mar 14 17:00:21 2009
New Revision: 28946

Log:
Add /usr/X11R7 to the list of directories in which to search for X11 includes
and libraries. patch by Bernd Ernesti, mplayer-dev-eng lists veego.de

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Mar 14 16:56:16 2009	(r28945)
+++ trunk/configure	Sat Mar 14 17:00:21 2009	(r28946)
@@ -4150,7 +4150,8 @@ echocheck "X11 headers presence"
     fi
   done
   if test $_cross_compile = no; then
-    for I in /usr/X11/include /usr/X11R6/include /usr/include/X11R6 /usr/openwin/include ; do
+    for I in /usr/X11/include /usr/X11R7/include /usr/X11R6/include \
+             /usr/include/X11R6 /usr/openwin/include ; do
       if test -f "$I/X11/Xlib.h" ; then
         _inc_extra="$_inc_extra -I$I"
         _x11_headers="yes"
@@ -4169,8 +4170,9 @@ if test "$_x11" = auto && test "$_x11_he
 #include <X11/Xutil.h>
 int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return 0; }
 EOF
-  for I in "" -L/usr/X11R6/lib -L/usr/lib/X11R6 -L/usr/X11/lib \
-           -L/usr/lib32 -L/usr/openwin/lib -L/usr/X11R6/lib64 -L/usr/lib ; do
+  for I in "" -L/usr/X11R7/lib -L/usr/X11R6/lib -L/usr/lib/X11R6 \
+           -L/usr/X11/lib -L/usr/lib32 -L/usr/openwin/lib -L/usr/X11R6/lib64 \
+           -L/usr/lib ; do
     if netbsd; then
       _ld_tmp="$I -lXext -lX11 $_ld_pthread -Wl,-R`echo $I | sed s/^-L//`"
     else



More information about the MPlayer-cvslog mailing list