aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-03-23 09:32:02 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-03-23 09:32:02 +0100
commit1372bdc8cc6020460fa44a032579225699c85a4c (patch)
tree3910a25fb0d799b6ea893dc95919e369f8c67283 /configure
parentc124e8152a183ef13c20b82be80e0c2755d8b25c (diff)
downloadvis-1372bdc8cc6020460fa44a032579225699c85a4c.tar.gz
vis-1372bdc8cc6020460fa44a032579225699c85a4c.tar.xz
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 (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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