From: Ralf Wildenhues Date: Thu, 20 Nov 2008 06:23:45 +0000 (+0100) Subject: Fix match patterns for cegcc*. X-Git-Tag: v2.2.7b~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e7334c7c28e51d3943339f6f3617985c03e3f79;p=thirdparty%2Flibtool.git 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. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index a9c3db469..b1582fdf1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2008-11-20 Ralf Wildenhues + 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. + Ensure $ac_aux_dir is initialized for LIBTOOL_DEPS. * libltdl/m4/libtool.m4 (LT_INIT): Require AC_CONFIG_AUX_DIR_DEFAULT. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 91c1f47ac..7b11e965d 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 011b99c6e..35d7d5c64 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 34151a3ba..b8e0e71bd 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 dccb122b7..b76746cc4 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" ;;