aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2010-05-12 20:52:07 -0700
committerGlenn Morris2010-05-12 20:52:07 -0700
commit472c5d6b4488f3214992db8126e6238255b65a40 (patch)
treea79eeeac51174862b9844fffd5cf214e5888cb78 /src
parent0116466b56b2cfee2f4e4bdf2aaa17a9ad0f56ea (diff)
downloademacs-472c5d6b4488f3214992db8126e6238255b65a40.tar.gz
emacs-472c5d6b4488f3214992db8126e6238255b65a40.zip
Let configure set OLDXMENU, LIBXMENU if !HAVE_MENUS.
* configure.in (OLDXMENU, LIBXMENU): Set to empty if !HAVE_MENUS. * src/Makefile.in (OLDXMENU, LIBXMENU) [!HAVE_MENUS]: Let configure set these variables (to empty) in this case as well.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/Makefile.in10
2 files changed, 4 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0afd7265922..a95c5b06f09 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 (OLDXMENU, LIBXMENU) [!HAVE_MENUS]:
4 Let configure set these variables (to empty) in this case as well.
5
3 * Makefile.in (LD_SWITCH_X_SITE): Define as a variable, not via cpp. 6 * Makefile.in (LD_SWITCH_X_SITE): Define as a variable, not via cpp.
4 (LIBX_BASE): Use $LD_SWITCH_X_SITE. 7 (LIBX_BASE): Use $LD_SWITCH_X_SITE.
5 8
diff --git a/src/Makefile.in b/src/Makefile.in
index 1df4d562551..bbc598c3391 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -289,20 +289,12 @@ ALL_OBJC_CFLAGS=$(ALL_CFLAGS) $(GNU_OBJC_CFLAGS)
289 $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< 289 $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $<
290 290
291#ifdef HAVE_X_WINDOWS 291#ifdef HAVE_X_WINDOWS
292/* This test needs to say in cpp for the time being, since s/msdos.h
293 defines HAVE_MENUS, and does not use the configure script. */
294#ifdef HAVE_MENUS
295OLDXMENU=@OLDXMENU@ 292OLDXMENU=@OLDXMENU@
296LIBXMENU=@LIBXMENU@ 293LIBXMENU=@LIBXMENU@
297#else /* not HAVE_MENUS */
298OLDXMENU=
299LIBXMENU=
300#endif /* not HAVE_MENUS */
301
302LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER) 294LIBXT=$(TOOLKIT_LIBW) $(LIBXT_OTHER)
303LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE) 295LIBX_BASE=$(LIBXMENU) $(LD_SWITCH_X_SITE)
304LIBX_OTHER=@LIBX_OTHER@ 296LIBX_OTHER=@LIBX_OTHER@
305#endif /* not HAVE_X_WINDOWS */ 297#endif /* HAVE_X_WINDOWS */
306 298
307 299
308/* A macro which other sections of Makefile can redefine to munge the 300/* A macro which other sections of Makefile can redefine to munge the