3 @@ -3,7 +3,6 @@ PROGRAMS += nft
4 nft-destdir := @sbindir@
13 @@ -335,7 +335,7 @@ int main(int argc, char * const *argv)
14 if (scanner_read_file(scanner, filename, &internal_location) < 0)
16 } else if (interactive) {
18 + fprintf(stderr, "%s: interactive mode not supported\n", argv[0]);
21 fprintf(stderr, "%s: no command specified\n", argv[0]);
24 @@ -71,13 +71,11 @@ AC_CHECK_LIB([nftnl], [nft_rule_alloc],
25 AC_CHECK_LIB([gmp], [__gmpz_init], ,
26 AC_MSG_ERROR([No suitable version of libgmp found]))
28 -AC_CHECK_LIB([readline], [readline], ,
29 - AC_MSG_ERROR([No suitable version of libreadline found]))
31 # Checks for header files.
34 -AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h libintl.h limits.h malloc.h \
35 +AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h malloc.h \
36 netdb.h netinet/in.h netinet/ip.h netinet/ip6.h \
37 netinet/tcp.h netinet/udp.h netinet/ip_icmp.h \
38 stddef.h stdint.h stdlib.h string.h unistd.h], ,