public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch] change linux-gnu* -> linux* in libtool files
@ 2006-04-15 12:39 Mike Frysinger
  2006-04-21  7:25 ` Alan Modra
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Frysinger @ 2006-04-15 12:39 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 149 bytes --]

upstream libtool changed libtool.m4 a while back to look for 'linux*)' instead 
of 'linux-gnu*)' ... ive also tweaked the ltconfig accordingly
-mike

[-- Attachment #2: binutils-libtool-generic-linux.patch --]
[-- Type: text/x-diff, Size: 740 bytes --]

2006-04-10  Mike Frysinger  <vapier@gentoo.org>

	* libtool.m4: Accept linux* instead of just linux-gnu*.
	* ltconfig: Likewise.  Also accept linux-uclibc* as well as linux-gnu*.

--- libtool.m4
+++ libtool.m4
@@ -739,7 +739,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- ltconfig
+++ ltconfig
@@ -602,7 +602,7 @@
 
 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
 case $host_os in
-linux-gnu*) ;;
+linux-gnu*|linux-uclibc*) ;;
 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
 esac
 
@@ -1247,7 +1247,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   version_type=linux
   need_lib_prefix=no
   need_version=no

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [patch] change linux-gnu* -> linux* in libtool files
@ 2006-04-21  8:10 Mike Frysinger
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2006-04-21  8:10 UTC (permalink / raw)
  To: binutils; +Cc: gcc-patches, gdb-patches

[-- Attachment #1: Type: text/plain, Size: 149 bytes --]

upstream libtool changed libtool.m4 a while back to look for 'linux*)' instead 
of 'linux-gnu*)' ... ive also tweaked the ltconfig accordingly
-mike

[-- Attachment #2: binutils-libtool-generic-linux.patch --]
[-- Type: text/x-diff, Size: 740 bytes --]

2006-04-10  Mike Frysinger  <vapier@gentoo.org>

	* libtool.m4: Accept linux* instead of just linux-gnu*.
	* ltconfig: Likewise.  Also accept linux-uclibc* as well as linux-gnu*.

--- libtool.m4
+++ libtool.m4
@@ -739,7 +739,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- ltconfig
+++ ltconfig
@@ -602,7 +602,7 @@
 
 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
 case $host_os in
-linux-gnu*) ;;
+linux-gnu*|linux-uclibc*) ;;
 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
 esac
 
@@ -1247,7 +1247,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   version_type=linux
   need_lib_prefix=no
   need_version=no

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-04-21  8:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-15 12:39 [patch] change linux-gnu* -> linux* in libtool files Mike Frysinger
2006-04-21  7:25 ` Alan Modra
2006-04-21  8:14   ` Mike Frysinger
2006-04-21 14:50     ` Andreas Schwab
2006-04-21  8:10 Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).