From 90f9ec2fa02dd5220392770e537759e099b447e3 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 31 Mar 2015 21:11:10 +0000 Subject: [PATCH] build: Fix curses detection. We need to append to the $curses_ldflags variable rather than overwriting it. Without this fix, --with-curses-libs is effectively ignored. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ec9e87de..8095d33a 100644 --- a/configure.ac +++ b/configure.ac @@ -208,7 +208,7 @@ LIB_ARG_WITH([curses], []) HAVE_CURSES=yes AC_CHECK_HEADER(curses.h, [], [HAVE_CURSES=no]) AC_SEARCH_LIBS([initscr], [ncursesw curses], [], [HAVE_CURSES=no]) -curses_ldflags="$LIBS" +curses_ldflags="$curses_ldflags $LIBS" LIB_SUBST_FLAGS(curses) UNSTASH_FLAGS ########################################################################### ip_mreqn -- 2.39.5