unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Defining HAVE_MOUSE on Cygwin
@ 2012-10-07  1:56 Ken Brown
  2012-10-07  6:46 ` Eli Zaretskii
  0 siblings, 1 reply; 14+ messages in thread
From: Ken Brown @ 2012-10-07  1:56 UTC (permalink / raw)
  To: Emacs

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.



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-11-24 20:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-07  1:56 Defining HAVE_MOUSE on Cygwin Ken Brown
2012-10-07  6:46 ` Eli Zaretskii
2012-10-07 12:18   ` Ken Brown
2012-10-07 14:16     ` Eli Zaretskii
2012-10-07 14:43       ` Stefan Monnier
2012-10-07 15:22         ` Eli Zaretskii
2012-10-07 19:38           ` Stefan Monnier
2012-10-07 19:47             ` Eli Zaretskii
2012-11-23 22:46               ` Ken Brown
2012-11-24 15:13                 ` Stefan Monnier
2012-11-24 17:22                   ` Ken Brown
2012-11-24 20:32                     ` Stefan Monnier
2012-10-07 17:33       ` Ken Brown
2012-10-07 19:46         ` Eli Zaretskii

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).