emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs build failure on today's debian


From: Glenn Morris
Subject: Re: emacs build failure on today's debian
Date: Thu, 16 Jun 2011 03:33:47 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]