libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.2.6-121-g1f4a1d7


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-121-g1f4a1d7
Date: Sun, 07 Jun 2009 07:26:29 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  1f4a1d723744feddc05a77bc687366c286950651 (commit)
      from  e3095b37d09aa637c465b3099781bf5d69f9f059 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1f4a1d723744feddc05a77bc687366c286950651
Author: Vincent Torri <address@hidden>
Date:   Sun Jun 7 09:25:45 2009 +0200

    Fix C wrapper invocation for ceGCC hosts (cegcc and mingw32ce).
    
    * libltdl/config/ltmain.m4sh (func_mode_link): do not generate
    C wrapper for cegcc and mingw32ce hosts.
    (func_emit_cwrapperexe_src): remove useless check on
    __MINGW32CE__.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    8 ++++++++
 libltdl/config/ltmain.m4sh |   22 ++++++----------------
 2 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8220712..7438abf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-06-07  Vincent Torri  <address@hidden>  (tiny change)
+
+       Fix C wrapper invocation for ceGCC hosts (cegcc and mingw32ce).
+       * libltdl/config/ltmain.m4sh (func_mode_link): do not generate
+       C wrapper for cegcc and mingw32ce hosts.
+       (func_emit_cwrapperexe_src): remove useless check on
+       __MINGW32CE__.
+
 2009-06-07  Ralf Wildenhues  <address@hidden>
 
        Don't pick up double-quotes from /etc/ld.so.conf on Ubuntu.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 5609304..72660a8 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -2738,9 +2738,7 @@ EOF
 #include <assert.h>
 #include <string.h>
 #include <ctype.h>
-#ifndef __MINGW32CE__
-# include <errno.h>
-#endif
+#include <errno.h>
 #include <fcntl.h>
 #include <sys/stat.h>
 
@@ -2770,7 +2768,7 @@ int setenv (const char *, const char *, int);
 #  define _INTPTR_T_DEFINED
 #  define intptr_t int
 # endif
-#elif defined(__MINGW32__) && !defined(__MINGW32CE__)
+#elif defined(__MINGW32__)
 # define setmode _setmode
 # define stat    _stat
 # define chmod   _chmod
@@ -3145,11 +3143,7 @@ EOF
   if (rval == -1)
     {
       /* failed to start process */
-#ifndef __MINGW32CE__
       LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = 
%d\n", lt_argv_zero, errno));
-#else
-      LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\"\n", 
lt_argv_zero));
-#endif
       return 127;
     }
   return rval;
@@ -3378,12 +3372,8 @@ chase_symlinks (const char *pathspec)
        }
       else
        {
-#ifndef __MINGW32CE__
          char *errstr = strerror (errno);
          lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
-#else
-         lt_fatal ("Error accessing file %s", tmp_pathspec);
-#endif
        }
     }
   XFREE (tmp_pathspec);
@@ -7411,15 +7401,15 @@ EOF
 
       wrappers_required=yes
       case $host in
+      *cegcc* | *mingw32ce*)
+        # Disable wrappers for cegcc and mingw32ce hosts, we are cross 
compiling anyway.
+        wrappers_required=no
+        ;;
       *cygwin* | *mingw* )
         if test "$build_libtool_libs" != yes; then
           wrappers_required=no
         fi
         ;;
-      *cegcc*)
-        # Disable wrappers for cegcc, we are cross compiling anyway.
-        wrappers_required=no
-        ;;
       *)
         if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
           wrappers_required=no


hooks/post-receive
-- 
GNU Libtool




reply via email to

[Prev in Thread] Current Thread [Next in Thread]