diff options
| author | Eli Zaretskii | 2011-02-02 18:35:05 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2011-02-02 18:35:05 +0200 |
| commit | 1cb274e286c7b69ce5d1fa799396379905dd69e7 (patch) | |
| tree | 381bf4e3f9fff5a2e895952a8e046670149d34d8 | |
| parent | 9714fa67770e0619902d7be685fc45cec07c1e0a (diff) | |
| download | emacs-1cb274e286c7b69ce5d1fa799396379905dd69e7.tar.gz emacs-1cb274e286c7b69ce5d1fa799396379905dd69e7.zip | |
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\""''.
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2011-02-02 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add | ||
| 4 | ``-DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\""''. | ||
| 5 | |||
| 1 | 2011-01-28 Chong Yidong <cyd@stupidchicken.com> | 6 | 2011-01-28 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * ntlib.c (setregid): New stub, renamed from setegid. | 8 | * 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 | |||
| 114 | $(CC) $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \ | 114 | $(CC) $(CFLAGS) -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \ |
| 115 | ../src/regex.c $(CC_OUT)$@ | 115 | ../src/regex.c $(CC_OUT)$@ |
| 116 | 116 | ||
| 117 | ETAGS_CFLAGS = -DHAVE_GETCWD | 117 | ETAGS_CFLAGS = -DHAVE_GETCWD -DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\"" |
| 118 | $(BLD)/etags.$(O): etags.c | 118 | $(BLD)/etags.$(O): etags.c |
| 119 | $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c | 119 | $(CC) $(CFLAGS) $(ETAGS_CFLAGS) $(CC_OUT)$@ etags.c |
| 120 | 120 | ||
| @@ -131,7 +131,7 @@ ctags.c: etags.c | |||
| 131 | - $(DEL) ctags.c | 131 | - $(DEL) ctags.c |
| 132 | $(CP) etags.c ctags.c | 132 | $(CP) etags.c ctags.c |
| 133 | 133 | ||
| 134 | CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS) | 134 | CTAGS_CFLAGS = -DCTAGS $(ETAGS_CFLAGS) -DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\"" |
| 135 | $(BLD)/ctags.$(O): ctags.c | 135 | $(BLD)/ctags.$(O): ctags.c |
| 136 | $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c | 136 | $(CC) $(CFLAGS) $(CTAGS_CFLAGS) $(CC_OUT)$@ ctags.c |
| 137 | 137 | ||