From 310ae5d44e2bcff20c9c417b17acead15d821a8f Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 29 May 2008 17:43:30 +0200 Subject: [PATCH] [build] Link with ncurses during test Signed-off-by: Julien Danjou --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b577a972..b46a0810 100644 --- a/configure.ac +++ b/configure.ac @@ -160,7 +160,7 @@ PKG_CHECK_MODULES([xcb_icccm], [xcb-icccm],, PKG_CHECK_MODULES([cairo_xcb], [cairo-xcb],, [AC_MSG_ERROR([awesome requires cairo-xcb.])]) AC_CHECK_LIB(pthread, pthread_create) -AC_CHECK_LIB(readline, readline, [AC_SUBST([readline_LIBS], ["-lreadline -lncurses"])]) +AC_CHECK_LIB(readline, readline, [AC_SUBST([readline_LIBS], ["-lreadline -lncurses"])], -lncurses) # Checks for header files. AC_PATH_X