1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 04:30:27 +01:00

14039: simulate old linking behavior

This commit is contained in:
Clint Adams 2001-04-19 17:00:52 +00:00
parent a43aa761cd
commit 28fe9e6027
7 changed files with 18 additions and 11 deletions

View file

@ -1,5 +1,10 @@
2001-04-19 Clint Adams <schizo@debian.org>
* 14039: configure.in, Config/defs.mk.in, Src/zsh.mdd,
Src/Modules/cap.mdd, Src/Modules/termcap.mdd,
Src/Modules/terminfo.mdd, Src/Modules/zftp.mdd:
simulate old linking behavior.
* 14033: acconfig.h, aczsh.m4, configure.in, Config/defs.mk.in,
Src/Makefile.in, Src/mkmakemod.sh, Src/zsh.mdd,
Src/Modules/cap.mdd, Src/Modules/termcap.mdd,

View file

@ -6,4 +6,4 @@ autobins="cap getcap setcap"
objects="cap.o"
extralibs="cap"
#extralibs="cap"

View file

@ -16,4 +16,4 @@ autobins="echotc"
objects="termcap.o"
extralibs="termcap"
#extralibs="termcap"

View file

@ -17,4 +17,4 @@ autoparams="terminfo"
objects="terminfo.o"
extralibs="terminfo"
#extralibs="terminfo"

View file

@ -6,3 +6,5 @@ functions='Functions/Zftp/*'
autobins="zftp"
objects="zftp.o"
#extralibs="socket"

View file

@ -17,7 +17,7 @@ signames.o string.o subst.o text.o utils.o watch.o"
headers="../config.h system.h zsh.h sigcount.h signals.h \
prototypes.h hashtable.h ztype.h"
extralibs="m termcap yp"
#extralibs="m termcap yp"
:<<\Make
@CONFIG_MK@

View file

@ -898,7 +898,7 @@ if test $zsh_cv_func_tgetent_accepts_null = yes; then
AC_DEFINE(TGETENT_ACCEPTS_NULL)
fi
LIBS=$SAVELIBS
LIBS="$LIBS_CAP $LIBS_SOCKET $LIBS_M $LIBS_TERMCAP $LIBS_TERMINFO $LIBS_YP $SAVELIBS"
AC_FUNC_MMAP
if test x$ac_cv_func_mmap_fixed_mapped = xyes; then
@ -1688,16 +1688,16 @@ if test "x$dynamic" = xyes; then
test "$zsh_cv_shared_environ" = yes || dynamic=no
dnl test "$zsh_cv_sys_dynamic_broken" = no || dynamic=no
if test "$ac_cv_func_tgetent" = yes; then
SAVELIBS=$LIBS
LIBS="$LIBS_TERMCAP $LIBS"
# SAVELIBS=$LIBS
# LIBS="$LIBS_TERMCAP $LIBS"
zsh_SHARED_FUNCTION([tgetent])
LIBS=$SAVELIBS
# LIBS=$SAVELIBS
fi
if test "$ac_cv_func_tigetstr" = yes; then
SAVELIBS=$LIBS
LIBS="$LIBS_TERMINFO $LIBS"
# SAVELIBS=$LIBS
# LIBS="$LIBS_TERMINFO $LIBS"
zsh_SHARED_FUNCTION([tigetstr])
LIBS=$SAVELIBS
# LIBS=$SAVELIBS
fi
fi