From 1cb274e286c7b69ce5d1fa799396379905dd69e7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 2 Feb 2011 18:35:05 +0200 Subject: [PATCH] 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\""''. --- lib-src/ChangeLog | 5 +++++ lib-src/makefile.w32-in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.39.2