From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Bad configure check Date: Fri, 26 Apr 2002 16:35:56 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <1019762483.19662.20.camel@space-ghost> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1019831825 9395 127.0.0.1 (26 Apr 2002 14:37:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 26 Apr 2002 14:37:05 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 1716qP-0002RQ-00 for ; Fri, 26 Apr 2002 16:37:05 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 1716t5-0002OF-00 for ; Fri, 26 Apr 2002 16:39:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 1716qJ-0001RW-00; Fri, 26 Apr 2002 10:36:59 -0400 Original-Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 1716pM-0001M4-00 for ; Fri, 26 Apr 2002 10:36:00 -0400 Original-Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 770F71E4B7; Fri, 26 Apr 2002 16:35:59 +0200 (MEST) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f Original-To: Colin Walters X-Yow: If this is the DATING GAME I want to know your FAVORITE PLANET! Do I get th' MICROWAVE MOPED? In-Reply-To: <1019762483.19662.20.camel@space-ghost> (Colin Walters's message of "25 Apr 2002 15:21:23 -0400") Original-Lines: 30 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3302 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3302 Colin Walters writes: |> On Thu, 2002-04-25 at 10:19, Andreas Schwab wrote: |> > This configure check is bad: |> |> I don't see why. |> |> [...] |> |> > The ability to do chown depends on the environment, this cannot be checked |> > at configure time. The user who runs configure is usually different to |> > the user who runs Emacs. The test must be performed at runtime. |> |> The test is performed to see if we can install `update-game-score' as |> setuid to a specific game user. If we can't, then we don't make it |> setuid, and just default to putting game scores in each users' home |> directory. Ok, I have misunderstood the purpose of this configure check. But then, it is still wrong, because the user that runs configure can still be (and often is) different to the user that runs "make install". This check should be done at install time. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."