From: Eli Zaretskii Date: Wed, 2 Feb 2011 16:35:05 +0000 (+0200) Subject: Make "etags --version" on Windows produce the same as on Posix platforms. X-Git-Tag: emacs-pretest-23.2.94~27 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1cb274e286c7b69ce5d1fa799396379905dd69e7;p=emacs.git Make "etags --version" on Windows produce the same as on Posix platforms. makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add ``-DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\""''. --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index e03ac55bfea..58c37c493ae 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,8 @@ +2011-02-02 Eli Zaretskii + + * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add + ``-DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\""''. + 2011-01-28 Chong Yidong * ntlib.c (setregid): New stub, renamed from setegid. diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index a642c3f4e0c..c7d58b9780c 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in @@ -114,7 +114,7 @@ $(BLD)/regex.$(O): ../src/regex.c ../src/regex.h ../src/config.h $(CC) $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \ ../src/regex.c $(CC_OUT)$@ -ETAGS_CFLAGS = -DHAVE_GETCWD +ETAGS_CFLAGS = -DHAVE_GETCWD -DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\"" $(BLD)/etags.$(O): etags.c $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c @@ -131,7 +131,7 @@ ctags.c: etags.c - $(DEL) ctags.c $(CP) etags.c ctags.c -CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS) +CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS) -DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\"" $(BLD)/ctags.$(O): ctags.c $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c