xorg-x11-drv-wacom/0001-configure-both-clients-and-drivers-need-the-protocol.patch
2014-03-19 19:14:03 +10:00

35 lines
1.1 KiB
Diff

From 5073552b9e20f06ccdd9620977874016fc414bdf Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Mon, 17 Mar 2014 08:52:33 +1000
Subject: [PATCH 01/14] configure: both clients and drivers need the protocol
headers
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
configure.ac | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 4ba103c..be211f8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,11 +49,13 @@ XORG_WITH_DOXYGEN(1.6.1)
# Checks for libraries.
AC_CHECK_LIB([m], [rint])
+XPROTOS="xproto xext kbproto inputproto randrproto"
+
# Obtain compiler/linker options from server and required extensions
-PKG_CHECK_MODULES(XORG, [xorg-server >= 1.7.0] xproto xext kbproto inputproto randrproto)
+PKG_CHECK_MODULES(XORG, [xorg-server >= 1.7.0] $XPROTOS)
# Obtain compiler/linker options for the xsetwacom tool
-PKG_CHECK_MODULES(X11, x11 xi xrandr xinerama)
+PKG_CHECK_MODULES(X11, x11 xi xrandr xinerama $XPROTOS)
# Obtain compiler/linker options for libudev used by ISDV4 code
PKG_CHECK_MODULES(UDEV, libudev)
--
1.8.5.3