From patchwork Thu Mar 3 01:46:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 1600131 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=PQaqddqp; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4K8DP55f1Kz9sFq for ; Thu, 3 Mar 2022 12:46:49 +1100 (AEDT) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4K8DP33kRwz3bd6 for ; Thu, 3 Mar 2022 12:46:47 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=PQaqddqp; dkim-atps=neutral X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1033; helo=mail-pj1-x1033.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=PQaqddqp; dkim-atps=neutral Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4K8DNz3C54z3bPR for ; Thu, 3 Mar 2022 12:46:43 +1100 (AEDT) Received: by mail-pj1-x1033.google.com with SMTP id p3-20020a17090a680300b001bbfb9d760eso6396219pjj.2 for ; Wed, 02 Mar 2022 17:46:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+wqldjVWo/9WwBU/Z7dwbk1VOc+HBUEOU+elundn3no=; b=PQaqddqpC2Ek3tR/ak2QQEmwY5TbIZzxrYwyGJGGc4hu0L+b/NHJ5nkxWZQvGUofnN IPenGVhZT2KDNAMTYVtKjsLO3+/M71eKSaiGQYkmlSWpddlbADSkax9uBPZYAyJWNCKs DEaxRIY+TRXRQ3dgY+J5nlxL61804DyR+AM6VL3ovfjmUkauawU3H1aJMRca+Eibt0e5 U63bdNUaVKke3e0F+nnYZpaxaGSnE8Qlvm/jTYvhc2vCvWyw3aXKBl4I+YdJgB/PxCTz JMKa++uWM8CTR0CsgIm4btAnvBXctSBCMmhtCiGOHM3Ut4KEx2WjUm9R/DjmIZCgO4se 3YEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=+wqldjVWo/9WwBU/Z7dwbk1VOc+HBUEOU+elundn3no=; b=Kr6A4dXCk8v7Qij2VaAoH/iUnUmsU+knQAezsrxb4JqZsYgEHQOFhk83SB21jOmx4n aHVcFFddlcWSknR3MFWs6zhJ1e+tpa9n5XHOrU9+uoYcOPX4BSRosSqB5PJzGxO++siq +8YphxYfZIw6cDHKg5qcZWeqsg8ewnFD4d7NSdeSwSphQuydYEduKb8eyRL7VItURH5I zlp/3kJ5A1e37PgWGHaBYv+XUPvOjjP76eGBHe0tXzSMiVFryyXW37XQ/F1GjeJWGnd2 g68s4mnstMYtRatC7My2JLTzDQ0RKXgAobeyUkNPKzMcJjvDZvZAj5i1dfRMLLjRPv5T 8Fdw== X-Gm-Message-State: AOAM532HMZSDFZ+7PfGhnThNvLl1J3CopQ1wPojks4TuinXjDbe6P9QQ 49FVxHtqoskPq6VXGJXJNpxEwjGMc3KfbQ== X-Google-Smtp-Source: ABdhPJzrNaKLiI+oxAVM88/HcAnxAPqXzBPoSLsHjPzDFMzkdxroGVrey/Iz/kSDEtCA21GltECPBA== X-Received: by 2002:a17:902:e742:b0:14f:fd2f:c8bb with SMTP id p2-20020a170902e74200b0014ffd2fc8bbmr32757569plf.43.1646272001234; Wed, 02 Mar 2022 17:46:41 -0800 (PST) Received: from localhost.localdomain ([45.124.203.14]) by smtp.gmail.com with ESMTPSA id 23-20020a17090a0b9700b001b8f602eaeasm6334070pjr.53.2022.03.02.17.46.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 17:46:40 -0800 (PST) From: Joel Stanley To: pdbg@lists.ozlabs.org, Nicholas Piggin Date: Thu, 3 Mar 2022 12:16:14 +1030 Message-Id: <20220303014616.757411-2-joel@jms.id.au> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220303014616.757411-1-joel@jms.id.au> References: <20220303014616.757411-1-joel@jms.id.au> MIME-Version: 1.0 Subject: [Pdbg] [PATCH v3 1/3] configure: Add configure check for X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amitay Isaacs Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" From: Amitay Isaacs This is required for sbefifo ioctl definition. Signed-off-by: Amitay Isaacs Signed-off-by: Joel Stanley --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 8b4a012177b2..7b5dacafd2ec 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,11 @@ else AC_SUBST([LIBFDT], ["-lfdt"]) fi +AC_CHECK_HEADER([linux/fsi.h], + [AC_DEFINE([HAVE_LINUX_FSI_H], 1, + [Define to 1 if you have the header file])], + []) + AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile])