Revert most of the recent change involving manifests on Cygwin. (Bug#17176)
authorKen Brown <kbrown@cornell.edu>
Wed, 9 Apr 2014 21:16:37 +0000 (17:16 -0400)
committerKen Brown <kbrown@cornell.edu>
Wed, 9 Apr 2014 21:16:37 +0000 (17:16 -0400)
* configure.ac (EMACS_MANIFEST): Revert last change (but leave
UPDATE_MANIFEST empty).
* nt/emacs.rc: Revert last change.
* src/Makefile.in (EMACS_MANIFEST): Revert last change.

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

index 0060060..e55beb8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-04-09  Ken Brown  <kbrown@cornell.edu>
+
+       * configure.ac (EMACS_MANIFEST): Revert last change (but leave
+       UPDATE_MANIFEST empty).
+
 2014-04-03  Ken Brown  <kbrown@cornell.edu>
 
        * configure.ac (EMACS_MANIFEST, UPDATE_MANIFEST): Leave these
index 086bd7d..f7675fb 100644 (file)
@@ -1834,6 +1834,10 @@ 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
   if test "${opsys}" = "cygwin"; then
     W32_LIBS="$W32_LIBS -lkernel32 -luser32 -lgdi32 -lole32 -lcomdlg32"
     W32_LIBS="$W32_LIBS -lusp10 -lcomctl32 -lwinspool"
@@ -1841,10 +1845,6 @@ 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"
index 8e28758..38e5512 100644 (file)
@@ -1,3 +1,7 @@
+2014-04-09  Ken Brown  <kbrown@cornell.edu>
+
+       * emacs.rc: Revert last change.
+
 2014-04-03  Ken Brown  <kbrown@cornell.edu>
 
        * emacs.rc: Don't use manifest on Cygwin.  (Bug#17176)
index fa019b4..92c303a 100644 (file)
@@ -1,12 +1,10 @@
 Emacs ICON   icons/emacs.ico
 32649 CURSOR icons/hand.cur
-#ifndef __CYGWIN__
-#ifdef WIN64
+#if defined (WIN64) || defined (__x86_64__)
 1 24 "emacs-x64.manifest"
 #else
 1 24 "emacs-x86.manifest"
 #endif
-#endif
 
 #ifndef VS_VERSION_INFO
 #define VS_VERSION_INFO 1
index 7618fb2..e2c925f 100644 (file)
@@ -1,3 +1,7 @@
+2014-04-09  Ken Brown  <kbrown@cornell.edu>
+
+       * Makefile.in (EMACS_MANIFEST): Revert last change.
+
 2014-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * lisp.h (struct Lisp_Symbol): New bitfield `pinned'.
index 7e71d03..3889235 100644 (file)
@@ -259,7 +259,7 @@ W32_LIBS=@W32_LIBS@
 
 ## emacs.res if HAVE_W32
 EMACSRES = @EMACSRES@
-## emacs-*.manifest if WINDOWSNT
+## emacs-*.manifest if HAVE_W32
 EMACS_MANIFEST = @EMACS_MANIFEST@
 ## If HAVE_W32, compiler arguments for including
 ## the resource file in the binary.