From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Defining HAVE_MOUSE on Cygwin Date: Sat, 06 Oct 2012 21:56:01 -0400 Message-ID: <5070E131.6020402@cornell.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349574978 28703 80.91.229.3 (7 Oct 2012 01:56:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2012 01:56:18 +0000 (UTC) To: Emacs Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 07 03:56:24 2012 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 1TKg6Q-0001Nf-3Z for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 03:56:22 +0200 Original-Received: from localhost ([::1]:41825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKg6K-0006E4-9F for ged-emacs-devel@m.gmane.org; Sat, 06 Oct 2012 21:56:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKg6H-0006Dn-QB for emacs-devel@gnu.org; Sat, 06 Oct 2012 21:56:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKg6G-0007Q8-Lf for emacs-devel@gnu.org; Sat, 06 Oct 2012 21:56:13 -0400 Original-Received: from limestone4.mail.cornell.edu ([128.253.83.164]:64682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKg6G-0007Pu-Hh for emacs-devel@gnu.org; Sat, 06 Oct 2012 21:56:12 -0400 X-CornellRouted: This message has been Routed already. Original-Received: from soapstone1.mail.cornell.edu (soapstone1.mail.cornell.edu [128.253.83.143]) by limestone4.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q971u07R026069 for ; Sat, 6 Oct 2012 21:56:00 -0400 (EDT) Original-Received: from authusersmtp.mail.cornell.edu (granite2.mail.cornell.edu [128.253.83.142]) by soapstone1.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q971uDTr012769 for ; Sat, 6 Oct 2012 21:56:13 -0400 (EDT) Original-Received: from [172.17.21.118] ([63.149.67.2]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id q971u6lH006887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 6 Oct 2012 21:56:06 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-PMX-Version: 5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.10.7.14822 X-Original-Sender: kbrown@cornell.edu - Sat Oct 6 21:56:06 2012 X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-Received-From: 128.253.83.164 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:154149 Archived-At: A Cygwin user has requested that emacs have mouse support on Cygwin even if it is built --with-x=no. Does anyone see a problem with this? If not, what's the best way to do it? Here's one possibility: === modified file 'configure.ac' --- configure.ac 2012-10-06 00:44:36 +0000 +++ configure.ac 2012-10-07 01:53:21 +0000 @@ -4358,6 +4358,11 @@ AC_SUBST(WINDOW_SYSTEM_OBJ) +## Always build with mouse support on Cygwin +if test "$opsys" = "cygwin" && test "$window_system" = "none"; then + AC_DEFINE(HAVE_MOUSE, 1, [Define if you have mouse support.]) +fi + AH_TOP([/* GNU Emacs site configuration template file. Copyright (C) 1988, 1993-1994, 1999-2002, 2004-2012 Ken P.S. I'm not necessarily proposing this for 24.3, in view of the feature freeze.