[PATCH input-keyboard 04/13] config: LNX_KBD_PERIOD_NAME not used since autorepeat was removed

Gaetan Nadon memsize at videotron.ca
Wed May 12 10:11:20 PDT 2010


In commit ae630aef17185dd8d2c23d0eb1b3287fa6e26268,
the autorepeat feature was removed which was the only
user of LNX_KBD_PERIOD_NAME.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 configure.ac |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/configure.ac b/configure.ac
index 40c36e1..3d1e000 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,24 +51,6 @@ AC_PROG_CC
 case $host_os in
   linux*)
     IS_LINUX="yes"
-    # check whether struct kbd_repeat has the 'period' field.
-    # on kernels < 2.5.42 it's called 'rate' instead.
-    AC_TRY_COMPILE([
-#include <linux/kd.h>
-#ifdef __sparc__
-#include <asm/param.h>
-#include <asm/kbio.h>
-#endif
-],[
-int main () {
-        struct kbd_repeat k;
-        k.period = 0;
-        return 0;
-}],
-    [period_field="period"],
-    [period_field="rate"])
-    AC_DEFINE_UNQUOTED(LNX_KBD_PERIOD_NAME, [$period_field],
-                       [Name of the period field in struct kbd_repeat])
     ;;
 
   freebsd* | kfreebsd-gnu* | netbsd* | openbsd*)
-- 
1.6.0.4



More information about the xorg-devel mailing list