gnu: xscreensaver: Don't read /proc/interrupts at configure time.

Fixes a bug whereby, on some machines, ./configure would fail with:

  Warning: Checking of /proc/interrupts was requested, but it's bogus.

* gnu/packages/xdisorg.scm (xscreensaver)[arguments]: Pass
'--without-proc-interrupts'.
This commit is contained in:
Ludovic Courtès 2022-08-03 15:33:32 +02:00
parent f2d86db81d
commit e8ed95ddf8
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -1655,7 +1655,13 @@ less if you are working in front of the screen at night.")
(("@GTK_DATADIR@") "@datadir@")
(("@PO_DATADIR@") "@datadir@"))
#t)))
#:configure-flags '("--with-pam" "--with-proc-interrupts"
#:configure-flags '("--with-pam"
;; Don't check /proc/interrupts in the build
;; environment to avoid non-deterministic failures
;; of the 'configure' script.
"--without-proc-interrupts"
"--without-readdisplay")
#:make-flags (list (string-append "AD_DIR="
(assoc-ref %outputs "out")