From 8094b6f91848cffa0cc19c67ee75413307b2b264 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 21 Sep 2020 23:53:57 +0000 Subject: tl-update-auto git-svn-id: svn://tug.org/texlive/trunk@56399 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/installer/config.guess | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'Master/tlpkg/installer/config.guess') diff --git a/Master/tlpkg/installer/config.guess b/Master/tlpkg/installer/config.guess index 9aff91cfd03..8d70ec2b263 100755 --- a/Master/tlpkg/installer/config.guess +++ b/Master/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 + #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 -- cgit v1.2.3