The xf86.h file contains external declarations specific to RANDR
If this extension is defined (installed) evdev will not compile
if randrproto is not installed.
Because this is an optional extension, XORG_DRIVER_CHECK_EXT
must be used.

evdev also depends on xext, kbproto and inputproto

Signed-off-by: Gaetan Nadon <[email protected]>
---
 configure.ac |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 63460b7..84cad8b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,8 +44,11 @@ m4_ifndef([XORG_MACROS_VERSION],
 XORG_MACROS_VERSION(1.8)
 XORG_DEFAULT_OPTIONS
 
+# Store the list of server defined optional extensions in REQUIRED_MODULES
+XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
+
 # Obtain compiler/linker options from server and required extensions
-PKG_CHECK_MODULES(XORG, xorg-server xproto inputproto)
+PKG_CHECK_MODULES(XORG, xorg-server xproto inputproto xext kbproto 
$REQUIRED_MODULES)
 
 # Define a configure option for an alternate input module directory
 AC_ARG_WITH(xorg-module-dir,
-- 
1.6.0.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to