mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-27 17:18:33 +00:00
Check for ncurses correctly.
This commit is contained in:
parent
f6aac5981e
commit
9a0402341b
@ -136,6 +136,7 @@ AM_CONDITIONAL(BUILD_NCURSES, test x$want_ncurses = xyes)
|
|||||||
if test x$want_ncurses = xyes; then
|
if test x$want_ncurses = xyes; then
|
||||||
conky_LIBS="$conky_LIBS -lncurses"
|
conky_LIBS="$conky_LIBS -lncurses"
|
||||||
AC_DEFINE(NCURSES, 1, [Define for ncurses support])
|
AC_DEFINE(NCURSES, 1, [Define for ncurses support])
|
||||||
|
AC_CHECK_HEADERS([ncurses.h], [], AC_MSG_ERROR([required header(s) not found]))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user