Don't use manifest on Cygwin. (Bug#17176)
authorKen Brown <kbrown@cornell.edu>
Thu, 3 Apr 2014 19:10:35 +0000 (15:10 -0400)
committerKen Brown <kbrown@cornell.edu>
Thu, 3 Apr 2014 19:10:35 +0000 (15:10 -0400)
* nt/emacs.rc: Don't use manifest on Cygwin.
* configure.ac (EMACS_MANIFEST, UPDATE_MANIFEST): Leave these
variables empty on Cygwin.
* src/Makefile.in (EMACS_MANIFEST): Update comment.

ChangeLog
configure.ac
nt/ChangeLog
nt/emacs.rc
src/ChangeLog
src/Makefile.in

index 65e730f..0060060 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-04-03  Ken Brown  <kbrown@cornell.edu>
+
+       * configure.ac (EMACS_MANIFEST, UPDATE_MANIFEST): Leave these
+       variables empty on Cygwin.  (Bug#17176)
+
 2014-03-31  Glenn Morris  <rgm@gnu.org>
 
        * configure.ac: Make the final "Does Emacs use Gsettings" message
index 83bbb32..086bd7d 100644 (file)
@@ -1834,11 +1834,6 @@ if test "${HAVE_W32}" = "yes"; then
   W32_OBJ="w32fns.o w32menu.o w32reg.o w32font.o w32term.o"
   W32_OBJ="$W32_OBJ w32xfns.o w32select.o w32uniscribe.o"
   EMACSRES="emacs.res"
-  case "$canonical" in
-    x86_64-*-*) EMACS_MANIFEST="emacs-x64.manifest" ;;
-    *) EMACS_MANIFEST="emacs-x86.manifest" ;;
-  esac
-  UPDATE_MANIFEST=update-game-score.exe.manifest
   if test "${opsys}" = "cygwin"; then
     W32_LIBS="$W32_LIBS -lkernel32 -luser32 -lgdi32 -lole32 -lcomdlg32"
     W32_LIBS="$W32_LIBS -lusp10 -lcomctl32 -lwinspool"
@@ -1846,6 +1841,11 @@ if test "${HAVE_W32}" = "yes"; then
     # the rc file), not a linker script.
     W32_RES_LINK="-Wl,emacs.res"
   else
+    case "$canonical" in
+      x86_64-*-*) EMACS_MANIFEST="emacs-x64.manifest" ;;
+      *) EMACS_MANIFEST="emacs-x86.manifest" ;;
+    esac
+    UPDATE_MANIFEST=update-game-score.exe.manifest
     W32_OBJ="$W32_OBJ w32.o w32console.o w32heap.o w32inevt.o w32proc.o"
     W32_LIBS="$W32_LIBS -lwinmm -lgdi32 -lcomdlg32"
     W32_LIBS="$W32_LIBS -lmpr -lwinspool -lole32 -lcomctl32 -lusp10"
index 62a3390..8e28758 100644 (file)
@@ -1,3 +1,7 @@
+2014-04-03  Ken Brown  <kbrown@cornell.edu>
+
+       * emacs.rc: Don't use manifest on Cygwin.  (Bug#17176)
+
 2014-02-17  Juanma Barranquero  <lekktu@gmail.com>
 
        * Makefile.in (install): Create destination directory before copying
index 92c303a..fa019b4 100644 (file)
@@ -1,10 +1,12 @@
 Emacs ICON   icons/emacs.ico
 32649 CURSOR icons/hand.cur
-#if defined (WIN64) || defined (__x86_64__)
+#ifndef __CYGWIN__
+#ifdef WIN64
 1 24 "emacs-x64.manifest"
 #else
 1 24 "emacs-x86.manifest"
 #endif
+#endif
 
 #ifndef VS_VERSION_INFO
 #define VS_VERSION_INFO 1
index 6f42a46..c352064 100644 (file)
@@ -1,3 +1,7 @@
+2014-04-03  Ken Brown  <kbrown@cornell.edu>
+
+       * Makefile.in (EMACS_MANIFEST): Update comment.  (Bug#17176)
+
 2014-04-02  Martin Rudalics  <rudalics@gmx.at>
 
        * xterm.c (x_new_font): Don't calculate non-toolkit scrollbar
index 3889235..7e71d03 100644 (file)
@@ -259,7 +259,7 @@ W32_LIBS=@W32_LIBS@
 
 ## emacs.res if HAVE_W32
 EMACSRES = @EMACSRES@
-## emacs-*.manifest if HAVE_W32
+## emacs-*.manifest if WINDOWSNT
 EMACS_MANIFEST = @EMACS_MANIFEST@
 ## If HAVE_W32, compiler arguments for including
 ## the resource file in the binary.