diff mbox series

libtool.m4: update GNU/Hurd test from upstream

Message ID 20201224011202.1965624-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series libtool.m4: update GNU/Hurd test from upstream | expand

Commit Message

Samuel Thibault Dec. 24, 2020, 1:12 a.m. UTC
In upstream libtool, 47a889a4ca20 ("Improve GNU/Hurd support.") fixed
detection of shlibpath_overrides_runpath, thus avoiding unnecessary relink.
This backports it.

ChangeLog:

	* libtool.m4: Match gnu* along other GNU systems.
	* libffi/configure: Re-generate.
	* libgomp/configure: Re-generate.

	* libgo/config/libtool.m4: Match gnu* along other GNU systems.
	* libgo/configure: Re-generate.

gcc/ChangeLog:

	* configure: Re-generate.

libatomic/ChangeLog:

	* configure: Re-generate.

libbacktrace/ChangeLog:

	* configure: Re-generate.

libcc1/ChangeLog:

	* configure: Re-generate.

libgfortran/ChangeLog:

	* configure: Re-generate.

libgomp/ChangeLog:

	* configure: Re-generate.

libhsail-rt/ChangeLog:

	* configure: Re-generate.

libitm/ChangeLog:

	* configure: Re-generate.

libobjc/ChangeLog:

	* configure: Re-generate.

liboffloadmic/ChangeLog:

	* configure: Re-generate.
	* plugin/configure: Re-generate.

libphobos/ChangeLog:

	* configure: Re-generate.

libquadmath/ChangeLog:

	* configure: Re-generate.

libsanitizer/ChangeLog:

	* configure: Re-generate.

libssp/ChangeLog:

	* configure: Re-generate.

libstdc++-v3/ChangeLog:

	* configure: Re-generate.

libvtv/ChangeLog:

	* configure: Re-generate.

lto-plugin/ChangeLog:

	* configure: Re-generate.

zlib/ChangeLog:

	* configure: Re-generate.
---
 gcc/configure                  | 12 +-----------
 libatomic/configure            | 12 +-----------
 libbacktrace/configure         | 12 +-----------
 libcc1/configure               | 12 +-----------
 libffi/configure               | 12 +-----------
 libgfortran/configure          | 12 +-----------
 libgo/config/libtool.m4        | 12 +-----------
 libgo/configure                | 12 +-----------
 libgomp/configure              | 12 +-----------
 libhsail-rt/configure          | 12 +-----------
 libitm/configure               | 12 +-----------
 libobjc/configure              | 12 +-----------
 liboffloadmic/configure        | 12 +-----------
 liboffloadmic/plugin/configure | 12 +-----------
 libphobos/configure            | 12 +-----------
 libquadmath/configure          | 12 +-----------
 libsanitizer/configure         | 12 +-----------
 libssp/configure               | 12 +-----------
 libstdc++-v3/configure         | 12 +-----------
 libtool.m4                     | 12 +-----------
 libvtv/configure               | 12 +-----------
 lto-plugin/configure           | 12 +-----------
 zlib/configure                 | 12 +-----------
 23 files changed, 23 insertions(+), 253 deletions(-)

Comments

Jeff Law Jan. 4, 2021, 8:29 p.m. UTC | #1
On 12/23/20 6:12 PM, Samuel Thibault wrote:
> In upstream libtool, 47a889a4ca20 ("Improve GNU/Hurd support.") fixed
> detection of shlibpath_overrides_runpath, thus avoiding unnecessary relink.
> This backports it.
>
> ChangeLog:
>
> 	* libtool.m4: Match gnu* along other GNU systems.
> 	* libffi/configure: Re-generate.
> 	* libgomp/configure: Re-generate.
>
> 	* libgo/config/libtool.m4: Match gnu* along other GNU systems.
> 	* libgo/configure: Re-generate.
OK for the trunk.

jeff
Samuel Thibault Jan. 4, 2021, 11:26 p.m. UTC | #2
Hello,

Jeff Law, le lun. 04 janv. 2021 13:29:53 -0700, a ecrit:
> On 12/23/20 6:12 PM, Samuel Thibault wrote:
> > In upstream libtool, 47a889a4ca20 ("Improve GNU/Hurd support.") fixed
> > detection of shlibpath_overrides_runpath, thus avoiding unnecessary relink.
> > This backports it.
> >
> > ChangeLog:
> >
> > 	* libtool.m4: Match gnu* along other GNU systems.
> > 	* libffi/configure: Re-generate.
> > 	* libgomp/configure: Re-generate.
> >
> > 	* libgo/config/libtool.m4: Match gnu* along other GNU systems.
> > 	* libgo/configure: Re-generate.
> OK for the trunk.

