Commit 1cb274e2 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

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\""''.
parent 9714fa67
2011-02-02 Eli Zaretskii <eliz@gnu.org>
* makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add
``-DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\""''.
2011-01-28 Chong Yidong <cyd@stupidchicken.com>
* ntlib.c (setregid): New stub, renamed from setegid.
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment