diff --git a/configure b/configure index 1ef13140f9..2bec29340e 100755 --- a/configure +++ b/configure @@ -3655,7 +3655,7 @@ echocheck "DirectFB headers presence" if test -z "$_inc_directfb" ; then 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 + if test -f "$I/directfb.h" ; then _inc_directfb="-I$I" _res_comment="using $_inc_directfb" echores "yes"