Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix detection of directfb.h

- AC_CHECK_HEADER wants CPPFLAGS
  • Loading branch information
Couriersud committed Jan 11, 2010
1 parent 7527e34 commit 662d4b90294949ad07bdbe375555ab0b0099685d
Showing with 3 additions and 3 deletions.
  1. +3 −3 configure.in
@@ -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)

0 comments on commit 662d4b9

Please sign in to comment.