On Thu, 2006 May 04 09:38:11 +0200, Ralf Hildebrandt wrote:
>
> And how about sending it here, too?
Oh, of course. Attached.
This is against 5.00b4, but it applies cleanly to 4.24 as well. It's a
pretty trivial patch, as you can see....
--Daniel
--- xscreensaver-5.00b4/configure.in 2006-04-19 02:10:48.000000000 -0400
+++ xscreensaver-5.00b4-patched/configure.in 2006-04-29 20:29:21.000000000
-0400
@@ -1723,6 +1723,13 @@
if test "$with_proc_interrupts" = yes; then
+ # Note that we may be building in an environment (e.g. Debian buildd chroot)
+ # without a proper /proc filesystem. If /proc/interrupts exists, then we'll
+ # check that it has the bits we need, but otherwise we'll just go on faith.
+ #
+ have_proc_interrupts=yes
+
+ if test -f /proc/interrupts; then
AC_CACHE_CHECK([whether /proc/interrupts contains keyboard data],
ac_cv_have_proc_interrupts,
[ac_cv_have_proc_interrupts=no
@@ -1731,6 +1738,7 @@
fi
])
have_proc_interrupts=$ac_cv_have_proc_interrupts
+ fi
if test "$have_proc_interrupts" = yes; then
AC_DEFINE(HAVE_PROC_INTERRUPTS)