aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-05-13 00:57:28 -0700
committerGlenn Morris2010-05-13 00:57:28 -0700
commit3369c79f8a06eeca939603781499d903a25896f4 (patch)
treeb7add0b834587c72d584f3f1e1538596d6b28144
parentd5e982a6c1eb2a4ed1af368b6ba815e490b3b9d7 (diff)
downloademacs-3369c79f8a06eeca939603781499d903a25896f4.tar.gz
emacs-3369c79f8a06eeca939603781499d903a25896f4.zip
Unify some conditionals in src/Makefile.in.
* src/Makefile.in (FONT_DRIVERS): Place with other HAVE_X_WINDOWS stuff. (TOOLTIP_SUPPORT): Place with other HAVE_WINDOW_SYSTEM stuff.
-rw-r--r--src/ChangeLog3
-rw-r--r--src/Makefile.in19
2 files changed, 9 insertions, 13 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2ec13974f33..b58bc51d08e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12010-05-13 Glenn Morris <rgm@gnu.org> 12010-05-13 Glenn Morris <rgm@gnu.org>
2 2
3 * Makefile.in (FONT_DRIVERS): Place with other HAVE_X_WINDOWS stuff.
4 (TOOLTIP_SUPPORT): Place with other HAVE_WINDOW_SYSTEM stuff.
5
3 * Makefile.in (FONT_DRIVERS): If HAVE_X_WINDOWS is defined, 6 * Makefile.in (FONT_DRIVERS): If HAVE_X_WINDOWS is defined,
4 HAVE_WINDOW_SYSTEM must be too. 7 HAVE_WINDOW_SYSTEM must be too.
5 8
diff --git a/src/Makefile.in b/src/Makefile.in
index 7ea2669fcfb..7337bae3782 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -189,7 +189,7 @@ NS_SUPPORT=@NS_SUPPORT@
189GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@ 189GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@
190GNUSTEP_SYSTEM_LIBRARIES=@GNUSTEP_SYSTEM_LIBRARIES@ 190GNUSTEP_SYSTEM_LIBRARIES=@GNUSTEP_SYSTEM_LIBRARIES@
191 191
192## Only used if HAVE_X_WINDOWS and HAVE_WINDOW_SYSTEM. 192## Only used if HAVE_X_WINDOWS.
193FONT_OBJ=@FONT_OBJ@ 193FONT_OBJ=@FONT_OBJ@
194 194
195## ${lispsource}mouse.elc if HAVE_GPM, otherwise empty. 195## ${lispsource}mouse.elc if HAVE_GPM, otherwise empty.
@@ -294,6 +294,7 @@ LIBXMENU=@LIBXMENU@
294LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER) 294LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER)
295LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE) 295LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE)
296LIBX_OTHER=@LIBX_OTHER@ 296LIBX_OTHER=@LIBX_OTHER@
297FONT_DRIVERS=$(FONT_OBJ)
297#endif /* HAVE_X_WINDOWS */ 298#endif /* HAVE_X_WINDOWS */
298 299
299 300
@@ -353,10 +354,6 @@ ns_appresdir=@ns_appresdir@/
353ns_appsrc=@ns_appsrc@ 354ns_appsrc=@ns_appsrc@
354#endif /* HAVE_NS */ 355#endif /* HAVE_NS */
355 356
356#ifdef HAVE_X_WINDOWS
357FONT_DRIVERS=$(FONT_OBJ)
358#endif /* HAVE_X_WINDOWS */
359
360/* lastfile must follow all files 357/* lastfile must follow all files
361 whose initialized data areas should be dumped as pure by dump-emacs. */ 358 whose initialized data areas should be dumped as pure by dump-emacs. */
362obj= dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ 359obj= dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \
@@ -425,20 +422,16 @@ otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(gmallocobj) $(rallocobj) \
425#endif 422#endif
426 423
427#ifdef HAVE_WINDOW_SYSTEM 424#ifdef HAVE_WINDOW_SYSTEM
425#define TOOLTIP_SUPPORT ${lispsource}tooltip.elc
428#ifdef HAVE_X_WINDOWS 426#ifdef HAVE_X_WINDOWS
429#define WINDOW_SUPPORT $(BASE_WINDOW_SUPPORT) $(X_WINDOW_SUPPORT) 427#define WINDOW_SUPPORT $(BASE_WINDOW_SUPPORT) $(X_WINDOW_SUPPORT)
430#else 428#else
431#define WINDOW_SUPPORT $(BASE_WINDOW_SUPPORT) 429#define WINDOW_SUPPORT $(BASE_WINDOW_SUPPORT)
432#endif 430#endif /* HAVE_X_WINDOWS */
433#else
434#define WINDOW_SUPPORT
435#endif
436
437#ifdef HAVE_WINDOW_SYSTEM
438#define TOOLTIP_SUPPORT ${lispsource}tooltip.elc
439#else 431#else
440#define TOOLTIP_SUPPORT 432#define TOOLTIP_SUPPORT
441#endif 433#define WINDOW_SUPPORT
434#endif /* HAVE_WINDOW_SYSTEM */
442 435
443/* This is the platform-specific list of Lisp files loaded into the 436/* This is the platform-specific list of Lisp files loaded into the
444 dumped Emacs. It is arranged like this because it is easier to generate 437 dumped Emacs. It is arranged like this because it is easier to generate