* configure.ac [HAVE_W32]: Generate nt/*.rc files when HAVE_W32.

This commit is contained in:
Glenn Morris 2014-11-24 09:07:45 -08:00
parent f9bff82aa4
commit 409e4c82dc
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2014-11-24 Glenn Morris <rgm@gnu.org>
* configure.ac [HAVE_W32]: Generate nt/*.rc files when HAVE_W32,
not just when using mingw32.
2014-11-22 Glenn Morris <rgm@gnu.org>
Further reduce number of versioned files storing Emacs version number.

View file

@ -4679,7 +4679,10 @@ AH_TEMPLATE(config_opsysfile, [Some platforms that do not use configure
case $opsys in
mingw32)
AC_DEFINE(config_opsysfile, <ms-w32.h>, [])
;;
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/'`
@ -4688,8 +4691,8 @@ case $opsys in
AC_SUBST(comma_version)
AC_SUBST(comma_space_version)
AC_CONFIG_FILES([nt/emacs.rc nt/emacsclient.rc])
;;
esac
fi
XMENU_OBJ=
XOBJ=