summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-04-09 17:26:57 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-04-09 17:26:57 +0000
commita3a59f1f3779440a0e7a8736122b4aca41e4909a (patch)
treed30faba1d17e5e7c0b7f3c7a3a31b47daa636dcf /Src/Modules
parent5d0231e10545a1b5039807095b966cb14b169f3d (diff)
downloadzsh-a3a59f1f3779440a0e7a8736122b4aca41e4909a.tar.gz
zsh-a3a59f1f3779440a0e7a8736122b4aca41e4909a.tar.xz
zsh-a3a59f1f3779440a0e7a8736122b4aca41e4909a.zip
Fixes for 13922.
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/termcap.mdd7
-rw-r--r--Src/Modules/terminfo.c2
-rw-r--r--Src/Modules/terminfo.mdd7
3 files changed, 4 insertions, 12 deletions
diff --git a/Src/Modules/termcap.mdd b/Src/Modules/termcap.mdd
index 9a6ddd08e..17d07aa03 100644
--- a/Src/Modules/termcap.mdd
+++ b/Src/Modules/termcap.mdd
@@ -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"
 
diff --git a/Src/Modules/terminfo.c b/Src/Modules/terminfo.c
index 0cac6e530..fd21a3de3 100644
--- a/Src/Modules/terminfo.c
+++ b/Src/Modules/terminfo.c
@@ -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));
 }
diff --git a/Src/Modules/terminfo.mdd b/Src/Modules/terminfo.mdd
index 580aa2893..da79e9768 100644
--- a/Src/Modules/terminfo.mdd
+++ b/Src/Modules/terminfo.mdd
@@ -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"