zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH zsh-3.1.5-pws-7: cygwin make fixes
Date: Mon, 08 Feb 1999 10:55:30 +0100	[thread overview]
Message-ID: <9902080955.AA34221@ibmth.df.unipi.it> (raw)
In-Reply-To: ""Bart Schaefer""'s message of "Sun, 07 Feb 1999 23:26:42 NFT." <990207232642.ZM10052@candle.brasslantern.com>

"Bart Schaefer" wrote:
> On Feb 7, 10:49pm, Matt Armstrong wrote:
> } Subject: PATCH zsh-3.1.5-pws-7: cygwin make fixes
> }
> } I fixed #2 by re-doing the way signames.c is created.  Instead of a AWK 
> } script that gets run on a signal.h file, a C program is compiled and 
> } run.  This gets it right even if the signal.h file is hard to parse.
> 
> I haven't examined the patch in detail to check this, but did you make
> sure that the compilation of this program is performed in such a way that
> it executes correctly on the current hardware even when cross-compiling
> for another architecture?

The trouble is mksignames actually has to run on the target
architecture to generate the appropriate signal names.  I don't know
if there's any way of doing that at all with autoconf.  Any more
ideas?  We could maybe make it conditional on not cross-compiling,
since it does solve the #include problem fairly neatly.

> } My fix for #1 may be controversial because it may break for people who 
> } need to keep using an older autoconf.  Is upgrading a problem?
> 
> It'd be better if it weren't necessary.  Copy it into aczsh.m4 and give
> it a different name, e.g zsh_EXEEXT ?

In principle this shouldn't be a problem, except that autoconf 2.13
doesn't seemed to have appeared on any mirror yet.  Even then I would
hope $(ZSH_EXEEXT) would just be empty for anyone who needed to run a
previous autoconf (which is supposed just people adding new patches to
the configuration behaviour), which wouldn't be so bad.  However, the
patch won't be in pws-8 because of the cross-compilation problem.
(Does anyone know this actually works at the moment?)

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


  reply	other threads:[~1999-02-08  9:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-08  6:49 Matt Armstrong
1999-02-08  7:26 ` Bart Schaefer
1999-02-08  9:55   ` Peter Stephenson [this message]
1999-02-08 10:29     ` Peter Stephenson
1999-02-08 16:54       ` Bart Schaefer
1999-02-08 17:40         ` PATCH: zsh-3.1.5-pws-7: another go at signames Peter Stephenson
1999-02-08  6:49 PATCH zsh-3.1.5-pws-7: cygwin make fixes Matt Armstrong
1999-02-08 17:12 Matt Armstrong
1999-02-08 17:19 Matt Armstrong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9902080955.AA34221@ibmth.df.unipi.it \
    --to=pws@ibmth.df.unipi.it \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).