build: remove unnecessary libintl.h check
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.
Signed-off-by Steven Barth <[email protected]>
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
@@ -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
Quoted 6 lines · Steven Barth
configure.ac checks for
libintl.hwhich is not used and may cause unnecessary trouble with e.g. embedded toolchains.The only reference to
libintl.hcan be found inparser.cas generated by bison however an include does not happen asparser.hdefinesYYENABLE_NLSto be 0.
Applied, thanks.