> > You could force it to be statically linked by changing the `link' line to > test for cygwin in termcap.mdd. See existing `link=' in terminfo.mdd for > how this works. You can make this depend on a configure test for whether > termcap is static. > This implements the latter. On two systems with static termcap/terminfo both are now compiled into main executable. I do not have any system with shared term library. I could try using ncurses on Cygwin, but zsh unconditionally includes termcap.h and it is incompatible with ncurses. Please, check with shared termcap if both modules are still built as shared :) I am fairly sure that check in current form does not work correctly on Cygwin (due to stab libraries). -andrej