aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2010-05-14 17:54:24 -0700
committerGlenn Morris2010-05-14 17:54:24 -0700
commit3df7b338249e90303a379b86e7aedbb0a7dec9ca (patch)
treef9bfdff9b1e6005e5c17061e238a63dae0554014 /src
parent2b5f541b4f67c7978cf124012593c7ceaeab6292 (diff)
downloademacs-3df7b338249e90303a379b86e7aedbb0a7dec9ca.tar.gz
emacs-3df7b338249e90303a379b86e7aedbb0a7dec9ca.zip
If HAVE_X11, also HAVE_X_WINDOWS and HAVE_MENUS.
* src/Makefile.in: Simplify cpp conditional. * admin/CPP-DEFINES: Comment.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/Makefile.in10
2 files changed, 7 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ff0dbddd641..1b1ea399210 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12010-05-15 Glenn Morris <rgm@gnu.org> 12010-05-15 Glenn Morris <rgm@gnu.org>
2 2
3 * Makefile.in: Simplify cpp conditional.
4
3 * Makefile.in (${ns_appdir}): Simplify using umask. 5 * Makefile.in (${ns_appdir}): Simplify using umask.
4 6
5 * Makefile.in (${ns_appdir}): Remove references to CVS-related files. 7 * Makefile.in (${ns_appdir}): Remove references to CVS-related files.
diff --git a/src/Makefile.in b/src/Makefile.in
index e4f7f07521c..2dd7340f9f8 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -611,6 +611,7 @@ LIBES = $(LOADLIBES) $(LIBS) $(LIBX_BASE) $(LIBX_OTHER) $(LIBSOUND) \
611 611
612all: emacs${EXEEXT} $(OTHER_FILES) 612all: emacs${EXEEXT} $(OTHER_FILES)
613 613
614/* Does anyone ever pay attention to the load-path-shadows output here? */
614emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp} 615emacs${EXEEXT}: temacs${EXEEXT} ${etc}DOC ${lisp}
615#ifdef CANNOT_DUMP 616#ifdef CANNOT_DUMP
616 rm -f emacs${EXEEXT} 617 rm -f emacs${EXEEXT}
@@ -664,8 +665,8 @@ temacs${EXEEXT}: $(LOCALCPP) $(START_FILES) stamp-oldxmenu ${obj} ${otherobj} pr
664prefix-args${EXEEXT}: prefix-args.o $(config_h) 665prefix-args${EXEEXT}: prefix-args.o $(config_h)
665 $(CC) $(LDFLAGS) prefix-args.o -o prefix-args 666 $(CC) $(LDFLAGS) prefix-args.o -o prefix-args
666 667
667#if defined (HAVE_X_WINDOWS) && defined (HAVE_X11) && defined (HAVE_MENUS) && ! defined (USE_GTK) 668/* HAVE_X11 implies HAVE_X_WINDOWS and HAVE_MENUS. */
668 669#if defined (HAVE_X11) && ! defined (USE_GTK)
669/* We use stamp-xmenu with these two deps to both ensure that lwlib 670/* We use stamp-xmenu with these two deps to both ensure that lwlib
670 gets remade based on its dependencies in its own makefile, 671 gets remade based on its dependencies in its own makefile,
671 and remake temacs if lwlib gets changed by this. */ 672 and remake temacs if lwlib gets changed by this. */
@@ -691,12 +692,12 @@ really-oldXMenu:
691 @true /* make -t should not create really-oldXMenu. */ 692 @true /* make -t should not create really-oldXMenu. */
692.PHONY: really-oldXMenu 693.PHONY: really-oldXMenu
693#endif /* not USE_X_TOOLKIT */ 694#endif /* not USE_X_TOOLKIT */
694#else /* not (HAVE_X_WINDOWS && HAVE_X11 && HAVE_MENUS && ! USE_GTK) */ 695#else /* !HAVE_X11 || USE_GTK */
695 696
696/* We don''t really need this, but satisfy the dependency. */ 697/* We don''t really need this, but satisfy the dependency. */
697stamp-oldxmenu: 698stamp-oldxmenu:
698 touch stamp-oldxmenu 699 touch stamp-oldxmenu
699#endif /* not (HAVE_X_WINDOWS && HAVE_X11 && HAVE_MENUS && ! USE_GTK) */ 700#endif /* HAVE_X11 && !USE_GTK */
700 701
701../config.status:: epaths.in 702../config.status:: epaths.in
702 @echo "The file epaths.h needs to be set up from epaths.in." 703 @echo "The file epaths.h needs to be set up from epaths.in."
@@ -979,7 +980,6 @@ ${ns_appbindir}Emacs: emacs${EXEEXT}
979 cp -f emacs${EXEEXT} ${ns_appbindir}Emacs 980 cp -f emacs${EXEEXT} ${ns_appbindir}Emacs
980 981
981ns-app: ${ns_appdir} ${ns_appbindir}Emacs 982ns-app: ${ns_appdir} ${ns_appbindir}Emacs
982
983#endif /* HAVE_NS */ 983#endif /* HAVE_NS */
984 984
985mostlyclean: 985mostlyclean: