configure.in
changeset 3639 6f4c5b0aba7c
parent 3623 9a73fecd9181
child 3647 c5925cd41955
     1.1 --- a/configure.in	Mon Jan 11 07:58:55 2010 +0000
     1.2 +++ b/configure.in	Mon Jan 11 21:46:59 2010 +0000
     1.3 @@ -1323,10 +1323,10 @@
     1.4          fi
     1.5          if test x$video_directfb = xyes; then
     1.6              # SuSE 11.1 installs directfb-config without directfb-devel
     1.7 -            save_CFLAGS="$CFLAGS"
     1.8 -            CFLAGS="$CFLAGS $DIRECTFB_CFLAGS"
     1.9 +            save_CPPFLAGS="$CPPFLAGS"
    1.10 +            CPPFLAGS="$CPPFLAGS $DIRECTFB_CFLAGS"
    1.11              AC_CHECK_HEADER(directfb.h, have_directfb_hdr=yes, have_directfb_hdr=no)
    1.12 -            CFLAGS="$save_CFLAGS"
    1.13 +            CPPFLAGS="$save_CPPFLAGS"
    1.14              video_directfb=$have_directfb_hdr
    1.15          fi
    1.16          AC_MSG_CHECKING(for DirectFB $DIRECTFB_REQUIRED_VERSION support)