diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-05-31 15:39:18 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-05-31 15:39:18 -0400 |
commit | 3dd5486bc8ddd96f43e92386537ae9adabc1714e (patch) | |
tree | 94fb1ac82d1c2a03c3196749a9b641ea64b8e784 | |
parent | 92789dfb8a0443d9f1dd8df4ba43c69885136574 (diff) |
config: synaptics depends on RANDR through xf86.h
The xf86.h file contains external declarations specific to RANDR
If this extension is defined (installed) synaptics will not compile
if randrproto is not installed.
Because this is an optional extension, XORG_DRIVER_CHECK_EXT
must be used.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 3c82220..c41b691 100644 --- a/configure.ac +++ b/configure.ac @@ -47,8 +47,11 @@ XORG_DEFAULT_OPTIONS # Checks for libraries. AC_CHECK_LIB([m], [rint]) +# Store the list of server defined optional extensions in REQUIRED_MODULES +XORG_DRIVER_CHECK_EXT(RANDR, randrproto) + # Obtain compiler/linker options for the Synaptics driver dependencies -PKG_CHECK_MODULES(XORG, xorg-server xproto) +PKG_CHECK_MODULES(XORG, xorg-server xproto inputproto $REQUIRED_MODULES) # X Server SDK location is required to install Synaptics header files # This location is also relayed in the xorg-synaptics.pc file |