diff options
| author | Glenn Morris | 2010-05-12 20:18:04 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-12 20:18:04 -0700 |
| commit | 0116466b56b2cfee2f4e4bdf2aaa17a9ad0f56ea (patch) | |
| tree | a2d985980fb9a550d955d924fbcb600efcc1594c /src | |
| parent | 5a903aa9e08139e51560382fd76afa69d7e50262 (diff) | |
| download | emacs-0116466b56b2cfee2f4e4bdf2aaa17a9ad0f56ea.tar.gz emacs-0116466b56b2cfee2f4e4bdf2aaa17a9ad0f56ea.zip | |
Remove some unused #define's, previously replaced by variables.
* configure.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Do not define.
* src/Makefile.in (LD_SWITCH_X_SITE): Define as a variable, not via cpp.
(LIBX_BASE): Use $LD_SWITCH_X_SITE.
* nt/config.nt (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Remove undefs.
* msdos/sed1v2.inp: Comment.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/Makefile.in | 16 |
2 files changed, 13 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a1d1cdfebf8..0afd7265922 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 (LD_SWITCH_X_SITE): Define as a variable, not via cpp. | ||
| 4 | (LIBX_BASE): Use $LD_SWITCH_X_SITE. | ||
| 5 | |||
| 3 | * Makefile.in (C_SWITCH_X_SYSTEM, C_SWITCH_X_SITE, LIB_STANDARD) | 6 | * Makefile.in (C_SWITCH_X_SYSTEM, C_SWITCH_X_SITE, LIB_STANDARD) |
| 4 | (LIB_MATH, FONTCONFIG_CFLAGS, FONTCONFIG_LIBS, FREETYPE_CFLAGS) | 7 | (LIB_MATH, FONTCONFIG_CFLAGS, FONTCONFIG_LIBS, FREETYPE_CFLAGS) |
| 5 | (FREETYPE_LIBS, LIBOTF_CFLAGS, LIBOTF_LIBS, M17N_FLT_CFLAGS) | 8 | (FREETYPE_LIBS, LIBOTF_CFLAGS, LIBOTF_LIBS, M17N_FLT_CFLAGS) |
diff --git a/src/Makefile.in b/src/Makefile.in index 8b360ae9eea..1df4d562551 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -85,6 +85,15 @@ C_SWITCH_X_SYSTEM=@C_SWITCH_X_SYSTEM@ | |||
| 85 | ## This is used before C_SWITCH_X_SYSTEM and may override it. | 85 | ## This is used before C_SWITCH_X_SYSTEM and may override it. |
| 86 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ | 86 | C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ |
| 87 | 87 | ||
| 88 | ## Define LD_SWITCH_X_SITE to contain any special flags your loader | ||
| 89 | ## may need to deal with X Windows. For instance, if your X libraries | ||
| 90 | ## aren't in a place that your loader can find on its own, you might | ||
| 91 | ## want to add "-L/..." or something similar. Only used if | ||
| 92 | ## HAVE_X_WINDOWS. | ||
| 93 | ## FIXME? configure sets a value for this, but it has never been | ||
| 94 | ## substituted in this or any other Makefile. Cf C_SWITCH_X_SITE. | ||
| 95 | LD_SWITCH_X_SITE= | ||
| 96 | |||
| 88 | ## This holds any special options for linking temacs only (ie, not | 97 | ## This holds any special options for linking temacs only (ie, not |
| 89 | ## used by configure). Not used elsewhere because it sometimes | 98 | ## used by configure). Not used elsewhere because it sometimes |
| 90 | ## contains options that have to do with using Emacs's crt0, | 99 | ## contains options that have to do with using Emacs's crt0, |
| @@ -241,11 +250,6 @@ DEPFLAGS = -MMD -MF deps/$*.d | |||
| 241 | do not let it interfere with this file. */ | 250 | do not let it interfere with this file. */ |
| 242 | #undef register | 251 | #undef register |
| 243 | 252 | ||
| 244 | /* This macro is for switches specifically related to X Windows. */ | ||
| 245 | #ifndef LD_SWITCH_X_SITE | ||
| 246 | #define LD_SWITCH_X_SITE | ||
| 247 | #endif | ||
| 248 | |||
| 249 | #ifdef NS_IMPL_GNUSTEP | 253 | #ifdef NS_IMPL_GNUSTEP |
| 250 | /* Pull in stuff from GNUstep-make. */ | 254 | /* Pull in stuff from GNUstep-make. */ |
| 251 | FOUNDATION_LIB=gnu | 255 | FOUNDATION_LIB=gnu |
| @@ -296,7 +300,7 @@ LIBXMENU= | |||
| 296 | #endif /* not HAVE_MENUS */ | 300 | #endif /* not HAVE_MENUS */ |
| 297 | 301 | ||
| 298 | LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER) | 302 | LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER) |
| 299 | LIBX_BASE=$(LIBXMENU) LD_SWITCH_X_SITE | 303 | LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE) |
| 300 | LIBX_OTHER=@LIBX_OTHER@ | 304 | LIBX_OTHER=@LIBX_OTHER@ |
| 301 | #endif /* not HAVE_X_WINDOWS */ | 305 | #endif /* not HAVE_X_WINDOWS */ |
| 302 | 306 | ||