[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nt/msysconfig.sh
From: |
Dani Moncayo |
Subject: |
Re: nt/msysconfig.sh |
Date: |
Thu, 7 Nov 2013 12:39:38 +0100 |
>> 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
- nt/msysconfig.sh, Dani Moncayo, 2013/11/05
- Re: nt/msysconfig.sh, Glenn Morris, 2013/11/06
- Re: nt/msysconfig.sh, Glenn Morris, 2013/11/06
- Re: nt/msysconfig.sh,
Dani Moncayo <=
- Re: nt/msysconfig.sh, Glenn Morris, 2013/11/08
- Re: nt/msysconfig.sh, Dani Moncayo, 2013/11/08
- Re: nt/msysconfig.sh, Glenn Morris, 2013/11/10
- Re: nt/msysconfig.sh, Dani Moncayo, 2013/11/11
- Re: nt/msysconfig.sh, Glenn Morris, 2013/11/11
- Re: nt/msysconfig.sh, Glenn Morris, 2013/11/11