Commit 642fa0e3cf1b6a4b999a787d373e4a3a519bceca

Ryan C. Gordon 2021-06-09T21:18:11

configure: Enable KMSDRM target by default.

diff --git a/configure b/configure
index 80a528f..dea2e53 100755
--- a/configure
+++ b/configure
@@ -1666,7 +1666,7 @@ Optional Features:
   --enable-video-directfb use DirectFB video driver [default=no]
   --enable-directfb-shared
                           dynamically load directfb support [default=yes]
-  --enable-video-kmsdrm   use KMSDRM video driver [default=no]
+  --enable-video-kmsdrm   use KMSDRM video driver [default=yes]
   --enable-kmsdrm-shared  dynamically load kmsdrm support [default=yes]
   --enable-video-dummy    use dummy video driver [default=yes]
   --enable-video-opengl   include OpenGL support [default=yes]
@@ -22052,7 +22052,7 @@ CheckKMSDRM()
 if test "${enable_video_kmsdrm+set}" = set; then :
   enableval=$enable_video_kmsdrm;
 else
-  enable_video_kmsdrm=no
+  enable_video_kmsdrm=yes
 fi
 
 
diff --git a/configure.ac b/configure.ac
index 6ec90c4..15e5f2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2194,8 +2194,8 @@ dnl Find KMSDRM
 CheckKMSDRM()
 {
     AC_ARG_ENABLE(video-kmsdrm,
-[AS_HELP_STRING([--enable-video-kmsdrm], [use KMSDRM video driver [default=no]])],
-                  , enable_video_kmsdrm=no)
+[AS_HELP_STRING([--enable-video-kmsdrm], [use KMSDRM video driver [default=yes]])],
+                  , enable_video_kmsdrm=yes)
 
     if  test x$enable_video = xyes && \
         test x$enable_video_kmsdrm = xyes && \