]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
build: remove unnecessary libintl.h check
authorSteven Barth <cyrus@openwrt.org>
Fri, 10 Oct 2014 11:01:41 +0000 (13:01 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 10 Oct 2014 11:35:34 +0000 (13:35 +0200)
configure.ac checks for libintl.h which is not used and
may cause unnecessary trouble with e.g. embedded toolchains.

The only reference to libintl.h can be found in parser.c
as generated by bison however an include does not happen
as parser.h defines YYENABLE_NLS to be 0.

Signed-off-by: Steven Barth <cyrus@openwrt.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
configure.ac

index ea13cf8c88d32305d77f696635825ea835d7822a..4aa14e3271460b991d54f1989dc4309c46ddcd0d 100644 (file)
@@ -83,7 +83,7 @@ AC_SUBST(with_cli)
 # Checks for header files.
 AC_HEADER_STDC
 AC_HEADER_ASSERT
-AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h libintl.h limits.h malloc.h \
+AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h malloc.h \
                  netdb.h netinet/in.h netinet/ip.h netinet/ip6.h \
                  netinet/tcp.h netinet/udp.h netinet/ip_icmp.h \
                  stddef.h stdint.h stdlib.h string.h unistd.h], ,