unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Miles Bader <miles@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: emacs build failure on today's debian
Date: Thu, 16 Jun 2011 03:33:47 -0400	[thread overview]
Message-ID: <wytybqcjs4.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <buo62o69rcm.fsf@dhlpc061.dev.necel.com> (Miles Bader's message of "Thu, 16 Jun 2011 16:18:33 +0900")


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



  reply	other threads:[~2011-06-16  7:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15  8:52 emacs build failure on today's debian Miles Bader
2011-06-15  9:16 ` Julien Danjou
2011-06-15  9:38   ` Miles Bader
2011-06-15  9:50     ` Andreas Schwab
2011-06-15 16:09     ` Glenn Morris
2011-06-16  4:14       ` Miles Bader
2011-06-16  6:57         ` Glenn Morris
2011-06-16  7:18           ` Miles Bader
2011-06-16  7:33             ` Glenn Morris [this message]
2011-06-15  9:56   ` Bruce Stephens
2011-06-15 10:06     ` Julien Danjou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wytybqcjs4.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).