aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nt/ChangeLog5
-rwxr-xr-xnt/configure.bat5
2 files changed, 9 insertions, 1 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 106f0e91695..311a10f66c5 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,8 @@
12012-09-18 Eli Zaretskii <eliz@gnu.org>
2
3 * configure.bat: Include stddef.h before gif_lib.h, to have size_t
4 defined, as needed by giflib-5.0.0. (Bug#12464)
5
12012-09-17 Juanma Barranquero <lekktu@gmail.com> 62012-09-17 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * config.nt: Sync with autogen/config.in. 8 * config.nt: Sync with autogen/config.in.
diff --git a/nt/configure.bat b/nt/configure.bat
index 5890b12d02e..7fedff411bc 100755
--- a/nt/configure.bat
+++ b/nt/configure.bat
@@ -627,7 +627,10 @@ rm -f junk.c junk.obj
627if (%gifsupport%) == (N) goto gifDone 627if (%gifsupport%) == (N) goto gifDone
628 628
629echo Checking for libgif... 629echo Checking for libgif...
630echo #include "gif_lib.h" >junk.c 630rem giflib-5.0.0 needs size_t defined before gif_lib.h is included
631rem redirection characters need to be protected from the shell
632echo #include ^<stddef.h^> >junk.c
633echo #include "gif_lib.h" >>junk.c
631echo main (){} >>junk.c 634echo main (){} >>junk.c
632rem -o option is ignored with cl, but allows result to be consistent. 635rem -o option is ignored with cl, but allows result to be consistent.
633echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log 636echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log