-- a/configure.ac
++ b/configure.ac
AC_SUBST(LOSC_CFLAGS)
dnl curses
AC_CHECK_LIB(ncurses,initscr,have_ncurses=yes,[AC_MSG_WARN([******** you don't have the ncurses library correctly installed])])
PKG_CHECK_MODULES([NCURSES], [ncurses],[have_ncurses=yes],
AC_CHECK_LIB(ncurses,initscr,[have_ncurses=yes; NCURSES_LIBS=-lncurses],[AC_MSG_WARN([******** you don't have the ncurses library correctly installed])]))
NCURSES_LIBS=-lncurses
AC_SUBST(NCURSES_LIBS)
dnl sigc++