From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-4.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id DAE8F1F619 for ; Mon, 24 Feb 2020 15:33:29 +0000 (UTC) Received: from localhost ([::1]:38098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6Fjc-0008TU-U7 for normalperson@yhbt.net; Mon, 24 Feb 2020 10:33:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35814) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6DIZ-0006RU-OA for bug-gnulib@gnu.org; Mon, 24 Feb 2020 07:57:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6DIY-0002Mq-Ra for bug-gnulib@gnu.org; Mon, 24 Feb 2020 07:57:23 -0500 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:38642) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6DIY-0002MX-M8 for bug-gnulib@gnu.org; Mon, 24 Feb 2020 07:57:22 -0500 Received: by mail-wr1-x444.google.com with SMTP id e8so10275918wrm.5 for ; Mon, 24 Feb 2020 04:57:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=yx2dVNnNxi8dVehBzvxrK+nak+uF4clw7gFx9/zgKS4=; b=Ag3ZtDPK0XvHbayXI2c4UtH9iIGwAJCU/G9hyRPvxgz+s067lwo3xmxLvsGUvvz03K yCSM8XPY8tNOcidQw9R3fOjDc4qrnT3h2UJ/0eA2takylP1WWL6/7pliE9GLBQStzfeH uD+ac0e27pHObb47ubhJusiDIqeUrmriaAvGO9pl1xQo+nCXvT9QpEVgArchAuYNrLZs lq+Ru2zTYGmzsiPbr0cpFMTSqc83j3Y7Qs/WfO6TQD5+S8QRWNa9vvx+TquYi2Y5Ad9F igIRH4M8LJK1xbVRe3GweuYHjZ/gxF8tOOQShe6IqyXA0cZIPzaY61+Wmv6Kf3+ZreFe 5FzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=yx2dVNnNxi8dVehBzvxrK+nak+uF4clw7gFx9/zgKS4=; b=A6KMwn1SX81T1XKa8R99sN22MuVsd4EJOmaUzg/OkQY8gjtjISlXMJwcU3FuFHqbpg q/CcCkHfGjLw6hIZ3mOkHvo08IxI8BLXg+HGdIEJjWHgLWAu4KiacvpjlvPWeYRHDtt1 nnUXS9DcjQl7ftCAqeWFpPI60ZiqCnjYXsoxC2EfNxGeniSEQTPK/TN3p3d408Wn/ISo P2FJ5XHooCvEu2h1po0oMCyWW9+MhTo2ATt3JXRmT9nyyO2vLlE/gZ1c1hUpvC/2p8rJ nZDlSEI0PGr2Z9Ws3WcFOiXqSE4WeOKvy+BDxaSSm79S3OaSy+EDYsMol9AYTAOlBV/T t+3Q== X-Gm-Message-State: APjAAAXAJrBoljP34whjnfXoXvuj29zCftoLWvHGNY2CY+HxndU3gA4G 8epKPOHxv7CBGkw1efvV30SU/K/+ X-Google-Smtp-Source: APXvYqyVet0a0GZRy2k7onX4kCCQuuqmBFv/GbBb/mvuWS+GaDC8p0dScmndOaavsL13lDM7G13RhA== X-Received: by 2002:adf:f3d0:: with SMTP id g16mr68918087wrp.2.1582549041208; Mon, 24 Feb 2020 04:57:21 -0800 (PST) Received: from beaker.muppets.liwing.de (p4FE93807.dip0.t-ipconnect.de. [79.233.56.7]) by smtp.gmail.com with ESMTPSA id s15sm18661946wrp.4.2020.02.24.04.57.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2020 04:57:20 -0800 (PST) From: Jens Rehsack To: bug-gnulib@gnu.org Subject: [PATCH 2/2] modules: fcntl: allow being detected by importing projects Date: Mon, 24 Feb 2020 13:56:49 +0100 Message-Id: <20200224125649.19109-2-sno@netbsd.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200224125649.19109-1-sno@netbsd.org> References: <20200224125649.19109-1-sno@netbsd.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 X-Mailman-Approved-At: Mon, 24 Feb 2020 10:33:15 -0500 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jens Rehsack Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" GNU project `make` relies on gnulib but provides some own compatibility functions - including an `fcntl`, which fails on mingw. The intension of gnulib is providing these functions and being wider tested, but silently injecting a function opens battle of compatibility layers. So adding a hint into target `config.h` to allow deciding whether using an own compatibility implementation or not. Signed-off-by: Jens Rehsack --- modules/fcntl | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/fcntl b/modules/fcntl index 3ee0811c8..508794de2 100644 --- a/modules/fcntl +++ b/modules/fcntl @@ -17,6 +17,7 @@ configure.ac: gl_FUNC_FCNTL if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then AC_LIBOBJ([fcntl]) + AC_DEFINE(HAVE_GNULIB_FCNTL, 1, [Define to 1 if you have the `fcntl' function via gnulib.]) fi gl_FCNTL_MODULE_INDICATOR([fcntl]) -- 2.17.1