(I do not have commit access to gcc)

Samuel
Jeff Law Jan. 5, 2021, 11:04 p.m. UTC | #3
On 12/23/20 6:12 PM, Samuel Thibault wrote:
> In upstream libtool, 47a889a4ca20 ("Improve GNU/Hurd support.") fixed
> detection of shlibpath_overrides_runpath, thus avoiding unnecessary relink.
> This backports it.
>
> ChangeLog:
>
> 	* libtool.m4: Match gnu* along other GNU systems.
> 	* libffi/configure: Re-generate.
> 	* libgomp/configure: Re-generate.
>
> 	* libgo/config/libtool.m4: Match gnu* along other GNU systems.
> 	* libgo/configure: Re-generate.
>
> gcc/ChangeLog:
>
> 	* configure: Re-generate.
>
> libatomic/ChangeLog:
>
> 	* configure: Re-generate.
>
> libbacktrace/ChangeLog:
>
> 	* configure: Re-generate.
>
> libcc1/ChangeLog:
>
> 	* configure: Re-generate.
>
> libgfortran/ChangeLog:
>
> 	* configure: Re-generate.
>
> libgomp/ChangeLog:
>
> 	* configure: Re-generate.
>
> libhsail-rt/ChangeLog:
>
> 	* configure: Re-generate.
>
> libitm/ChangeLog:
>
> 	* configure: Re-generate.
>
> libobjc/ChangeLog:
>
> 	* configure: Re-generate.
>
> liboffloadmic/ChangeLog:
>
> 	* configure: Re-generate.
> 	* plugin/configure: Re-generate.
>
> libphobos/ChangeLog:
>
> 	* configure: Re-generate.
>
> libquadmath/ChangeLog:
>
> 	* configure: Re-generate.
>
> libsanitizer/ChangeLog:
>
> 	* configure: Re-generate.
>
> libssp/ChangeLog:
>
> 	* configure: Re-generate.
>
> libstdc++-v3/ChangeLog:
>
> 	* configure: Re-generate.
>
> libvtv/ChangeLog:
>
> 	* configure: Re-generate.
>
> lto-plugin/ChangeLog:
>
> 	* configure: Re-generate.
>
> zlib/ChangeLog:
>
> 	* configure: Re-generate.
Thanks.  Installed.
jeff
Samuel Thibault Jan. 5, 2021, 11:07 p.m. UTC | #4
Jeff Law, le mar. 05 janv. 2021 16:04:45 -0700, a ecrit:
> Thanks.  Installed.

Thanks!

Samuel
Ian Lance Taylor May 19, 2021, 1:07 a.m. UTC | #5
Just a note that this patch should not have been committed to the
libgo directory.  As described in libgo/README.gcc, the libgo
directory is a mirror of a repository stored elsewhere.  Changes
committed directly to the gcc repo will eventually be lost.  Thanks.

I'll take care of handling this patch correctly for libgo.

Ian

On Tue, Jan 5, 2021 at 3:07 PM Samuel Thibault via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> Jeff Law, le mar. 05 janv. 2021 16:04:45 -0700, a ecrit:
> > Thanks.  Installed.
>
> Thanks!
>
> Samuel
diff mbox series

Patch

