1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00

Simplify DirectFB header check.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19313 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-08-04 13:03:39 +00:00
parent 99fee35a7d
commit e759f98fe0

9
configure vendored
View File

@ -3653,13 +3653,8 @@ echores "$_tga"
echocheck "DirectFB headers presence"
if test -z "$_inc_directfb" ; then
for I in /usr/include /usr/local/include `echo $_inc_extra | sed s/-I//g`; do
if test -d "$I/directfb" && test -f "$I/directfb/directfb.h" ; then
_inc_directfb="-I$I/directfb"
_res_comment="using $_inc_directfb"
echores "yes"
break
fi
for I in /usr/include/directfb /usr/local/include/directfb /usr/include \
/usr/local/include `echo $_inc_extra | sed s/-I//g`; do
if test -d "$I" && test -f "$I/directfb.h" ; then
_inc_directfb="-I$I"
_res_comment="using $_inc_directfb"