summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authornia <nia@NetBSD.org>2024-05-12 15:51:57 +0200
committerMarge Bot <emma+marge@anholt.net>2024-05-12 17:05:37 +0000
commit8cf3065812e7b8122d4d5983cfe6660154186534 (patch)
tree53760a48bebb5e65c251f2772303241425713b1a /configure.ac
parentb25b3492c5868671faa7ef327da8f90df5e99e16 (diff)
netbsd: Try getting the EDID via wscons if the DDC2 method fails.
Helps identifying displays on non-x86 hardware. Patch from Michael Lorenz, autotools'ified by me. Signed-off-by: Nia Alarie <nia@NetBSD.org> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/19>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a282013..a6df24c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,6 +72,8 @@ AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ])
save_CFLAGS="$CFLAGS"
CFLAGS="$XORG_CFLAGS"
+AC_CHECK_HEADERS(dev/wscons/wsconsio.h)
+
# PCI rework
AC_CHECK_DECL(XSERVER_LIBPCIACCESS,
[XSERVER_LIBPCIACCESS=yes],[XSERVER_LIBPCIACCESS=no],