cvs-revert-gnu-gnu-cleanup
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 3 Mar 2018 10:47:56 +0000 (10:47 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 3 Mar 2018 10:47:56 +0000 (10:47 +0000)
commit ebf27d12e602b428a316c105ed10371ed84d2d3d
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
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

configure
configure.ac

index 7a8bd3f817be359cf669be410536ecd76de68cdb..a5243d0a1f855b14c594da302f270b9065ff9833 100755 (executable)
--- a/configure
+++ b/configure
@@ -3741,6 +3741,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.
index ca1282a6b3f8c5369c133a47f5c8239c3f2d32b5..6938ff1e33e0d1d910d6406c92a378e35759c509 100644 (file)
@@ -453,6 +453,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.