[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Defining HAVE_MOUSE on Cygwin

From: Ken Brown
Subject: Defining HAVE_MOUSE on Cygwin
Date: Sat, 06 Oct 2012 21:56:01 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0

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 @@


+## 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.])
 AH_TOP([/* GNU Emacs site configuration template file.

 Copyright (C) 1988, 1993-1994, 1999-2002, 2004-2012


P.S. I'm not necessarily proposing this for 24.3, in view of the feature freeze.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]