SwordArMor-gentoo-overlay/net-analyzer/net-snmp/files/net-snmp-5.8-tinfo.patch

11 lines
340 B
Diff
Raw Normal View History

--- a/configure.d/config_os_libs2
+++ b/configure.d/config_os_libs2
@@ -611,6 +611,7 @@
AC_CHECK_HEADERS([curses.h])
AC_CHECK_HEADERS([ncurses/curses.h])
NETSNMP_SEARCH_LIBS([endwin], [curses ncurses],,,,[LIBCURSES])
+NETSNMP_SEARCH_LIBS([cbreak], [tinfo],[LIBCURSES="$LIBCURSES -ltinfo"],,,)
AC_SUBST([LIBCURSES])
# libm for ceil