X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; q=dns; s=default; b=TtOkDhucITe3YmTcvmlna8pd6Qkhlkn0V7aX1qHOKzb Zxe11EaH99dzGb0N8NbNgR/D40asKRfcaWP6zSNgc1cyAbbLStIZz0lWvPFzra/j zxLNZ8yyOWX8GN3nm2ljgkCt7x7AtsZgZXeJVFwMq2sZ2JVNOts7C8RrOkMzDUf8 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; s=default; bh=KoexZkwVyZUUIm4zcYO0clBN160=; b=Onlc9fgyDeebM8s4W xy3kMOL2AzNSsZgGAaOK1bcvH37xUAyMolV5uviU1s4hPlMVuC/MaPDHwYhLeJbP B9v0duNyLKmujn3pv1GIOyKOrH3Rrm4ehegPjBJRMUtRyYolumSB/pX2eR/nk43P zP0cZInUP2/cJ7hoeD4tZYeuhg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-0.7 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=warren, soften, peter=e2, smiley?= X-HELO: mail-wm0-f53.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=qTWSpfkeEH6zNLx7o5HQEDBIIHuyaUakI6jhVCOzWSU=; b=d+nk6TGd3WYYda2FhoZhY3k4rsB+4vha8btNZiiNMm4cVlNdJMqjsP0y9Xotxrf7e9 jZJ8LEDA2KoF2I0bAHbia9M5NU8MjK6QpaTn3UZt7JOU4fd/WGXVze47ELGHTlHHmJ3Z ncd5YWJt6K13UT6j0Gguydu1zEZHMg0L1PhaSp6F8GyMHiFotp4bObKFFGAyJgvWykuD UiCoeBSZbPvvCKvnk6DrCcxiBV7MS0jjlvhLAmN4/MUNyxQ8yXj3IIr7VWThqjGnDtcB bMVfXTqgP8ImM0p4v4516ATUtTi18HpdS6lvcXBwgxvzFyxAlsp9HJIc1FvQ2aZazjAA CafQ== X-Gm-Message-State: AG10YOSmZgXmHbZqXUtTgrtSkLgTKBRJDnsQx/HG5vd9X45kpMa71DFS/96t28txkHpLbkF5pISq/VNzdEYUTA== X-Received: by 10.28.12.9 with SMTP id 9mr3275104wmm.76.1455004635673; Mon, 08 Feb 2016 23:57:15 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20160208131835 DOT GC12975 AT calimero DOT vinschen DOT de> <56B8C25F DOT 7050206 AT lysator DOT liu DOT se> From: Ismail Donmez Date: Tue, 9 Feb 2016 09:56:46 +0200 Message-ID: Subject: Re: Problem with new acl code and cdrtools To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u197vV57009903 Hi, On Tue, Feb 9, 2016 at 6:14 AM, Warren Young wrote: > On Feb 8, 2016, at 9:59 AM, Ismail Donmez wrote: >> >> On Mon, Feb 8, 2016 at 6:29 PM, Peter Rosin wrote: >>> On 2016-02-08 14:31, Ismail Donmez wrote: >>>> This is a generic code so I don't want to add a cygwin specific >>>> dependency there. Is there a preprocessor definition for cygwin >>>> version? I could use that to disable HAVE_SUN_ACL for cygwin 2.5+ >>> >>> Pardon me for butting in, but isn't adding a Cygwin version check >>> about as non-generic as it gets? >>> >>> Wouldn't something like this work: >>> >>> .../configure ac_cv_func_aclfromtext=no >> >> Thats a hack :) > > I don’t know if that smiley means you’re joking or if you’re just trying to soften a negative judgement, but Peter’s proposal is as far from a hack as it gets. What Peter suggests is telling autoconf to assume aclfromtext() does not exist on the system which is a hack and I already have a hack I could use. > He is proposing that you write an autoconf test that determines if the platform has this new ACL behavior. Then in your C code: > > #include > #if HAVE_FUNC_ACLFROMTEXT > # include > #endif I could check for __cygwin__ instead of that which would do the same thing. Anyhow the discussion diverged a lot, and for now I'll be using my simple hack of disabling HAVE_SUN_ACL manually. ismail -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple