diff options
author | Peter Stephenson <pws@zsh.org> | 2015-04-28 09:20:15 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-04-28 09:20:15 +0100 |
commit | 9f9a16f43c5c66d3a764ef2abaacca6a3d91f89c (patch) | |
tree | 28cd3b0a581ce124b282e27aafd9839d4d5edd98 /Src | |
parent | a9c8b6a076767fa23fd6c779e6c6a95045010f55 (diff) | |
download | zsh-9f9a16f43c5c66d3a764ef2abaacca6a3d91f89c.tar.gz zsh-9f9a16f43c5c66d3a764ef2abaacca6a3d91f89c.tar.xz zsh-9f9a16f43c5c66d3a764ef2abaacca6a3d91f89c.zip |
34977: more reliable test if preprocessor is GNU
Diffstat (limited to 'Src')
-rw-r--r-- | Src/zsh.mdd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/zsh.mdd b/Src/zsh.mdd index 71dd61374..c2e59c910 100644 --- a/Src/zsh.mdd +++ b/Src/zsh.mdd @@ -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;; \ |