[MPlayer-cvslog] r19462 - trunk/configure

diego subversion at mplayerhq.hu
Sun Aug 20 12:01:18 CEST 2006


Author: diego
Date: Sun Aug 20 12:01:18 2006
New Revision: 19462

Modified:
   trunk/configure

Log:
The X11 header check looks in $_extra_inc that contains directories in the
format "-I/opt/X11", which won't work when 'test' is used to find the headers.
based on patch by Jan Knutar, jknutar (at) nic (dot) fi


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sun Aug 20 12:01:18 2006
@@ -3720,7 +3720,7 @@
 
 
 echocheck "X11 headers presence"
-  for I in $_inc_extra /usr/X11/include /usr/X11R6/include /usr/include/X11R6 /usr/include /usr/openwin/include ; do
+  for I in `echo $_inc_extra | sed s/-I//g` /usr/X11/include /usr/X11R6/include /usr/include/X11R6 /usr/include /usr/openwin/include ; do
     if test -f "$I/X11/Xlib.h" ; then
       _inc_x11="-I$I"
       _x11_headers="yes"



More information about the MPlayer-cvslog mailing list