Mercurial > mplayer.hg
diff configure @ 19307:e9a8439b24c1
Simplify DirectFB header check.
author | diego |
---|---|
date | Fri, 04 Aug 2006 13:03:39 +0000 |
parents | a7b0bc9aadda |
children | 3ef491900fd6 |
line wrap: on
line diff
--- a/configure Thu Aug 03 23:50:16 2006 +0000 +++ b/configure Fri Aug 04 13:03:39 2006 +0000 @@ -3653,13 +3653,8 @@ 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"