From: Zefram <zefram@dcs.warwick.ac.uk>
To: zsh-workers@math.gatech.edu
Subject: non-dynamic compilation
Date: Thu, 20 Mar 1997 16:24:57 GMT [thread overview]
Message-ID: <299.199703201624@stone.dcs.warwick.ac.uk> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
This patch makes compilation of non-dynamic zsh work even if the zle
module is not being statically linked in. The correct conditionals
already exist in the main code, but some of the automatically generated
files don't look at DYNAMIC where they should.
-zefram
*** Src/Makefile.in 1997/03/19 15:47:00 1.36
--- Src/Makefile.in 1997/03/20 13:48:54
***************
*** 230,237 ****
for mod in $$xmods; do \
case $$binmods in \
*" $$mod "*) \
! echo "#define LINKED_XMOD_$$mod 1" ;; \
! *) echo "#define UNLINKED_XMOD_$$mod 1" ;; \
esac; \
done; \
echo; \
--- 230,239 ----
for mod in $$xmods; do \
case $$binmods in \
*" $$mod "*) \
! echo "#define LINKED_XMOD_$$mod 1" ;; \
! *) echo "#ifdef DYNAMIC"; \
! echo "# define UNLINKED_XMOD_$$mod 1"; \
! echo "#endif" ;; \
esac; \
done; \
echo; \
*** Src/mkbltnmlst.sh 1997/01/29 03:25:19 1.5
--- Src/mkbltnmlst.sh 1997/03/20 13:41:28
***************
*** 18,23 ****
--- 18,24 ----
xmods=`sed -n $CFSED -e "$sed" $XMODCF`
trap "rm -f $1; exit 1" 1 2 15
exec > $1
+ echo "#ifdef DYNAMIC"
for mod in $xmods; do
case $binmods in
*" $mod "*) ;;
***************
*** 44,49 ****
--- 45,51 ----
done ;;
esac
done
+ echo "#endif /* DYNAMIC */"
echo
donemods=" "
for mod in $binmods; do
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: ascii
iQCVAwUBMzFCZXD/+HJTpU/hAQGbEQP/WeR5/3dAofPKIjA8xv8eHnwsXOeUzc7k
r5qrYzQNwAbck9K7LtaYA36UV86JveTwae7Kq9rAiXLyBaiVEmmKVE0/lr9AkbTk
5JIng5OPBRAkOSfmzdPQqHfANf1N49LvZDIeeCcX1p/RqEscOI2qHlIlpSQCU0c8
BXSgglfGRM8=
=Q3UH
-----END PGP SIGNATURE-----
reply other threads:[~1997-03-20 16:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=299.199703201624@stone.dcs.warwick.ac.uk \
--to=zefram@dcs.warwick.ac.uk \
--cc=zsh-workers@math.gatech.edu \
/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).