From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25256 invoked by alias); 27 Apr 2015 17:26:49 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34978 Received: (qmail 16574 invoked from network); 27 Apr 2015 17:26:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Message-ID: <553E7155.1080000@heiko-becker.de> Date: Mon, 27 Apr 2015 19:26:45 +0200 From: Heiko Becker User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.1.18) Gecko/20081126 Lightning/0.9 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: zsh-workers@zsh.org Subject: Re: [PATCH] Use CC to determine if gcc is used References: <1430070511-9895-1-git-send-email-heirecka@exherbo.org> <20150427094742.27589aca@pwslap01u.europe.root.pri> <20150427100756.12c82959@pwslap01u.europe.root.pri> <20150427133033.GC1863@tarsus.local2> <20150427151130.022aed1d@pwslap01u.europe.root.pri> <553E65BB.6090501@heiko-becker.de> <20150427175042.51cbf6d3@pwslap01u.europe.root.pri> <553E6A65.7010809@heiko-becker.de> <20150427180909.52216530@pwslap01u.europe.root.pri> In-Reply-To: <20150427180909.52216530@pwslap01u.europe.root.pri> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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 &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