]> Savannah Git Hosting - gnulib.git/commitdiff
autoupdate
authorKarl Berry <karl@freefriends.org>
Fri, 26 Jan 2018 16:52:43 +0000 (08:52 -0800)
committerKarl Berry <karl@freefriends.org>
Fri, 26 Jan 2018 16:52:43 +0000 (08:52 -0800)
build-aux/config.guess

index ae5ffc72f4be02e19aed5c63499952d2d78f0ce3..9baaa270bfc7f08d6c6eb85b84f9742318a58d84 100755 (executable)
@@ -2,7 +2,7 @@
 # Attempt to guess a canonical system name.
 #   Copyright 1992-2018 Free Software Foundation, Inc.
 
-timestamp='2018-01-16'
+timestamp='2018-01-26'
 
 # 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,6 +150,13 @@ Linux|GNU|GNU/*)
        #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