we need to have $DIRECTFB_CFLAGS when checking the evas directfb header

SVN revision: 18078
This commit is contained in:
Mike Frysinger 2005-10-29 03:00:29 +00:00
parent 7c8b0cb44c
commit 8bc0fcf48b
1 changed files with 3 additions and 0 deletions

View File

@ -673,6 +673,8 @@ AC_ARG_ENABLE(ecore-evas-dfb,
)
if test "x$want_ecore_evas_dfb" = "xyes"; then
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $DIRECTFB_CFLAGS"
AC_CHECK_HEADER(Evas_Engine_DirectFB.h,
[
AM_CONDITIONAL(BUILD_ECORE_EVAS_DIRECTFB, true)
@ -684,6 +686,7 @@ if test "x$want_ecore_evas_dfb" = "xyes"; then
#include <Evas.h>
]
)
CFLAGS="$save_CFLAGS"
else
AM_CONDITIONAL(BUILD_ECORE_EVAS_DIRECTFB, false)
fi