$NetBSD: patch-configure,v 1.3 2019/05/09 09:47:36 adam Exp $

Check more aggressively for XInput 2.1 to fix native X netbsd-6 build.

--- configure.orig	2019-03-25 17:26:59.000000000 +0000
+++ configure
@@ -15847,6 +15847,9 @@ LDFLAGS="$X_LIBS $LDFLAGS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <X11/extensions/XInput2.h>
+#ifndef XIScrollClass
+ failhere
+#endif
 int
 main ()
 {
