[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix match patterns for cegcc*.
From: |
Ralf Wildenhues |
Subject: |
Fix match patterns for cegcc*. |
Date: |
Thu, 20 Nov 2008 07:26:32 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
In Libtool, we commonly match $host names with a trailing '*' to allow
for (present or future) version numbers, on the grounds that most
systems remain compatible with their older versions, and to let Libtool
code require fewer changes.
I'm thus pushing this to match more uniformly for cegcc.
Cheers,
Ralf
Fix match patterns for cegcc*.
* libltdl/config/ltmain.m4sh (func_mode_link): Match '*cegcc*'
instead of '*cegcc' for $host_os.
* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Likewise.
* tests/lt_dladvise.at (lt_dlopenadvise library loading):
Likewise.
* libltdl/m4/ltoptions.m4 (AC_LIBTOOL_DLOPEN): Match
'*-*-cegcc*' for $host.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 91c1f47..7b11e96 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -7382,7 +7382,7 @@ EOF
wrappers_required=no
fi
;;
- *cegcc)
+ *cegcc*)
# Disable wrappers for cegcc, we are cross compiling anyway.
wrappers_required=no
;;
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 011b99c..35d7d5c 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -2931,7 +2931,7 @@ mingw* | pw32*)
fi
;;
-cegcc)
+cegcc*)
# use the weaker test based on 'objdump'. See mingw*.
lt_cv_deplibs_check_method='file_magic file format
pe-arm-.*little(.*architecture: arm)?'
lt_cv_file_magic_cmd='$OBJDUMP -f'
diff --git a/libltdl/m4/ltoptions.m4 b/libltdl/m4/ltoptions.m4
index 34151a3..b8e0e71 100644
--- a/libltdl/m4/ltoptions.m4
+++ b/libltdl/m4/ltoptions.m4
@@ -125,7 +125,7 @@ LT_OPTION_DEFINE([LT_INIT], [win32-dll],
[enable_win32_dll=yes
case $host in
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
AC_CHECK_TOOL(AS, as, false)
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
AC_CHECK_TOOL(OBJDUMP, objdump, false)
diff --git a/tests/lt_dladvise.at b/tests/lt_dladvise.at
index dccb122..b76746c 100644
--- a/tests/lt_dladvise.at
+++ b/tests/lt_dladvise.at
@@ -319,7 +319,7 @@ dlpreloadable='preload'
# ------------------------------------------------------------------------- #
case $host_os in
-cygwin* | mingw*)
+cygwin* | mingw* | cegcc*)
# These hosts do not support linking without -no-undefined
CPPFLAGS="$CPPFLAGS -DHAVE_UNDEFINED_SYMBOLS=0"
;;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fix match patterns for cegcc*.,
Ralf Wildenhues <=