mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
[build] Fix "Link with ncurses during test"
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
310ae5d44e
commit
b0710a0c03
1 changed files with 3 additions and 1 deletions
|
@ -160,7 +160,9 @@ 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"])], -lncurses)
|
||||
AC_CHECK_LIB(readline, readline,
|
||||
[AC_SUBST([readline_LIBS], ["-lreadline -lncurses"])],
|
||||
[AC_MSG_FAILURE([awesome needs readline])], -lncurses)
|
||||
|
||||
# Checks for header files.
|
||||
AC_PATH_X
|
||||
|
|
Loading…
Reference in a new issue