[build] Link with ncurses during test

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Michael Gehring 2008-05-29 17:43:30 +02:00 committed by Julien Danjou
parent 177d270e31
commit 310ae5d44e
1 changed files with 1 additions and 1 deletions

View File

@ -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