--- wulfware-2.6.0/configure.ac +++ wulfware-2.6.0/configure.ac @@ -61,6 +61,8 @@ # Checks for libraries. # FIXME: Replace `main' with a function in `-lcurses': +AC_CHECK_LIB([tinfo], [main], TINFO_LIBS=-ltinfo, TINFO_LIBS=) +AC_SUBST(TINFO_LIBS) AC_CHECK_LIB([curses], [main]) # FIXME: Replace `main' with a function in `-lm': AC_CHECK_LIB([m], [main]) --- wulfware-2.6.0/wulfstat/Makefile.am +++ wulfware-2.6.0/wulfstat/Makefile.am @@ -63,7 +63,7 @@ LDFLAGS = # Libraries -LIBS = -L ../libwulf -lwulf -lpthread -lcurses -lxml2 -lm +LIBS = -L ../libwulf -lwulf -lpthread -lcurses $(TINFO_LIBS) -lxml2 -lm #======================================================================== # List of variants one can make. all is the default. We always