summary refs log tree commit diff
path: root/Src/Modules/termcap.mdd
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules/termcap.mdd')
-rw-r--r--Src/Modules/termcap.mdd12
1 files changed, 11 insertions, 1 deletions
diff --git a/Src/Modules/termcap.mdd b/Src/Modules/termcap.mdd
index 5f88a9662..89f939ff8 100644
--- a/Src/Modules/termcap.mdd
+++ b/Src/Modules/termcap.mdd
@@ -1,5 +1,15 @@
 name=zsh/termcap
-link=either
+
+link='if test "x$ac_cv_func_tgetent" = xyes; then
+          if test "x$zsh_cv_shared_tgetent" = xyes; then
+	      echo either
+	  else
+	      echo static
+	  fi
+      else
+          echo no;
+      fi
+'
 load=yes
 
 autobins="echotc"