From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: MS-Windows build using Posix configury Date: Thu, 16 May 2013 00:16:29 -0700 Organization: UCLA Computer Science Department Message-ID: <519487CD.5090102@cs.ucla.edu> References: <83d2tu49lu.fsf@gnu.org> <8361z2psr1.fsf@gnu.org> <83zjweo5dh.fsf@gnu.org> <83sj25nym2.fsf@gnu.org> <837gjhnowi.fsf@gnu.org> <8338u4o39r.fsf@gnu.org> <83zjwbkmt2.fsf@gnu.org> <83wqrfkjvo.fsf@gnu.org> <838v3qebns.fsf@gnu.org> <83wqr9csah.fsf@gnu.org> <83wqr297da.fsf@gnu.org> <83txm34g6k.fsf@gnu.org> <51947D3E.50801@cs.ucla.edu> <83obcb4dlh.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368688598 30654 80.91.229.3 (16 May 2013 07:16:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 May 2013 07:16:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 16 09:16:37 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UcsQW-0003ei-TD for ged-emacs-devel@m.gmane.org; Thu, 16 May 2013 09:16:37 +0200 Original-Received: from localhost ([::1]:55703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcsQW-0008Cv-Cu for ged-emacs-devel@m.gmane.org; Thu, 16 May 2013 03:16:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcsQU-0008Cp-06 for emacs-devel@gnu.org; Thu, 16 May 2013 03:16:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcsQR-0007WP-TE for emacs-devel@gnu.org; Thu, 16 May 2013 03:16:33 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:35046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcsQQ-0007Vq-DZ; Thu, 16 May 2013 03:16:30 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id A243039E8105; Thu, 16 May 2013 00:16:29 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q+CxVMdk8+oZ; Thu, 16 May 2013 00:16:29 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-71-189-154-249.lsanca.fios.verizon.net [71.189.154.249]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 4430A39E8106; Thu, 16 May 2013 00:16:29 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 In-Reply-To: <83obcb4dlh.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159613 Archived-At: On 05/15/2013 11:56 PM, Eli Zaretskii wrote: > Do you also feel that some minor change > in qset-acl.c, to cause the compilation fall back on chmod_or_fchmod, > is not justified? That would allow to compile that file. If I understand you correctly, there's no need to compile the file, as its function is never called. So I'd just omit it from nt/gnulib.mk; that's simpler. > And another question: what is the difference between the files > mentioned in libgnu_a_SOURCES and those in EXTRA_libgnu_a_SOURCES? > Like here: > > ## begin gnulib module qacl > > libgnu_a_SOURCES += acl-errno-valid.c file-has-acl.c qcopy-acl.c > > EXTRA_DIST += acl-internal.h acl.h acl_entries.c > > EXTRA_libgnu_a_SOURCES += acl_entries.c There's a call AC_REPLACE_FUNCS([acl_entries]) in gl_FUNC_ACL, which means the autoconf machinery decides whether to compile acl_entries.c based on whether the system already has an acl_entries. The functions acl_errno_valid, file_has_acl, and qcopy_acl are not like that: they're meant to be compiled no matter what, so one can simply tell Automake about them directly, using libgnu_a_SOURCES.