]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.ac: Relocate some recent changes to a more logical location.
authorGlenn Morris <rgm@gnu.org>
Mon, 24 Nov 2014 18:40:02 +0000 (13:40 -0500)
committerGlenn Morris <rgm@gnu.org>
Mon, 24 Nov 2014 18:40:02 +0000 (13:40 -0500)
configure.ac

index 1c7ec54ec1780309f8941dfd08f8893811edff8d..0f1508f3a94d8ecc4bd878eba76fcf93fa03641a 100644 (file)
@@ -1885,6 +1885,13 @@ if test "${HAVE_W32}" = "yes"; then
     x86_64-*-*) EMACS_MANIFEST="emacs-x64.manifest" ;;
     *) EMACS_MANIFEST="emacs-x86.manifest" ;;
   esac
+  dnl Construct something of the form "24,4,0,0" with 4 components.
+  comma_version=`echo "$version.0.0" | sed -e 's/\./,/g' -e 's/^\([[^,]]*,[[^,]]*,[[^,]]*,[[^,]]*\).*/\1/'`
+
+  comma_space_version=`echo "$comma_version" | sed 's/,/, /g'`
+  AC_SUBST(comma_version)
+  AC_SUBST(comma_space_version)
+  AC_CONFIG_FILES([nt/emacs.rc nt/emacsclient.rc])
   if test "${opsys}" = "cygwin"; then
     W32_LIBS="$W32_LIBS -lkernel32 -luser32 -lgdi32 -lole32 -lcomdlg32"
     W32_LIBS="$W32_LIBS -lusp10 -lcomctl32 -lwinspool"
@@ -4682,18 +4689,6 @@ case $opsys in
     ;;
 esac
 
-if test "${HAVE_W32}" = "yes"; then
-    dnl Construct something of the form "24,4,0,0" with 4 components.
-    comma_version=`echo "$version.0.0" | sed -e 's/\./,/g' -e 's/^\([[^,]]*,[[^,]]*,[[^,]]*,[[^,]]*\).*/\1/'`
-
-    comma_space_version=`echo "$comma_version" | sed 's/,/, /g'`
-
-    AC_SUBST(comma_version)
-    AC_SUBST(comma_space_version)
-    AC_CONFIG_FILES([nt/emacs.rc nt/emacsclient.rc])
-fi
-
-
 XMENU_OBJ=
 XOBJ=
 FONT_OBJ=