Better wscons detection
authorSam Lantinga <slouken@libsdl.org>
Thu, 23 Mar 2006 07:44:52 +0000
changeset 1597 06e9f1c7611b
parent 1596 56f952883795
child 1598 5a6893ebc15a
Better wscons detection
configure.in
--- 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
         ])