emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r110088: Fix bug #12464 with test for


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110088: Fix bug #12464 with test for giflib 5.0.0 on MS-Windows.
Date: Tue, 18 Sep 2012 13:49:33 +0300
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110088
fixes bug: http://debbugs.gnu.org/12464
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Tue 2012-09-18 13:49:33 +0300
message:
  Fix bug #12464 with test for giflib 5.0.0 on MS-Windows.
  
   nt/configure.bat: Include stddef.h before gif_lib.h, to have size_t
   defined, as needed by giflib-5.0.0.
modified:
  nt/ChangeLog
  nt/configure.bat
=== modified file 'nt/ChangeLog'
--- a/nt/ChangeLog      2012-09-17 13:22:45 +0000
+++ b/nt/ChangeLog      2012-09-18 10:49:33 +0000
@@ -1,3 +1,8 @@
+2012-09-18  Eli Zaretskii  <address@hidden>
+
+       * configure.bat: Include stddef.h before gif_lib.h, to have size_t
+       defined, as needed by giflib-5.0.0.  (Bug#12464)
+
 2012-09-17  Juanma Barranquero  <address@hidden>
 
        * config.nt: Sync with autogen/config.in.

=== modified file 'nt/configure.bat'
--- a/nt/configure.bat  2012-09-08 11:20:32 +0000
+++ b/nt/configure.bat  2012-09-18 10:49:33 +0000
@@ -627,7 +627,10 @@
 if (%gifsupport%) == (N) goto gifDone
 
 echo Checking for libgif...
-echo #include "gif_lib.h" >junk.c
+rem giflib-5.0.0 needs size_t defined before gif_lib.h is included
+rem redirection characters need to be protected from the shell
+echo #include ^<stddef.h^> >junk.c
+echo #include "gif_lib.h" >>junk.c
 echo main (){} >>junk.c
 rem   -o option is ignored with cl, but allows result to be consistent.
 echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log


reply via email to

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