emacs-devel
[Top][All Lists]
Advanced

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

Re: Defining HAVE_MOUSE on Cygwin


From: Eli Zaretskii
Subject: Re: Defining HAVE_MOUSE on Cygwin
Date: Sun, 07 Oct 2012 08:46:54 +0200

> Date: Sat, 06 Oct 2012 21:56:01 -0400
> From: Ken Brown <address@hidden>
> 
> 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

How will this work?  HAVE_MOUSE on a console requires mouse-support
infrastructure.  AFAIK, we only have one such infrastructure: GPM.  Is
that available on Cygwin?  If not, how will the mouse gestures be made
known to Emacs in this build?



reply via email to

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