comparison configure.in @ 3639:6f4c5b0aba7c

Fix detection of directfb.h - AC_CHECK_HEADER wants CPPFLAGS
author Couriersud <couriersud@arcor.de>
date Mon, 11 Jan 2010 21:46:59 +0000
parents 9a73fecd9181
children c5925cd41955
comparison
equal deleted inserted replaced
3638:6e70cf55a368 3639:6f4c5b0aba7c
1321 video_directfb=yes 1321 video_directfb=yes
1322 fi 1322 fi
1323 fi 1323 fi
1324 if test x$video_directfb = xyes; then 1324 if test x$video_directfb = xyes; then
1325 # SuSE 11.1 installs directfb-config without directfb-devel 1325 # SuSE 11.1 installs directfb-config without directfb-devel
1326 save_CFLAGS="$CFLAGS" 1326 save_CPPFLAGS="$CPPFLAGS"
1327 CFLAGS="$CFLAGS $DIRECTFB_CFLAGS" 1327 CPPFLAGS="$CPPFLAGS $DIRECTFB_CFLAGS"
1328 AC_CHECK_HEADER(directfb.h, have_directfb_hdr=yes, have_directfb_hdr=no) 1328 AC_CHECK_HEADER(directfb.h, have_directfb_hdr=yes, have_directfb_hdr=no)
1329 CFLAGS="$save_CFLAGS" 1329 CPPFLAGS="$save_CPPFLAGS"
1330 video_directfb=$have_directfb_hdr 1330 video_directfb=$have_directfb_hdr
1331 fi 1331 fi
1332 AC_MSG_CHECKING(for DirectFB $DIRECTFB_REQUIRED_VERSION support) 1332 AC_MSG_CHECKING(for DirectFB $DIRECTFB_REQUIRED_VERSION support)
1333 AC_MSG_RESULT($video_directfb) 1333 AC_MSG_RESULT($video_directfb)
1334 1334