From patchwork Wed Aug 31 13:01:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 9307183 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3A893601C0 for ; Wed, 31 Aug 2016 13:02:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C96528DE4 for ; Wed, 31 Aug 2016 13:02:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F74828F29; Wed, 31 Aug 2016 13:02:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ECCC628DE4 for ; Wed, 31 Aug 2016 13:02:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934448AbcHaNCC (ORCPT ); Wed, 31 Aug 2016 09:02:02 -0400 Received: from hr2.samba.org ([144.76.82.148]:31402 "EHLO hr2.samba.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934196AbcHaNBz (ORCPT ); Wed, 31 Aug 2016 09:01:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=samba.org; s=42627210; h=Message-Id:Date:Cc:To:From; bh=qWzZipYw/PMS+97Wi5fQI1NNbhdyL2FzlCVvrmnn/7Y=; b=BkpADMadMc2WjjWa2I9wVG/awgahLM1l4OH9axDR7X32jumaWSVyPTE35DOmvvAyNNdI4aj8+LKVHj9st+YTGO6h1Ndhbk4cVZlPff26nT3CrvRe+uuqh6Sca99B4vsO7cqkydPyCvClKfG3dGJgGwk4sl9J4CSWRXj/6PyXO4g=; Received: from [127.0.0.2] (localhost [127.0.0.1]) by hr2.samba.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim) id 1bf59K-0003ib-3F; Wed, 31 Aug 2016 13:01:50 +0000 From: Jeff Layton To: samba-technical@lists.samba.org Cc: ira@wakeful.net, ceph-devel@vger.kernel.org Subject: [samba RFC PATCH 1/6] vfs:ceph: add configure test for ceph_statx Date: Wed, 31 Aug 2016 09:01:09 -0400 Message-Id: <1472648474-3131-2-git-send-email-jlayton@samba.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1472648474-3131-1-git-send-email-jlayton@samba.org> References: <1472648474-3131-1-git-send-email-jlayton@samba.org> Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP ...so we can conditionally compile in its use. Signed-off-by: Jeff Layton --- source3/wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/wscript b/source3/wscript index 5ce1b77e23b1..c6b2421c45b7 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1582,6 +1582,8 @@ main() { if conf.CHECK_HEADERS('cephfs/libcephfs.h', False, False, 'cephfs') and conf.CHECK_LIB('cephfs', shlib=True) and Options.options.with_cephfs: if Options.options.with_acl_support: conf.DEFINE('HAVE_CEPH', '1') + if conf.CHECK_FUNCS_IN('ceph_statx', 'cephfs', headers='cephfs/libcephfs.h'): + conf.DEFINE('HAVE_CEPH_STATX', '1') else: Logs.warn("ceph support disabled due to --without-acl-support") conf.undefine('HAVE_CEPH')