comparison configure.in @ 1597:06e9f1c7611b

Better wscons detection
author Sam Lantinga <slouken@libsdl.org>
date Thu, 23 Mar 2006 07:44:52 +0000
parents 802de24df8d9
children a79200e79a61
comparison
equal deleted inserted replaced
1596:56f952883795 1597:06e9f1c7611b
1221 , enable_video_wscons=yes) 1221 , enable_video_wscons=yes)
1222 if test x$enable_video = xyes -a x$enable_video_wscons = xyes; then 1222 if test x$enable_video = xyes -a x$enable_video_wscons = xyes; then
1223 AC_MSG_CHECKING(for wscons support) 1223 AC_MSG_CHECKING(for wscons support)
1224 video_wscons=no 1224 video_wscons=no
1225 AC_TRY_COMPILE([ 1225 AC_TRY_COMPILE([
1226 #include <sys/time.h> 1226 #include <sys/time.h>
1227 #include <dev/wscons/wsconsio.h> 1227 #include <dev/wscons/wsconsio.h>
1228 ],[ 1228 #include <dev/wscons/wsdisplay_usl_io.h>
1229 ],[
1230 int wsmode = WSDISPLAYIO_MODE_DUMBFB;
1229 ],[ 1231 ],[
1230 video_wscons=yes 1232 video_wscons=yes
1231 ]) 1233 ])
1232 AC_MSG_RESULT($video_wscons) 1234 AC_MSG_RESULT($video_wscons)
1233 if test x$video_wscons = xyes; then 1235 if test x$video_wscons = xyes; then