aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-26 00:14:51 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-26 00:14:51 +0000
commit27ffcb580288f93daa064234809f10370492f0a4 (patch)
tree4f6e23079d072158e1315eab88359d40a0298da5 /configure
parentebfa5122b3b6db29e39c8960a536b1554964f6ec (diff)
Do not look for X11 headers on the host when cross-compiling.
patch by Guillaume Lecerf, foxcore gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26276 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index d0c20bb208..c33e8eeb2c 100755
--- a/configure
+++ b/configure
@@ -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
echores "$_x11_headers"