[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libtool 1.4: linux* vs linux-gnu*
From: |
Andreas Schwab |
Subject: |
libtool 1.4: linux* vs linux-gnu* |
Date: |
03 May 2001 14:55:55 +0200 |
User-agent: |
Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.103 |
This patch changes libtool.m4 to match the host_os against linux* instead
of linux-gnu*. The lines that try to convert linux to linux-gnu are
completely useless, since they don't change host_os, and even if they did
that would had no effect on the value of host_os used by the
AC_DEPLIBS_CHECK_METHOD macro, since that appears earlier in the generated
configure script.
2001-05-03 Andreas Schwab <address@hidden>
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Remove failed try to
transform linux to linux-gnu in $host. Match $host_os against
linux*, not linux-gnu*.
(AC_DEPLIBS_CHECK_METHOD): Likewise.
--- libtool.m4 2001/05/03 09:49:21 1.1
+++ libtool.m4 2001/05/03 12:49:10
@@ -734,12 +734,6 @@
ac_tool_prefix=
fi
-# Transform linux* to *-*-linux-gnu*, to support old configure scripts.
-case $host_os in
-linux-gnu*) ;;
-linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
-esac
-
case $host_os in
aix3*)
# AIX sometimes has problems with the GCC collect2 program. For some
@@ -2026,12 +2020,12 @@
;;
# No shared lib support for Linux oldld, aout, or coff.
-linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
+linux*oldld* | linux*aout* | linux*coff*)
dynamic_linker=no
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
version_type=linux
need_lib_prefix=no
need_version=no
@@ -3205,7 +3199,7 @@
;;
# This must be Linux ELF.
-linux-gnu*)
+linux*)
case $host_cpu in
alpha* | i*86 | powerpc* | sparc* | ia64* )
lt_cv_deplibs_check_method=pass_all ;;
--
Andreas Schwab "And now for something
SuSE Labs completely different."
address@hidden
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- libtool 1.4: linux* vs linux-gnu*,
Andreas Schwab <=