diff options
| author | Glenn Morris | 2010-05-13 00:57:28 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-13 00:57:28 -0700 |
| commit | 3369c79f8a06eeca939603781499d903a25896f4 (patch) | |
| tree | b7add0b834587c72d584f3f1e1538596d6b28144 | |
| parent | d5e982a6c1eb2a4ed1af368b6ba815e490b3b9d7 (diff) | |
| download | emacs-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/ChangeLog | 3 | ||||
| -rw-r--r-- | src/Makefile.in | 19 |
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 @@ | |||
| 1 | 2010-05-13 Glenn Morris <rgm@gnu.org> | 1 | 2010-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@ | |||
| 189 | GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@ | 189 | GNU_OBJC_CFLAGS=@GNU_OBJC_CFLAGS@ |
| 190 | GNUSTEP_SYSTEM_LIBRARIES=@GNUSTEP_SYSTEM_LIBRARIES@ | 190 | GNUSTEP_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. |
| 193 | FONT_OBJ=@FONT_OBJ@ | 193 | FONT_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@ | |||
| 294 | LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER) | 294 | LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER) |
| 295 | LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE) | 295 | LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE) |
| 296 | LIBX_OTHER=@LIBX_OTHER@ | 296 | LIBX_OTHER=@LIBX_OTHER@ |
| 297 | FONT_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@/ | |||
| 353 | ns_appsrc=@ns_appsrc@ | 354 | ns_appsrc=@ns_appsrc@ |
| 354 | #endif /* HAVE_NS */ | 355 | #endif /* HAVE_NS */ |
| 355 | 356 | ||
| 356 | #ifdef HAVE_X_WINDOWS | ||
| 357 | FONT_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. */ |
| 362 | obj= dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ | 359 | obj= 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 |