mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-17 23:48:20 +00:00
Also, add -std=gnu89. I started fixing remaining issues after the ones already fixed in the last release + git but there's way too many others. Closes: https://bugs.gentoo.org/861236 Closes: https://bugs.gentoo.org/877295 Cloess: https://bugs.gentoo.org/919192 Signed-off-by: Sam James <sam@gentoo.org>
12 lines
591 B
Diff
12 lines
591 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -16,7 +16,8 @@ AC_PROG_CC
|
|
# not use it because src/sn_config.h does not define INCLUDE_INTERFACE because
|
|
# other conditions are not met. It would be better to move that logic entirely
|
|
# to Autoconf and to define (or not) INCLUDE_INTERFACE only here.
|
|
-AC_CHECK_LIB(ncurses, initscr)
|
|
+AC_CHECK_LIB(ncurses, initscr, , [AC_MSG_ERROR([Couldn't find libncurses])])
|
|
+AC_SEARCH_LIBS(keypad, tinfo, , [AC_MSG_ERROR([Couldn't find libncurses])])
|
|
AC_CHECK_LIB(pcap, pcap_open_live, , [AC_MSG_ERROR([Couldn't find libpcap])])
|
|
|
|
# Checks for header files.
|