From: Steven Barth Subject: [nft PATCH] build: remove unnecessary libintl.h check Date: Fri, 10 Oct 2014 13:01:41 +0200 Message-ID: <1412938901-6124-1-git-send-email-cyrus@openwrt.org> Cc: Steven Barth To: netfilter-devel@vger.kernel.org Return-path: Received: from chi.subsignal.org ([188.40.166.11]:49243 "EHLO chi.subsignal.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751661AbaJJLCN (ORCPT ); Fri, 10 Oct 2014 07:02:13 -0400 Sender: netfilter-devel-owner@vger.kernel.org List-ID: 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ea13cf8..4aa14e3 100644 --- a/configure.ac +++ b/configure.ac @@ -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], , -- 2.1.1