]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Fix match patterns for cegcc*.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 20 Nov 2008 06:23:45 +0000 (07:23 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 20 Nov 2008 06:23:45 +0000 (07:23 +0100)
* 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 <Ralf.Wildenhues@gmx.de>
ChangeLog
libltdl/config/ltmain.m4sh
libltdl/m4/libtool.m4
libltdl/m4/ltoptions.m4
tests/lt_dladvise.at

index a9c3db469045950665d20d9b5e621664fc320965..b1582fdf16762a6431b9f248a34714c74c2e2175 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2008-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       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.
index 91c1f47ac4940867de2e905ab8ef91fa01055367..7b11e965db8b6b263caa5bb855fee68d1d5c3863 100644 (file)
@@ -7382,7 +7382,7 @@ EOF
           wrappers_required=no
         fi
         ;;
-      *cegcc)
+      *cegcc*)
         # Disable wrappers for cegcc, we are cross compiling anyway.
         wrappers_required=no
         ;;
index 011b99c6e4a094c96530a75df703bb1bc7f57251..35d7d5c646bdf58032640d3e9c5c6fb0520546c9 100644 (file)
@@ -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'
index 34151a3ba625f326e6645d6afc79586f10746a3e..b8e0e71bd5fd306e01be9c4b152ffb94dd76fafa 100644 (file)
@@ -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)
index dccb122b714d62c1a1649015e381eeecb0ea0ced..b76746cc4aa77bd90c6cd7615ef69e9a06ace76f 100644 (file)
@@ -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"
   ;;