1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 17:10:59 +01: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

View file

@ -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;; \