about summary refs log tree commit diff
path: root/Src/Modules/termcap.mdd
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2001-02-13 14:35:07 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2001-02-13 14:35:07 +0000
commitfa6bab3083577cdca9f8f45a686e9b118e050ffa (patch)
tree50b7b76bcff19dfd3945a65a1c568b6c028b57bb /Src/Modules/termcap.mdd
parent326d6825104fbaedf569e169b04043c29bc3d845 (diff)
downloadzsh-fa6bab3083577cdca9f8f45a686e9b118e050ffa.tar.gz
zsh-fa6bab3083577cdca9f8f45a686e9b118e050ffa.tar.xz
zsh-fa6bab3083577cdca9f8f45a686e9b118e050ffa.zip
13431: better check for shared libraries.
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"