summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 9ef6a0ef17..e1659c8d8e 100755
--- a/configure
+++ b/configure
@@ -3521,7 +3521,7 @@ echores "$_tga"
echocheck "DirectFB headers presence"
if test -z "$_inc_directfb" ; then
- for I in /usr/include /usr/local/include $_inc_extra; do
+ 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"
echores "yes (using $_inc_directfb)"