diff options
| author | Glenn Morris | 2010-04-28 00:15:10 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-04-28 00:15:10 -0700 |
| commit | 658f86ca324cf730f343a6d87597df639282b53b (patch) | |
| tree | adc5b367275ca15ad3921af8f73bc255147c33e3 /src | |
| parent | bc0b5f61851a4014a4b3857b5c8c79db96ee756f (diff) | |
| download | emacs-658f86ca324cf730f343a6d87597df639282b53b.tar.gz emacs-658f86ca324cf730f343a6d87597df639282b53b.zip | |
Set GPM part of MOUSE_SUPPORT with configure, not cpp.
* configure.in (GPM_MOUSE_SUPPORT): New output variable.
* src/Makefile.in (GPM_MOUSE_SUPPORT): New, set by configure.
(MOUSE_SUPPORT) [!HAVE_MOUSE]: Use $GPM_MOUSE_SUPPORT.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/Makefile.in | 10 |
2 files changed, 8 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 53eab88cc39..4c974495a2f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-04-28 Glenn Morris <rgm@gnu.org> | 1 | 2010-04-28 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (GPM_MOUSE_SUPPORT): New, set by configure. | ||
| 4 | (MOUSE_SUPPORT) [!HAVE_MOUSE]: Use $GPM_MOUSE_SUPPORT. | ||
| 5 | |||
| 3 | * Makefile.in (FONT_OBJ): New, set by configure. | 6 | * Makefile.in (FONT_OBJ): New, set by configure. |
| 4 | (FONT_DRIVERS): Use $FONT_OBJ. | 7 | (FONT_DRIVERS): Use $FONT_OBJ. |
| 5 | 8 | ||
diff --git a/src/Makefile.in b/src/Makefile.in index a90b0ef862d..ca6a6acd955 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -112,6 +112,10 @@ NS_SUPPORT=@NS_SUPPORT@ | |||
| 112 | ## Only used if HAVE_X_WINDOWS and HAVE_WINDOW_SYSTEM. | 112 | ## Only used if HAVE_X_WINDOWS and HAVE_WINDOW_SYSTEM. |
| 113 | FONT_OBJ=@FONT_OBJ@ | 113 | FONT_OBJ=@FONT_OBJ@ |
| 114 | 114 | ||
| 115 | ## ${lispsource}mouse.elc if HAVE_GPM, otherwise empty. | ||
| 116 | ## Not used if HAVE_MOUSE. | ||
| 117 | GPM_MOUSE_SUPPORT=@GPM_MOUSE_SUPPORT@ | ||
| 118 | |||
| 115 | LIBSELINUX_LIBS = @LIBSELINUX_LIBS@ | 119 | LIBSELINUX_LIBS = @LIBSELINUX_LIBS@ |
| 116 | 120 | ||
| 117 | INTERVALS_H = dispextern.h intervals.h composite.h | 121 | INTERVALS_H = dispextern.h intervals.h composite.h |
| @@ -452,11 +456,7 @@ otherobj= $(termcapobj) lastfile.o $(mallocobj) $(WIDGET_OBJ) $(LIBOBJS) | |||
| 452 | #define MOUSE_SUPPORT ${lispsource}mouse.elc \ | 456 | #define MOUSE_SUPPORT ${lispsource}mouse.elc \ |
| 453 | ${lispsource}select.elc ${lispsource}scroll-bar.elc | 457 | ${lispsource}select.elc ${lispsource}scroll-bar.elc |
| 454 | #else | 458 | #else |
| 455 | #ifdef HAVE_GPM | 459 | #define MOUSE_SUPPORT $(GPM_MOUSE_SUPPORT) |
| 456 | #define MOUSE_SUPPORT ${lispsource}mouse.elc | ||
| 457 | #else | ||
| 458 | #define MOUSE_SUPPORT | ||
| 459 | #endif | ||
| 460 | #endif | 460 | #endif |
| 461 | 461 | ||
| 462 | #ifdef MSDOS | 462 | #ifdef MSDOS |