From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: getopt_.h on Windows Date: Mon, 07 Feb 2011 06:03:23 +0200 Message-ID: <831v3ktrsk.fsf@gnu.org> References: <4D4F5442.6060404@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1297051426 16927 80.91.229.12 (7 Feb 2011 04:03:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Feb 2011 04:03:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: Christoph Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 07 05:03:42 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PmIKD-0002zG-L3 for ged-emacs-devel@m.gmane.org; Mon, 07 Feb 2011 05:03:41 +0100 Original-Received: from localhost ([127.0.0.1]:48397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmIKC-0001Rx-Tw for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2011 23:03:40 -0500 Original-Received: from [140.186.70.92] (port=37851 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmIK7-0001Ri-VW for emacs-devel@gnu.org; Sun, 06 Feb 2011 23:03:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmIK6-0004S3-QC for emacs-devel@gnu.org; Sun, 06 Feb 2011 23:03:35 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:46857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmIK6-0004Rz-HG for emacs-devel@gnu.org; Sun, 06 Feb 2011 23:03:34 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LG800200B502900@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 07 Feb 2011 06:03:12 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.171.5]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LG8001Q1B9BIMB0@a-mtaout22.012.net.il>; Mon, 07 Feb 2011 06:03:12 +0200 (IST) In-reply-to: <4D4F5442.6060404@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135667 Archived-At: > Date: Sun, 06 Feb 2011 19:09:06 -0700 > From: Christoph > > On a clean checkout on Windows getopt_.h has to be generated manually > before a bootstrap runs. Always, or because getopt.in.h was changed lately? If the former, then I did something wrong, because that's not what I meant to happen. If the latter, someone needs to regenerate getopt_.h and commit it to the repository. Also, what do you mean by "manually"? The intent was to run a specific Make rule, not to create the file by hand. > This seems to be the case even if Sed is installed. The need for regenerating getopt_.h does not depend on Sed, it depends on getopt.in.h being newer. > Is there any reason we couldn't just check for Sed and abort > if it is not present and otherwise build getopt_.h automatically? Patches welcome, but please remember that Windows Makefiles support both a Unixy shell and the Windows cmd.exe, so whatever you want to add must work with both of them.