diff --git a/gcc/configure b/gcc/configure
index fbe92089640..9a25dacf8b3 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -18366,16 +18366,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -18497,7 +18487,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libatomic/configure b/libatomic/configure
index 50fe5480b78..5867e69ac14 100755
--- a/libatomic/configure
+++ b/libatomic/configure
@@ -10570,16 +10570,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10701,7 +10691,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libbacktrace/configure b/libbacktrace/configure
index 665adef7566..86e387f0ca5 100755
--- a/libbacktrace/configure
+++ b/libbacktrace/configure
@@ -10699,16 +10699,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10830,7 +10820,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libcc1/configure b/libcc1/configure
index ac0f0312cc9..021ec265526 100755
--- a/libcc1/configure
+++ b/libcc1/configure
@@ -9967,16 +9967,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10098,7 +10088,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libffi/configure b/libffi/configure
index 2c0ba177d40..8d52ec4f495 100755
--- a/libffi/configure
+++ b/libffi/configure
@@ -10743,16 +10743,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10874,7 +10864,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libgfortran/configure b/libgfortran/configure
index b2841d64952..f3634389cf8 100755
--- a/libgfortran/configure
+++ b/libgfortran/configure
@@ -11903,16 +11903,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -12034,7 +12024,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libgo/config/libtool.m4 b/libgo/config/libtool.m4
index e7447537353..4ca90ee71bc 100644
--- a/libgo/config/libtool.m4
+++ b/libgo/config/libtool.m4
@@ -2328,16 +2328,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -2454,7 +2444,7 @@  linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libgo/configure b/libgo/configure
index 1d7d007f88e..899e0bb0bd1 100755
--- a/libgo/configure
+++ b/libgo/configure
@@ -10682,16 +10682,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10808,7 +10798,7 @@  linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libgomp/configure b/libgomp/configure
index d412596a915..89c17c571b7 100755
--- a/libgomp/configure
+++ b/libgomp/configure
@@ -10611,16 +10611,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10742,7 +10732,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libhsail-rt/configure b/libhsail-rt/configure
index f3357d92c14..c6bf7f7b9d0 100755
--- a/libhsail-rt/configure
+++ b/libhsail-rt/configure
@@ -10421,16 +10421,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10552,7 +10542,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libitm/configure b/libitm/configure
index d3ba8279e70..b8f1e2360d0 100755
--- a/libitm/configure
+++ b/libitm/configure
@@ -11246,16 +11246,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -11377,7 +11367,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libobjc/configure b/libobjc/configure
index a1782d8c411..5d1b424a66d 100755
--- a/libobjc/configure
+++ b/libobjc/configure
@@ -9943,16 +9943,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10074,7 +10064,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/liboffloadmic/configure b/liboffloadmic/configure
index a40ac96a7fc..dfa8287fd75 100644
--- a/liboffloadmic/configure
+++ b/liboffloadmic/configure
@@ -10610,16 +10610,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10741,7 +10731,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/liboffloadmic/plugin/configure b/liboffloadmic/plugin/configure
index 0cf02957c69..0b21d7d4eed 100644
--- a/liboffloadmic/plugin/configure
+++ b/liboffloadmic/plugin/configure
@@ -10257,16 +10257,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10388,7 +10378,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libphobos/configure b/libphobos/configure
index a7fb5edb90f..1c32a552d40 100755
--- a/libphobos/configure
+++ b/libphobos/configure
@@ -10936,16 +10936,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -11067,7 +11057,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libquadmath/configure b/libquadmath/configure
index 7d437412406..31918507f62 100755
--- a/libquadmath/configure
+++ b/libquadmath/configure
@@ -9978,16 +9978,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10109,7 +10099,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libsanitizer/configure b/libsanitizer/configure
index 2b2cb907efa..1d9ae59be67 100755
--- a/libsanitizer/configure
+++ b/libsanitizer/configure
@@ -11546,16 +11546,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -11677,7 +11667,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libssp/configure b/libssp/configure
index 4873b43e111..10ba209bde8 100755
--- a/libssp/configure
+++ b/libssp/configure
@@ -10164,16 +10164,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10295,7 +10285,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 7ee881dceeb..a310e9feb6c 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -11302,16 +11302,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -11433,7 +11423,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libtool.m4 b/libtool.m4
index d88f0792362..17f8e5f3074 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -2325,16 +2325,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -2456,7 +2446,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/libvtv/configure b/libvtv/configure
index 11b509c11d5..d64b4af5c6b 100755
--- a/libvtv/configure
+++ b/libvtv/configure
@@ -11444,16 +11444,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -11575,7 +11565,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/lto-plugin/configure b/lto-plugin/configure
index 9209d338ac6..baa84adbb6c 100755
--- a/lto-plugin/configure
+++ b/lto-plugin/configure
@@ -11140,16 +11140,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -11271,7 +11261,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
diff --git a/zlib/configure b/zlib/configure
index 945a960991a..f489f31bc70 100755
--- a/zlib/configure
+++ b/zlib/configure
@@ -9907,16 +9907,6 @@  freebsd* | dragonfly*)
   esac
   ;;
 
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux
   need_lib_prefix=no
@@ -10038,7 +10028,7 @@  linux*oldld* | linux*aout* | linux*coff*)
 # project, but have not yet been accepted: they are GCC-local changes
 # for the time being.  (See
 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
-linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no