From: Dani Moncayo <dmoncayo@gmail.com>
To: Glenn Morris <rgm@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>,
Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: nt/msysconfig.sh
Date: Thu, 7 Nov 2013 12:39:38 +0100 [thread overview]
Message-ID: <CAH8Pv0j_6OYJG5gNiMfQG9vTohmcYgpaZnbk_L14wjGFRUXigA@mail.gmail.com> (raw)
In-Reply-To: <l7ob5xgc8g.fsf@fencepost.gnu.org>
>> 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.
>
> Or you could just ". $srcdir/nt/mingw-cfg.site" at that point.
That seems to work.
This is what I've done:
1. Remove the file "nt/msysconfig.sh"
2. Apply the below patch.
3. In the source directory (~/emacs/repo), run "./autogen.sh".
4. In an empty build directory (~/emacs/build), run
"CPPFLAGS='-DGLYPH_DEBUG=1' CFLAGS='-O0 -g3' ../repo/configure
--enable-checking".
5. In the build directory, run "make -j2"
The resulting binary (~/emacs/build/src/emacs) seems to work just fine.
diff --git a/configure.ac b/configure.ac
index a8fb34b..2a2efa8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,8 @@ dnl along with GNU Emacs. If not, see
<http://www.gnu.org/licenses/>.
AC_PREREQ(2.65)
AC_INIT(emacs, 24.3.50)
+test "$MSYSTEM" = "MINGW32" && source $srcdir/nt/mingw-cfg.site
+
dnl Set emacs_config_options to the options of 'configure', quoted
for the shell,
dnl and then quoted again for a C string. Separate options with spaces.
dnl Add some environment variables, if they were passed via the environment
--
Dani Moncayo
next prev parent reply other threads:[~2013-11-07 11:39 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 ` nt/msysconfig.sh Glenn Morris
2013-11-07 2:46 ` nt/msysconfig.sh Glenn Morris
2013-11-07 11:39 ` Dani Moncayo [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH8Pv0j_6OYJG5gNiMfQG9vTohmcYgpaZnbk_L14wjGFRUXigA@mail.gmail.com \
--to=dmoncayo@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rgm@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).