diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-05-13 13:28:37 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-05-16 16:27:28 -0400 |
commit | f76449cbe38d9f2e925d0af0cd0b1050168d86d1 (patch) | |
tree | 7c9ad83771985a3632e6f5ab936ae6f0ea45b84f | |
parent | a4dfc92927c8e26aca58da11bae1e516238fd60a (diff) |
config: optional extension check for inputproto not required
The check should be in PKG_CHECK_MODULES permanently.
The XORG_DRIVER_CHECK_EXT will add inputproto to PKG_CHECK_MODULES
only if the extension is available. By definition, this extension
is an integral part of the server and is always present.
The server always sets XINPUT macro to 1.
The conditional code was removed
Reviewed-by: RĂ©mi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | src/mouse.c | 4 |
2 files changed, 1 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index 407b499..e52d149 100644 --- a/configure.ac +++ b/configure.ac @@ -56,11 +56,8 @@ AC_ARG_WITH(xorg-module-dir, inputdir=${moduledir}/input AC_SUBST(inputdir) -# Checks for extensions -XORG_DRIVER_CHECK_EXT(XINPUT, inputproto) - # Checks for pkg-config packages -PKG_CHECK_MODULES(XORG, [xorg-server >= 1.5.99.901] xproto $REQUIRED_MODULES) +PKG_CHECK_MODULES(XORG, [xorg-server >= 1.5.99.901] xproto inputproto) # Checks for libraries. diff --git a/src/mouse.c b/src/mouse.c index 148a9d5..c95be76 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -58,14 +58,10 @@ #include "xf86.h" -#ifdef XINPUT #include <X11/extensions/XI.h> #include <X11/extensions/XIproto.h> #include "extnsionst.h" #include "extinit.h" -#else -#include "inputstr.h" -#endif #include "xf86Xinput.h" #include "xf86_OSproc.h" |