[MPlayer-cvslog] r26276 - trunk/configure

Benjamin Zores ben at geexbox.org
Wed Mar 26 23:55:01 CET 2008


diego a écrit :
> Author: diego
> Date: Wed Mar 26 01:14:51 2008
> New Revision: 26276
> 
> Log:
> Do not look for X11 headers on the host when cross-compiling.
> patch by Guillaume Lecerf, foxcore gmail com
> 
> 
> Modified:
>    trunk/configure
> 
> Modified: trunk/configure
> ==============================================================================
> --- trunk/configure	(original)
> +++ trunk/configure	Wed Mar 26 01:14:51 2008
> @@ -3902,6 +3902,7 @@ echocheck "X11 headers presence"
>        break
>      fi
>    done
> +  if test $_cross_compile = no; then
>    for I in /usr/X11/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"
> @@ -3910,6 +3911,7 @@ echocheck "X11 headers presence"
>        break
>      fi
>    done
> +  fi

We might also have a $sysroot variable that may be defined when 
cross-compiling (or whenever, through --with-sysroot=...) and
have:

for I in $sysroot/usr/X11/... $sysroot/....

isn't it ?

Ben



More information about the MPlayer-cvslog mailing list