mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-17 22:31:12 +01:00
Fixes for 13922.
This commit is contained in:
parent
5d0231e105
commit
a3a59f1f37
4 changed files with 11 additions and 12 deletions
|
@ -1,5 +1,12 @@
|
|||
2001-04-09 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* unposted: Src/modules/terminfo.c: Unset the terminfo parameter
|
||||
on autoload when terminfo is not available, to suppress a warning
|
||||
about autoload failure.
|
||||
|
||||
* 13931: Src/Modules/termcap.mdd, Src/Modules/terminfo.mdd: Fix
|
||||
`load' directives broken by 13922.
|
||||
|
||||
* 13922: Src/Modules/termcap.c, Src/Modules/termcap.mdd,
|
||||
Src/Modules/terminfo.c, Src/Modules/terminfo.mdd: Loading these
|
||||
modules should work even if the corresponding library is not
|
||||
|
|
|
@ -10,12 +10,7 @@ link='if test "x$ac_cv_func_tgetent" = xyes; then
|
|||
echo either;
|
||||
fi
|
||||
'
|
||||
load='if test "x$ac_cv_func_tgetent" = xyes; then
|
||||
echo yes;
|
||||
else
|
||||
echo no;
|
||||
fi
|
||||
'
|
||||
load=yes
|
||||
|
||||
autobins="echotc"
|
||||
|
||||
|
|
|
@ -215,6 +215,8 @@ boot_(Module m)
|
|||
|
||||
if (!createtihash())
|
||||
return 1;
|
||||
#else
|
||||
unsetparam(terminfo_nam);
|
||||
#endif
|
||||
return !addbuiltins(m->nam, bintab, sizeof(bintab)/sizeof(*bintab));
|
||||
}
|
||||
|
|
|
@ -10,12 +10,7 @@ link='if test "x$ac_cv_func_tigetstr" = xyes; then
|
|||
echo either;
|
||||
fi
|
||||
'
|
||||
load='if test "x$ac_cv_func_tigetstr" = xyes; then
|
||||
echo yes;
|
||||
else
|
||||
echo no;
|
||||
fi
|
||||
'
|
||||
load=yes
|
||||
|
||||
autobins="echoti"
|
||||
autoparams="terminfo"
|
||||
|
|
Loading…
Reference in a new issue