zsh-workers
 help / color / mirror / code / Atom feed
* non-dynamic compilation
@ 1997-03-20 16:24 Zefram
  0 siblings, 0 replies; only message in thread
From: Zefram @ 1997-03-20 16:24 UTC (permalink / raw)
  To: zsh-workers

-----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-----


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-03-20 16:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-20 16:24 non-dynamic compilation Zefram

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).