0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

Add x11 include path only to _inc_extra if X11 is actually enabled.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21574 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-12-10 15:10:46 +00:00
parent ec258b2095
commit c0d15a1516

4
configure vendored
View File

@ -3815,8 +3815,6 @@ echocheck "X11 headers presence"
break
fi
done
#FIXME: This is ugly as it can duplicate a -I parameter..
_inc_extra="$_inc_extra $_inc_x11"
if test -z "$_inc_x11" ; then
_x11=no
_x11_headers="no"
@ -3844,6 +3842,8 @@ EOF
done
fi
if test "$_x11" = yes ; then
#FIXME: This is ugly as it can duplicate a -I parameter..
_inc_extra="$_inc_extra $_inc_x11"
_def_x11='#define HAVE_X11 1'
_vosrc="$_vosrc x11_common.c vo_x11.c vo_xover.c"
_vomodules="x11 xover $_vomodules"