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 @@ (define-public xscreensaver
(("@GTK_DATADIR@") "@datadir@") (("@GTK_DATADIR@") "@datadir@")
(("@PO_DATADIR@") "@datadir@")) (("@PO_DATADIR@") "@datadir@"))
#t))) #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") "--without-readdisplay")
#:make-flags (list (string-append "AD_DIR=" #:make-flags (list (string-append "AD_DIR="
(assoc-ref %outputs "out") (assoc-ref %outputs "out")