From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: emacs build failure on today's debian Date: Thu, 16 Jun 2011 03:33:47 -0400 Message-ID: References: <8mwrgnqdp0.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1308209661 24695 80.91.229.12 (16 Jun 2011 07:34:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Jun 2011 07:34:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 16 09:34:18 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QX75l-0002l4-FS for ged-emacs-devel@m.gmane.org; Thu, 16 Jun 2011 09:34:17 +0200 Original-Received: from localhost ([::1]:34111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QX75j-0003gd-T2 for ged-emacs-devel@m.gmane.org; Thu, 16 Jun 2011 03:34:16 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QX75M-0003fl-7F for emacs-devel@gnu.org; Thu, 16 Jun 2011 03:33:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QX75K-0006l6-Vy for emacs-devel@gnu.org; Thu, 16 Jun 2011 03:33:52 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:50536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QX75K-0006l2-UE for emacs-devel@gnu.org; Thu, 16 Jun 2011 03:33:50 -0400 Original-Received: from localhost ([127.0.0.1]:49466) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QX75H-0006YN-Pk; Thu, 16 Jun 2011 03:33:47 -0400 X-Spook: Perl-RSA MD4 Rand Corporation Gazprom Etacs Guantanamo X-Ran: kWQXR4A8kQwdYVp>~twe}%N|.pj}9F+fX\+|=H>&rSL$(n.=28=E7D3!Ad&Q3@u'WESMW? X-Hue: white X-Attribution: GM In-Reply-To: (Miles Bader's message of "Thu, 16 Jun 2011 16:18:33 +0900") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:140546 Archived-At: Nice (I did not know about AS_DIRNAME). Maybe add a "2> /dev/null" for the $CC call? Personally I would have only asked gcc if the existing system-dependent stuff failed to find crt, but doing it before is fine too. Miles Bader wrote: > +## If we're using gcc, and the user hasn't specified a crt-dir, try to > +## determine it automatically by asking gcc. [If this doesn't work, > +## CRT_DIR will remain empty and system-dependent code will be used > +## below.] > +## > +if test "x${GCC}y$CRT_DIR" = xyesy; then > + crt_file=`$CC --print-file-name=crt1.o` > + case "$crt_file" in > + */*) > + CRT_DIR=`AS_DIRNAME(["$crt_file"])` > + ;; > + esac > +fi