[Top][All Lists]

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

Re: Latest EMACS on BZR trunk does not compile with MinGW

From: Stefan Monnier
Subject: Re: Latest EMACS on BZR trunk does not compile with MinGW
Date: Thu, 05 Jun 2014 16:54:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

>> >> case "$(uname -a)" in
>> >> *MINGW* | *MinGW* ) ...
>> >> esac
>> >> wouldn't give the right answer.
>> > How is that different from what config.guess already does?
>> I'm not trying to replace config.guess nor am I trying to avoid
>> duplicating it.
>> I'm just trying to replace the
>> if test "x$MSYSTEM" = "xMINGW32" -o "x$MSYSTEM" = "xMINGW64"
>> in configure.ac since it turns out that $MSYSTEM may not be set.

> I'm all for better alternatives, if they exist.  I'm just not sure
> that calling config.guess so early in the script is a good idea

I'm not sure what you mean by "calling config.guess early".  I don't
suggest touching config.guess and/or the moment it's called.

> We need some sign that we are configuring the MinGW build of Emacs,
> and we need it very early in the script.  That is all.  $MSYSTEM is
> just a handle to do that.

That's what I understood and I simply suggest replacing

   if test "x$MSYSTEM" = "xMINGW32" -o "x$MSYSTEM" = "xMINGW64"


   case "$(uname -a)" in *MINGW* | *MinGW* )

nothing more.  I must say I have no idea whether such a test is
more or less reliable, so I'll stop here.


reply via email to

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