From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Bad configure check Date: Sun, 28 Apr 2002 15:17:39 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200204282117.g3SLHdj05993@aztec.santafe.edu> References: <1019762483.19662.20.camel@space-ghost> <200204261738.g3QHchK05159@aztec.santafe.edu> <1019849328.1086.7.camel@space-ghost> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1020029058 11307 127.0.0.1 (28 Apr 2002 21:24:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 28 Apr 2002 21:24:18 +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 171w9Z-0002wG-00 for ; Sun, 28 Apr 2002 23:24:17 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 171wD1-0001Xy-00 for ; Sun, 28 Apr 2002 23:27: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 171w9G-0007Fd-00; Sun, 28 Apr 2002 17:23:58 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 171w3A-0003my-00; Sun, 28 Apr 2002 17:17:40 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g3SLHda14657; Sun, 28 Apr 2002 15:17:39 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g3SLHdj05993; Sun, 28 Apr 2002 15:17:39 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: walters@debian.org In-Reply-To: <1019849328.1086.7.camel@space-ghost> (message from Colin Walters on 26 Apr 2002 15:28:48 -0400) 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:3358 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3358 The tricky thing about this is that update-game-score.c gets compiled with different options depending on whether or not we have access to a shared game directory. It should be able to check that at run time instead. That would be much better. Always use a run-time check rather than a compile-time check, whenever that is possible. You should be able to make it stat its own executable and see if it is setuid.