changeset 1597:06e9f1c7611b

Better wscons detection
author Sam Lantinga <slouken@libsdl.org>
date Thu, 23 Mar 2006 07:44:52 +0000
parents 56f952883795
children 5a6893ebc15a
files configure.in
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Thu Mar 23 07:38:32 2006 +0000
+++ b/configure.in	Thu Mar 23 07:44:52 2006 +0000
@@ -1223,9 +1223,11 @@
         AC_MSG_CHECKING(for wscons support)
         video_wscons=no
         AC_TRY_COMPILE([
-       #include <sys/time.h>
-       #include <dev/wscons/wsconsio.h>
+         #include <sys/time.h>
+         #include <dev/wscons/wsconsio.h>
+         #include <dev/wscons/wsdisplay_usl_io.h>
         ],[
+         int wsmode = WSDISPLAYIO_MODE_DUMBFB;
         ],[
         video_wscons=yes
         ])