Skip to contentSkip to conversation

build: remove unnecessary libintl.h check

PATCH Applied Steven Barth 2 participants 2 messages Oct 10, 2014 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: remove unnecessary libintl.h check

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.

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
index ea13cf8..4aa14e3 100644
@@ -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], ,
Signature · 1 line
2.1.1
maintainer Applied
#1 lore raw
Quoted 6 lines · Steven Barth

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.

Applied, thanks.