diff options
author | Norbert Preining <norbert@preining.info> | 2020-09-23 03:03:31 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-09-23 03:03:31 +0000 |
commit | 6639178e654b36f7065a0cdbab783d687550e896 (patch) | |
tree | 409157d10a0e6d3d9c828b926a60d23195eb4abb /systems/texlive/tlnet/tlpkg/installer/config.guess | |
parent | 1a37a060977fa92be44dcee0fb99c59e46023afe (diff) |
CTAN sync 202009230303
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/installer/config.guess')
-rwxr-xr-x | systems/texlive/tlnet/tlpkg/installer/config.guess | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/systems/texlive/tlnet/tlpkg/installer/config.guess b/systems/texlive/tlnet/tlpkg/installer/config.guess index 9aff91cfd0..8d70ec2b26 100755 --- a/systems/texlive/tlnet/tlpkg/installer/config.guess +++ b/systems/texlive/tlnet/tlpkg/installer/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2020 Free Software Foundation, Inc. -timestamp='2020-08-17' +timestamp='2020-09-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 @@ -150,17 +150,15 @@ Linux|GNU|GNU/*) #elif defined(__dietlibc__) LIBC=dietlibc #else + #include <stdarg.h> + #ifdef __DEFINED_va_list + LIBC=musl + #else LIBC=gnu #endif + #endif EOF eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" - - # If ldd exists, use it to detect musl libc. - if command -v ldd >/dev/null && \ - ldd --version 2>&1 | grep -q ^musl - then - LIBC=musl - fi ;; esac |