From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Why and not "config.h" ? Date: Fri, 30 Jul 2010 18:21:29 +0900 Message-ID: <87pqy5tjdy.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87wrsgs5t3.fsf@telefonica.net> <87y6cwz6bq.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280482917 25615 80.91.229.12 (30 Jul 2010 09:41:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Jul 2010 09:41:57 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 30 11:41:54 2010 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 1Oem6D-0004pe-Pq for ged-emacs-devel@m.gmane.org; Fri, 30 Jul 2010 11:41:54 +0200 Original-Received: from localhost ([127.0.0.1]:35876 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oem6D-0004wE-7f for ged-emacs-devel@m.gmane.org; Fri, 30 Jul 2010 05:41:53 -0400 Original-Received: from [140.186.70.92] (port=45774 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oem63-0004w3-I1 for emacs-devel@gnu.org; Fri, 30 Jul 2010 05:41:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oem62-0007IW-Dv for emacs-devel@gnu.org; Fri, 30 Jul 2010 05:41:43 -0400 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]:34194) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oem62-0007HX-1p; Fri, 30 Jul 2010 05:41:42 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id 39A10820F; Fri, 30 Jul 2010 18:21:29 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id A64FF1A267B; Fri, 30 Jul 2010 18:21:29 +0900 (JST) In-Reply-To: X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" ed3b274cc037 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:128009 Archived-At: Stefan Monnier writes: > Actually, I'd be happy to have a recipe to reproduce the problem. bzr brunch emacs cd emacs ./configure mkdir +build cd +build ./configure --without-x11 # or other spectacular configuration difference make bootstrap src/emacs # of course, you need an X11 platform # to see the difference should do the trick. > This way we can fix it in the Makefile, You can't fix it (nothing's broken), you can only prevent it. Eg, make everything depend on sane-builddir sane-builddir: if -e src/emacs.c; then echo "Dr. Bader thinks you're insane." echo "For a second opinion, we recommend" echo "mkdir +build" echo "cd +build" echo "../configure" echo "make bootstrap" echo "src/emacs -f doctor" exit -1 fi You might want to use a more polite, informative error message, of course.