--- MPlayer-1.0rc1/configure.old 2006-11-21 02:13:10.000000000 +0100 +++ MPlayer-1.0rc1/configure 2006-11-21 02:13:20.000000000 +0100 @@ -3800,6 +3800,7 @@ echocheck "X11 headers presence" +if test "$_x11" != no ; then 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" @@ -3815,6 +3816,9 @@ _x11_headers="no" _res_comment="check if the dev(el) packages are installed" fi +else + _x11_headers="no" +fi echores "$_x11_headers"