From: "Matt Armstrong" <mattarmst@hotmail.com>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH zsh-3.1.5-pws-7: cygwin make fixes
Date: Sun, 07 Feb 1999 22:49:49 PST [thread overview]
Message-ID: <19990208064949.11460.qmail@hotmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2013 bytes --]
There are two problems with the make system in zsh-3.1.5-pws-7 (and
surely previous versions) when running under cygwin.
1) The makefiles assume they are creating "zsh" and not "zsh.exe." Not
a problem unless you do a "make install" under cygwin.
2) The Src/signames.awk gets confused by cygwin's sys/signals.h since it
defines signal names for multiple platforms (many of which #define all
the signal names to 1).
I fixed #1 by adding AC_EXEEXT to configure.in and using the
corresponding $(EXEEXT) variable where needed in the other makefiles.
WARNING: I imagine you need a fairly recent autoconf to get the
AC_EXEEXT (I tested with version 2.13). You can get it at
http://sourceware.cygnus.com/autoconf/.
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.
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?
My fix for #2, I think, is a good thing. ;-) I'd do the same thing for
the RLIMIT stuff if cygwin had RLIMIT stuff.
The patch for both is attached (they intertwine).
Please let me know if sending patches as MIME attachments is an
inconvenience (though, pasting a patch file into this little hotmail
edit window may ruin it).
The patch file is generated with cvs rdiff. If you apply it with
'patch', do it as "patch -p1 -E < zsh-patch.txt" in the root of your zsh
tree. "-p1" (p-one, not "el") will strip off the leading "zsh" path
component that cvs rdiff likes to add. "-E" will delete
Src/signames.awk instead of leaving it as a zero length file.
REMEMBER: Src/mksignames.c is a new file, Src/signames.awk gets deleted.
Testing: You might check that "kill -l" prints the same thing before and
after this patch.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
next reply other threads:[~1999-02-08 6:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-08 6:49 Matt Armstrong [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-02-08 17:19 Matt Armstrong
1999-02-08 17:12 Matt Armstrong
1999-02-08 6:49 Matt Armstrong
1999-02-08 7:26 ` Bart Schaefer
1999-02-08 9:55 ` Peter Stephenson
1999-02-08 10:29 ` Peter Stephenson
1999-02-08 16:54 ` Bart Schaefer
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=19990208064949.11460.qmail@hotmail.com \
--to=mattarmst@hotmail.com \
--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).