1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 23:11:20 +02:00

34977: more reliable test if preprocessor is GNU

This commit is contained in:
Peter Stephenson 2015-04-28 09:20:15 +01:00
parent a9c8b6a076
commit 9f9a16f43c
2 changed files with 7 additions and 2 deletions

@ -1,3 +1,8 @@
2015-04-28 Peter Stephenson <p.stephenson@samsung.com>
* 34977: Src/zsh.mdd: more reliable test for whether
preprocessor is GNU.
2015-04-25 Barton E. Schaefer <schaefer@zsh.org>
* 34966: Src/hashtable.c: "whence -v" for a function reports

@ -28,8 +28,8 @@ hdrdeps="zshcurses.h zshterm.h"
# on the option to remove them being the same.
signames.c: signames1.awk signames2.awk ../config.h @SIGNAL_H@
$(AWK) -f $(sdir)/signames1.awk @SIGNAL_H@ >sigtmp.c
case "$(CPP)" in \
gcc*) \
case "`$(CPP) --version </dev/null 2>&1`" in \
*"Free Software Foundation"*) \
$(CPP) -P sigtmp.c >sigtmp.out;; \
*) \
$(CPP) sigtmp.c >sigtmp.out;; \