emacs-devel
[Top][All Lists]
Advanced

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

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


From: Dani Moncayo
Subject: Re: Latest EMACS on BZR trunk does not compile with MinGW
Date: Thu, 5 Jun 2014 09:03:03 +0200

>>> How 'bout testing a functionality on which we rely during the build,
>>> rather than looking for some indirect evidence?
>>
>> Chicken-and-egg problem: that test is there so that we could source
>> nt/mingw-cfg.site file, which does what you want.
>
> Why not test if the preprocessor defines __MINGW32__?

Another alternative, just for the record: AFAIK, only the MSYS bash
supports a "-W" switch for its "pwd" command.

So, we could do something like:

  if pwd -W 1>/dev/null 2>&1
  then
      echo This is MSYS
  else
      echo This is not MSYS
  fi

-- 
Dani Moncayo



reply via email to

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