vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 152157b8d198b7da5708ebe21f5fe185a8237bbc parent 9de9671a4a23c7d6b62ec53ea7862f97ee91c44e Author: Marc André Tanner <mat@brain-dump.org> Date: Wed, 23 Mar 2016 09:32:02 +0100 configure: fix detection of libtermkey On Cygwin the configure check for libtermkey fails due to unresolved symbols from libcurses. The pkg-config file of libtermkey lacks a reference to its dependencies (either curses or unibilium). Since we depend on curses anyway we can fix this by adding $LDFLAGS_CURSES to the configure check. Diffstat:
| M | configure | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure @@ -296,7 +296,7 @@ if test -z "$LDFLAGS_TERMKEY"; then LDFLAGS_TERMKEY="-ltermkey" fi -if $CC $CFLAGS $CFLAGS_TERMKEY "$tmpc" $LDFLAGS $LDFLAGS_TERMKEY \ +if $CC $CFLAGS $CFLAGS_TERMKEY "$tmpc" $LDFLAGS $LDFLAGS_TERMKEY $LDFLAGS_CURSES \ -o "$tmpo" >/dev/null 2>&1; then printf "%s\n" "yes" else