Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Use CC to determine if gcc is used
On 04/27/15 19:09, Peter Stephenson wrote:
> Simply removing the line markers won't work, then. But from what I'm
> seeing, the following probably ought to...
>
> diff --git a/Src/zsh.mdd b/Src/zsh.mdd
> index 71dd613..c2e59c9 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;; \
That works fine for my setup and fixes the problem. Thank you!
--
Best regards,
Heiko
Messages sorted by:
Reverse Date,
Date,
Thread,
Author