From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.devel Subject: Re: nt/msysconfig.sh Date: Thu, 7 Nov 2013 12:39:38 +0100 Message-ID: References: <8sy55144zm.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1383824392 19884 80.91.229.3 (7 Nov 2013 11:39:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Nov 2013 11:39:52 +0000 (UTC) Cc: Eli Zaretskii , Emacs development discussions To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 07 12:39:58 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VeNwL-0007u9-E4 for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2013 12:39:57 +0100 Original-Received: from localhost ([::1]:39784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeNwL-0007ys-1S for ged-emacs-devel@m.gmane.org; Thu, 07 Nov 2013 06:39:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeNwG-0007yi-Gg for emacs-devel@gnu.org; Thu, 07 Nov 2013 06:39:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VeNwC-0000se-0l for emacs-devel@gnu.org; Thu, 07 Nov 2013 06:39:52 -0500 Original-Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:59338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VeNw4-0000jM-Ho; Thu, 07 Nov 2013 06:39:40 -0500 Original-Received: by mail-lb0-f178.google.com with SMTP id l4so328415lbv.9 for ; Thu, 07 Nov 2013 03:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8YpAwOvMR3A9H31pQ7nAPHVHBC56PRaBOjuwq5koIbM=; b=q5vxgfv7uegicyjGI86grWENUouOuYuQoQXEwscdLam1ZAzkml9yknbF8lLB7mGnjs ZnOkWcOi9So2AIUrmt1z4lgpqZJEVE3IVBTHuMD2lObP/CObQwGHlpucja3L7NCoTxKh RdTlqhq5u4xW9PaCUDMMFv9Uzuwj8gCAcrE7KVsEx2YMt5YAxUMGRzo33lbBbsjtQdLW NpXAlYbCu/f5pTcjKrtSQJBywvgavmf79Xom9DdpNUXZh9BGqRN/80BEPSn4nF/6pvfq o2q8RApfgmERD46XTwLHZX/kjDee94N8SUjtJsbnoqEZ6MdpGdwJmX+3jOy2jfTdsnrk bhZQ== X-Received: by 10.152.171.72 with SMTP id as8mr5963840lac.33.1383824378293; Thu, 07 Nov 2013 03:39:38 -0800 (PST) Original-Received: by 10.114.176.231 with HTTP; Thu, 7 Nov 2013 03:39:38 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165031 Archived-At: >> 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 . 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