Navigation Menu

Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fix detection of directfb.h
Browse files Browse the repository at this point in the history
- AC_CHECK_HEADER wants CPPFLAGS
  • Loading branch information
Couriersud committed Jan 11, 2010
1 parent 7527e34 commit 662d4b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure.in
Expand Up @@ -1323,10 +1323,10 @@ AC_HELP_STRING([--enable-video-directfb], [use DirectFB video driver [[default=n
fi
if test x$video_directfb = xyes; then
# SuSE 11.1 installs directfb-config without directfb-devel
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $DIRECTFB_CFLAGS"
save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $DIRECTFB_CFLAGS"
AC_CHECK_HEADER(directfb.h, have_directfb_hdr=yes, have_directfb_hdr=no)
CFLAGS="$save_CFLAGS"
CPPFLAGS="$save_CPPFLAGS"
video_directfb=$have_directfb_hdr
fi
AC_MSG_CHECKING(for DirectFB $DIRECTFB_REQUIRED_VERSION support)
Expand Down

0 comments on commit 662d4b9

Please sign in to comment.