From ebb0df619e06fef22608c9d4e5b4a7e0f7c8b44d Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Sat, 14 Nov 2015 14:27:50 -0800 Subject: configure: Check for libtinfo.so While usually distributed with ncurses, some distributions distribute this library separately. Check to make sure it is installed. This closes #241 Signed-off-by: Bryan Hundven diff --git a/configure.ac b/configure.ac index b922482..9c8c098 100644 --- a/configure.ac +++ b/configure.ac @@ -339,6 +339,15 @@ LIBS=$SAVE_LIBS AC_SUBST([INTL_LIBS]) #---------------------------------------- +# Check for tinfo, for the kconfig frontends +AC_SEARCH_LIBS( + [tigetnum], + [tinfo], + [ac_ct_tinfo_lib_found=yes; break]) +AS_IF( + [test -z "$ac_ct_tinfo_lib_found"], + [AC_MSG_ERROR([could not find tinfo library, required for the kconfig frontends])]) + # Check for ncurses, for the kconfig frontends AC_SUBST([ac_ct_curses_hdr]) AC_CHECK_HEADERS( -- cgit v0.10.2-6-g49f6