From: GNU Libc Maintainers Date: Sun, 14 Jan 2018 10:24:48 +0000 (+0000) Subject: cvs-revert-gnu-gnu-cleanup X-Git-Tag: archive/raspbian/2.26-4+rpi1^2~120 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d28c86b9dd07d1d768a0e36a5fae62af0623e877;p=glibc.git cvs-revert-gnu-gnu-cleanup commit ebf27d12e602b428a316c105ed10371ed84d2d3d Author: Samuel Thibault Date: Wed Feb 11 23:27:50 2015 +0000 revert part of ba90e05. * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back into gnu-gnu, and update comment to refer to abi-tags. Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name cvs-revert-gnu-gnu-cleanup.diff --- diff --git a/configure b/configure index 47d8c7524..f3b7e77f0 100755 --- a/configure +++ b/configure @@ -3771,6 +3771,18 @@ else fi +# The abi-tags file uses a fairly simplistic model for name recognition that +# can't distinguish i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a +# $host_os of `gnu*' here to be `gnu-gnu*' just so that it can tell. +# This doesn't get used much beyond that, so it's fairly safe. +case "$host_os" in +linux*) + ;; +gnu*) + host_os=`echo $host_os | sed -e 's/gnu/gnu-gnu/'` + ;; +esac + # We keep the original values in `$config_*' and never modify them, so we # can write them unchanged into config.make. Everything else uses # $machine, $vendor, and $os, and changes them whenever convenient. diff --git a/configure.ac b/configure.ac index e8a1ab356..c575c1169 100644 --- a/configure.ac +++ b/configure.ac @@ -471,6 +471,18 @@ AC_ARG_ENABLE([mathvec], [build_mathvec=$enableval], [build_mathvec=notset]) +# The abi-tags file uses a fairly simplistic model for name recognition that +# can't distinguish i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a +# $host_os of `gnu*' here to be `gnu-gnu*' just so that it can tell. +# This doesn't get used much beyond that, so it's fairly safe. +case "$host_os" in +linux*) + ;; +gnu*) + host_os=`echo $host_os | sed -e 's/gnu/gnu-gnu/'` + ;; +esac + # We keep the original values in `$config_*' and never modify them, so we # can write them unchanged into config.make. Everything else uses # $machine, $vendor, and $os, and changes them whenever convenient.