From d7d931abe01a8cf555b027f2bcfcccd5e9053e52 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Wed, 1 Nov 2006 23:48:58 +0200 Subject: [PATCH] configure.ac: remove check for rate/period Keyboard stuff is now handled in the kbd driver. --- configure.ac | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/configure.ac b/configure.ac index aa6c607ec..8935aa088 100644 --- a/configure.ac +++ b/configure.ac @@ -1194,25 +1194,6 @@ dnl has it in libc), or if libdl is needed to get it. *) ;; esac - - # check whether struct kbd_repeat has the 'period' field. - # on kernels < 2.5.42 it's called 'rate' instead. - AC_TRY_COMPILE([ -#include -#ifdef __sparc__ -#include -#include -#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) XORG_OS="freebsd"