summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-20 10:01:18 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-20 10:01:18 +0000
commit10c94ffde92c6fc923e7546ac7b116336248fbc1 (patch)
tree2e0e93986df11b5d6f85323b2b538ee4f65d953d /configure
parent3e8b6dab0fcf93b2af1e6fd29fa23f4405669021 (diff)
downloadmpv-10c94ffde92c6fc923e7546ac7b116336248fbc1.tar.bz2
mpv-10c94ffde92c6fc923e7546ac7b116336248fbc1.tar.xz
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19462 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index cbb6da6a12..04a341caeb 100755
--- a/configure
+++ b/configure
@@ -3720,7 +3720,7 @@ fi
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"