all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>,
	Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: nt/msysconfig.sh
Date: Wed, 06 Nov 2013 16:03:57 -0500	[thread overview]
Message-ID: <8sy55144zm.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAH8Pv0j-ysgEe__xkC86FA4z4Sto1nPDEt4HT1DwsfodkkMfeQ@mail.gmail.com> (Dani Moncayo's message of "Tue, 5 Nov 2013 22:34:59 +0100")

Dani Moncayo wrote:

> I've noticed that the configure script for MS-Windows, i.e., the file
> `nt/msysconfig.sh' is just a call to the main configure script, but
> setting a special value to the `CONFIG_SITE' environment variable.
>
> So, I wonder if that setting could be done inside the main configure
> script (conditioned to the MSYS environment, obviously), so that we
> could get rid of `nt/msysconfig.sh' and thereby make the procedure for
> building Emacs on MS-Windows more similar to the GNU/Linux case.

Sounds like it would be better, if it works.

CONFIG_SITE needs to be set before configure runs, so you can't just set
it in configure.ac. Looks like what you would have to do is take the
contents of nt/mingw-cfg.site and insert them in configure.ac just after
the AC_INIT statement.

But it needs to be behind a test for mingw.
You can't use $opsys, because it isn't defined till later.

Maybe that test "$MSYSTEM" = "MINGW32" thing will work, though I don't
know what MSYSTEM is...

If you find something that looks like it should work, test it out with
and without configuring caching turned on, and see if work for you.




  reply	other threads:[~2013-11-06 21:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 21:34 nt/msysconfig.sh Dani Moncayo
2013-11-06 21:03 ` Glenn Morris [this message]
2013-11-07  2:46   ` nt/msysconfig.sh Glenn Morris
2013-11-07 11:39     ` nt/msysconfig.sh Dani Moncayo
2013-11-08  7:58       ` nt/msysconfig.sh Glenn Morris
2013-11-08 11:47         ` nt/msysconfig.sh Dani Moncayo
2013-11-11  0:19           ` nt/msysconfig.sh Glenn Morris
2013-11-11  9:07             ` nt/msysconfig.sh Dani Moncayo
2013-11-12  2:52               ` nt/msysconfig.sh Glenn Morris
2013-11-12  2:51           ` nt/msysconfig.sh Glenn Morris

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

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

  git send-email \
    --in-reply-to=8sy55144zm.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=dmoncayo@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.