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/zsh.mdd | |
| parent | 34966: "whence -v" for a function reports whether the function is autoloaded ... (diff) | |
| download | zsh-9f9a16f43c5c66d3a764ef2abaacca6a3d91f89c.tar zsh-9f9a16f43c5c66d3a764ef2abaacca6a3d91f89c.tar.gz zsh-9f9a16f43c5c66d3a764ef2abaacca6a3d91f89c.tar.bz2 zsh-9f9a16f43c5c66d3a764ef2abaacca6a3d91f89c.tar.lz zsh-9f9a16f43c5c66d3a764ef2abaacca6a3d91f89c.tar.xz zsh-9f9a16f43c5c66d3a764ef2abaacca6a3d91f89c.tar.zst zsh-9f9a16f43c5c66d3a764ef2abaacca6a3d91f89c.zip | |
34977: more reliable test if preprocessor is GNU
Diffstat (limited to 'Src/zsh.mdd')
| -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;; \ |
