Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

non-dynamic compilation



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



Messages sorted by: Reverse Date, Date, Thread, Author