config.guess: detect LLVM-libc via features.h

* config.guess (__LLVM_LIBC__): Recognize.
* doc/config.guess.1: Regenerate.

Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
This commit is contained in:
Alfred Persson Forsberg
2023-10-19 20:55:42 +02:00
committed by Dmitry V. Levin
parent 5b83c2ff5d
commit a9a369e97a
2 changed files with 4 additions and 2 deletions

4
config.guess vendored
View File

@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268 # see below for rationale
timestamp='2023-08-22'
timestamp='2023-10-19'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -165,6 +165,8 @@ Linux|GNU|GNU/*)
LIBC=dietlibc
#elif defined(__GLIBC__)
LIBC=gnu
#elif defined(__LLVM_LIBC__)
LIBC=llvm
#else
#include <stdarg.h>
/* First heuristic to detect musl libc. */