aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2013-11-21 09:26:55 -0800
committerPaul Eggert2013-11-21 09:26:55 -0800
commit4e8b693819c766e3c5c66096f500802559d9e124 (patch)
tree07587b77ef5e8b28786c311f16a8c073303ede64 /src
parent06e752b48f12b914c55bbb51842dbed45080e0bd (diff)
downloademacs-4e8b693819c766e3c5c66096f500802559d9e124.tar.gz
emacs-4e8b693819c766e3c5c66096f500802559d9e124.zip
Use just LIBXMENU, not LIBXMENU_DIR and LIBXMENU_BASE.
This simplifies the previous change to configure.ac and src/Makefile.in.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/Makefile.in8
2 files changed, 2 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1a8ac2190a3..769b4ca6e64 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -6,8 +6,6 @@
6 * Makefile.in (OLDXMENU_TARGET, OLDXMENU, OLDXMENU_DEPS) 6 * Makefile.in (OLDXMENU_TARGET, OLDXMENU, OLDXMENU_DEPS)
7 (really-lwlib, really-oldXMenu, stamp-oldxmenu) 7 (really-lwlib, really-oldXMenu, stamp-oldxmenu)
8 (../src/$(OLDXMENU), $(OLDXMENU)): Remove. 8 (../src/$(OLDXMENU), $(OLDXMENU)): Remove.
9 (LIBXMENU_DIR, LIBXMENU_BASE): New macros.
10 (LIBXMENU): Use them.
11 (temacs$(EXEEXT)): Depend on $(LIBXMENU), not stamp-oldxmenu. 9 (temacs$(EXEEXT)): Depend on $(LIBXMENU), not stamp-oldxmenu.
12 ($(lwlibdir)/liblw.a, $(oldXMenudir)/libXMenu11.a, FORCE): New targets. 10 ($(lwlibdir)/liblw.a, $(oldXMenudir)/libXMenu11.a, FORCE): New targets.
13 (boostrap-clean): No need to remove stamp-oldxmenu. 11 (boostrap-clean): No need to remove stamp-oldxmenu.
diff --git a/src/Makefile.in b/src/Makefile.in
index c110f3158d9..dd641e0eb19 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -181,11 +181,7 @@ LIBXT_OTHER=@LIBXT_OTHER@
181## If !HAVE_X11 || USE_GTK, empty. 181## If !HAVE_X11 || USE_GTK, empty.
182## Else if USE_X_TOOLKIT, $(lwlibdir)/liblw.a. 182## Else if USE_X_TOOLKIT, $(lwlibdir)/liblw.a.
183## Else $(oldXMenudir)/libXMenu11.a. 183## Else $(oldXMenudir)/libXMenu11.a.
184## LIBXMENU_DIR is the directory part, including any slash; 184LIBXMENU=@LIBXMENU@
185## LIBXMENU_BASE is the rest.
186LIBXMENU_DIR=@LIBXMENU_DIR@
187LIBXMENU_BASE=@LIBXMENU_BASE@
188LIBXMENU=$(LIBXMENU_DIR)$(LIBXMENU_BASE)
189 185
190## xmenu.o if HAVE_X_WINDOWS, else empty. 186## xmenu.o if HAVE_X_WINDOWS, else empty.
191XMENU_OBJ=@XMENU_OBJ@ 187XMENU_OBJ=@XMENU_OBJ@
@@ -204,7 +200,7 @@ LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER)
204## If HAVE_X11, $(LIBXT) $(LIBX_EXTRA), else empty. 200## If HAVE_X11, $(LIBXT) $(LIBX_EXTRA), else empty.
205LIBX_OTHER=@LIBX_OTHER@ 201LIBX_OTHER=@LIBX_OTHER@
206 202
207## LIBXMENU is nil if !HAVE_X_WINDOWS. 203## LIBXMENU is empty if !HAVE_X_WINDOWS.
208## LD_SWITCH_X_SITE should not be used if not using X, but nothing 204## LD_SWITCH_X_SITE should not be used if not using X, but nothing
209## sets it at present, and if something ever does, it should be 205## sets it at present, and if something ever does, it should be
210## configure, which should set it to nil in non-X builds. 206## configure, which should set it to nil in non-X builds.