[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: Eli Zaretskii
Subject: Re: Latest EMACS on BZR trunk does not compile with MinGW
Date: Thu, 05 Jun 2014 22:54:27 +0300

> Date: Thu, 05 Jun 2014 12:35:15 -0700
> From: Paul Eggert <address@hidden>
> CC: address@hidden
> On 06/05/2014 11:07 AM, Eli Zaretskii wrote:
> > Some Autoconf expert should comment on that;
> > if they approve, we should do that, because config.guess is reliable.
> We can invoke AC_CANONICAL_HOST early in configure.ac, right after 
> AC_INIT_AUTOMAKE.  The attached patch, for example, should work fine on 
> non-Microsoft platforms (I haven't tested it on MingW though).

Thanks.  However, one problem with that is that $srcdir might be
corrected too late, after it is already used several times in the
script.  I don't remember exactly why we have the test where we do,
but this looks like one of the places where we would need it:

  if test "`cd $srcdir && pwd`" != "`pwd`"; then
    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
    # is not polluted with repeated "-I."
    am__isrc=' -I$(srcdir)'
    # test to see if srcdir already configured
    if test -f $srcdir/config.status; then
      as_fn_error "source directory already configured; run \"make distclean\" 
there first" "$LINENO" 5

Anyway, someone who builds Emacs under the MSYS root directory should
test this.

reply via email to

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