From patchwork Fri Jan 19 03:00:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varsha Rao X-Patchwork-Id: 863284 X-Patchwork-Delegate: pablo@netfilter.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netfilter-devel-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="XNF3Qf+z"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zN5Fp3VJRz9sNc for ; Fri, 19 Jan 2018 14:01:50 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755014AbeASDBt (ORCPT ); Thu, 18 Jan 2018 22:01:49 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:39273 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752855AbeASDBs (ORCPT ); Thu, 18 Jan 2018 22:01:48 -0500 Received: by mail-pf0-f194.google.com with SMTP id e11so323504pff.6 for ; Thu, 18 Jan 2018 19:01:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=hmlKTOs3ET1SuJSVIq1sr+RkyVxlccMmeOJR6eOUtLg=; b=XNF3Qf+zkD6hIYivGxIn/u0UY0cQNVlaDw9FQx5Hk8k8Yukcf6zJpTC41iTKsnqt2e Jx0GZCWjXniTHyF4nzwNslo4ZLXKqoGsVhtfoafrjJtZAqL38tm3rFTpDkkBjQA3h3Yr PAcGygnW9ah02QJueGEudar7c/GZSTFFx0TWrHWBoTFqDSJRLipyjzoxiF/wThwA5w21 cQEVXHlsP4Uo3MGmny9t48I2fd9XQtf1PuE8W5qN1Wg10+0l57UhGOk7848jRycSxULS Yrp+cfD9eECS9A9K3Sad9HxEl2vj6bJBHkCCHGSiyXAvaVVSVdMC8WtdnoBNGQGQDS2e xnVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=hmlKTOs3ET1SuJSVIq1sr+RkyVxlccMmeOJR6eOUtLg=; b=XaRFeLw7vPCF/m8f9ETqgpObRmy+VC6TVXZk9Y2ljYBPsRGDRXco8r7xQHL8Mbs8Ul jNAfGQ+P3K9yRXmOASlEED98EkXHK0iGeLEc6il4azmdZSD6a13tVF3mXg9rqwZX1DgC odZpUzjxFP67Ka1FRJizyw9fgbMVgYyOK3TrLCGYnnnNha/HyGcXk6AKyhNUISBI9BlR BV/pqK+3qm3K2Vl5t7mnHisnjkELb+f0ajSpHDZkKmQ2AotyJZ+yeG5ak87VGbHOE3lv u9/6rbDhZrynTmyT6uXk4KUh2nti9NN2ShU36qsok8gE4mKnCMbI3hCNiVYVITjxxWcd ikXg== X-Gm-Message-State: AKwxyteqDaNqfx+7rgKC1oo5Fy3hpx4n1IeFo5p7DdA84gR7eed3CHzr U/lLMDdimd7z3n9gnCG9BbI= X-Google-Smtp-Source: ACJfBovvZlQ74iFXOVZxnXyiTSj/1Wv6ZWi6p/PQtGx1pHP0D92UxMt2W3NfNoDuOrALpFCwd8RyZQ== X-Received: by 2002:a17:902:622:: with SMTP id 31-v6mr827764plg.448.1516330908239; Thu, 18 Jan 2018 19:01:48 -0800 (PST) Received: from localhost.localdomain ([59.99.105.160]) by smtp.googlemail.com with ESMTPSA id h13sm13846762pfi.40.2018.01.18.19.01.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2018 19:01:47 -0800 (PST) From: Varsha Rao To: Pablo Neira Ayuso , netfilter-devel@vger.kernel.org Cc: Varsha Rao Subject: [PATCH nft] configure: Remove AC_HEADER_STDBOOL, AC_C_ and AC_TYPE_ macros Date: Fri, 19 Jan 2018 08:30:17 +0530 Message-Id: <20180119030017.12432-1-rvarsha016@gmail.com> X-Mailer: git-send-email 2.14.3 Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org The following macros check if particular C types in specific header file exists, these header files defines them and are already included in the source code. So, remove them. AC_HEADER_STDBOOL - stdbool.h AC_TYPE_INT and AC_TYPE_UINT - stdint.h or inttypes.h AC_TYPE_OFF_T and AC_TYPE_UID_T - sys/types.h AC_TYPE_SIZE_T - stddef.h, string.h, stdlib.h or stdio.h Remove AC_C_CONST and AC_C_INLINE as gcc supports inline and const keywords. Signed-off-by: Varsha Rao --- configure.ac | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/configure.ac b/configure.ac index 6ed3edc..13b5574 100644 --- a/configure.ac +++ b/configure.ac @@ -120,22 +120,6 @@ AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h malloc.h \ stddef.h stdint.h stdlib.h string.h unistd.h], , AC_MSG_ERROR([Header file not found])) -# Checks for typedefs, structures, and compiler characteristics. -AC_HEADER_STDBOOL -AC_C_CONST -AC_C_INLINE -AC_TYPE_OFF_T -AC_TYPE_SIZE_T -AC_TYPE_UID_T -AC_TYPE_INT8_T -AC_TYPE_INT16_T -AC_TYPE_INT32_T -AC_TYPE_INT64_T -AC_TYPE_UINT8_T -AC_TYPE_UINT16_T -AC_TYPE_UINT32_T -AC_TYPE_UINT64_T - # Checks for library functions. AC_CHECK_FUNCS([memmove memset strchr strdup strerror strtoull])