aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/Makefile.in16
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 @@
12010-05-13 Glenn Morris <rgm@gnu.org> 12010-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.
86C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ 86C_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.
95LD_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. */
251FOUNDATION_LIB=gnu 255FOUNDATION_LIB=gnu
@@ -296,7 +300,7 @@ LIBXMENU=
296#endif /* not HAVE_MENUS */ 300#endif /* not HAVE_MENUS */
297 301
298LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER) 302LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER)
299LIBX_BASE=$(LIBXMENU) LD_SWITCH_X_SITE 303LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE)
300LIBX_OTHER=@LIBX_OTHER@ 304LIBX_OTHER=@LIBX_OTHER@
301#endif /* not HAVE_X_WINDOWS */ 305#endif /* not HAVE_X_WINDOWS */
302 306