comparison configure.in @ 3917:8a3a0f1179f3 SDL-1.2

Patched fbcon to compile on newer Linux kernels that don't #define PAGE_SIZE, since a memory page's size may vary on various architectures and kernel configurations. Will use getpagesize() if it exists, the PAGE_SIZE #define from older kernels if that doesn't, and #error out if that's not there either...but it's probably 4096 in that case. We may revisit this. Fixes Bugzilla #392.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 15 Feb 2007 23:50:45 +0000
parents 3a7248359cdd
children 3b5c90889156
comparison
equal deleted inserted replaced
3916:16f7767f9580 3917:8a3a0f1179f3
1123 ],[ 1123 ],[
1124 video_fbcon=yes 1124 video_fbcon=yes
1125 ]) 1125 ])
1126 AC_MSG_RESULT($video_fbcon) 1126 AC_MSG_RESULT($video_fbcon)
1127 if test x$video_fbcon = xyes; then 1127 if test x$video_fbcon = xyes; then
1128 AC_CHECK_FUNCS(getpagesize)
1128 AC_DEFINE(SDL_VIDEO_DRIVER_FBCON) 1129 AC_DEFINE(SDL_VIDEO_DRIVER_FBCON)
1129 SOURCES="$SOURCES $srcdir/src/video/fbcon/*.c" 1130 SOURCES="$SOURCES $srcdir/src/video/fbcon/*.c"
1130 have_video=yes 1131 have_video=yes
1131 fi 1132 fi
1132 fi 1133 fi