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:
parent
a9c8b6a076
commit
9f9a16f43c
2 changed files with 7 additions and 2 deletions
|
|
@ -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;; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue