build: Fix configure host detection for Arch. Thanks, Jelle!

* configure (main): Grok `CPU-pc-linux-gnu'.
This commit is contained in:
Jan Nieuwenhuizen 2019-12-04 21:29:42 +01:00
parent 5cf5a15b76
commit abd909d791
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

2
configure vendored
View file

@ -501,7 +501,7 @@ Some influential environment variables:
"32")) "32"))
(mes-libc (if system-libc? "system" "mes")) (mes-libc (if system-libc? "system" "mes"))
(kernel-list (filter (compose not (cut equal? <> "unknown")) (cdr build-type-list))) (kernel-list (filter (compose not (cut member <> '("pc" "unknown"))) (cdr build-type-list)))
(mes-kernel (cond ((or (equal? '("linux" "gnu") kernel-list) (mes-kernel (cond ((or (equal? '("linux" "gnu") kernel-list)
(equal? "linux" (car kernel-list))) "linux") (equal? "linux" (car kernel-list))) "linux")
((equal? '( "gnu") kernel-list) "gnu") ((equal? '( "gnu") kernel-list) "gnu")