Merged r2981:2982 from branches/SDL-1.2: fbcon getpagesize() compile fix.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402274
This commit is contained in:
Ryan C. Gordon 2007-02-15 23:57:07 +00:00
parent f9ed7eaeb3
commit aa48694b67
3 changed files with 17 additions and 1 deletions

View file

@ -1117,6 +1117,7 @@ AC_HELP_STRING([--enable-video-fbcon], [use framebuffer console video driver [[d
])
AC_MSG_RESULT($video_fbcon)
if test x$video_fbcon = xyes; then
AC_CHECK_FUNCS(getpagesize)
AC_DEFINE(SDL_VIDEO_DRIVER_FBCON)
SOURCES="$SOURCES $srcdir/src/video/fbcon/*.c"
have_video=yes