[COMMIT] Patches for external GIF support on Windows

Vin Shelton acs at alumni.princeton.edu
Tue Oct 6 22:43:43 EDT 2009


Here's the patch necessary to build against a static giflib under Windows.

This patch has been committed.

 - Vin

diff -r 3a87551bfeb5 nt/ChangeLog
--- a/nt/ChangeLog      Mon Oct 05 13:07:34 2009 -0600
+++ b/nt/ChangeLog      Tue Oct 06 22:36:11 2009 -0400
@@ -1,3 +1,9 @@
+2009-10-06  Vin Shelton  <acs at xemacs.org>
+
+       * xemacs.mak: For giflib, the include files are found in
+                     $(GIF_DIR)\include and the library is named
+                     giflib.lib.
+
 2009-10-05  Jerry James  <james at xemacs.org>

        * config.inc.samp: Add GIF_DIR for external GIF support.
diff -r 3a87551bfeb5 nt/xemacs.mak
--- a/nt/xemacs.mak     Mon Oct 05 13:07:34 2009 -0600
+++ b/nt/xemacs.mak     Tue Oct 06 22:36:11 2009 -0400
@@ -548,8 +548,8 @@
 !endif
 !if $(HAVE_GIF)
 OPT_DEFINES=$(OPT_DEFINES) -DHAVE_GIF
-OPT_INCLUDES=$(OPT_INCLUDES) -I"$(GIF_DIR)\lib"
-OPT_LIBS=$(OPT_LIBS) "$(GIF_DIR)\lib\libgif.lib"
+OPT_INCLUDES=$(OPT_INCLUDES) -I"$(GIF_DIR)\include"
+OPT_LIBS=$(OPT_LIBS) "$(GIF_DIR)\lib\giflib.lib"
 !endif
 !if $(HAVE_PNG)
 OPT_DEFINES=$(OPT_DEFINES) -DHAVE_PNG




More information about the XEmacs-Patches mailing list