From 1372bdc8cc6020460fa44a032579225699c85a4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 23 Mar 2016 09:32:02 +0100 Subject: 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. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index f2ea3d4..2c30e5c 100755 --- 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 -- cgit v1.2.3