aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2010-04-20 23:35:35 -0700
committerGlenn Morris2010-04-20 23:35:35 -0700
commit10efe30244d5c73c119c29488aa64b85bdf2442c (patch)
tree85b3882d253e07142cb2828ba9a784411199c889 /src
parent3ec759e79e1043978baa24743510e352387be20d (diff)
downloademacs-10efe30244d5c73c119c29488aa64b85bdf2442c.tar.gz
emacs-10efe30244d5c73c119c29488aa64b85bdf2442c.zip
Remove some more cpp in favor of autoconf.
* configure.in (LIBSELINUX_LIBS): Always substitute in Makefiles. (GTK_OBJ, DBUS_OBJ, LIBXSM, XMENU_OBJ, XOBJ): New output variables. * src/Makefile.in (DBUS_OBJ, GTK_OBJ, XMENU_OBJ, XOBJ): Define using autoconf, not cpp. (LIBXSM): New variable, set by autoconf. (LIBXT): Use $LIBXSM.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/Makefile.in26
2 files changed, 16 insertions, 17 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b88211f82dd..8bed2e609d0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12010-04-21 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (DBUS_OBJ, GTK_OBJ, XMENU_OBJ, XOBJ):
4 Define using autoconf, not cpp.
5 (LIBXSM): New variable, set by autoconf.
6 (LIBXT): Use $LIBXSM.
7
12010-04-21 Dan Nicolaescu <local_user@dannlt> 82010-04-21 Dan Nicolaescu <local_user@dannlt>
2 9
3 Remove NOMULTIPLEJOBS, unused. 10 Remove NOMULTIPLEJOBS, unused.
diff --git a/src/Makefile.in b/src/Makefile.in
index 1bb05c9e27e..61b6cef6827 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -82,10 +82,18 @@ C_SWITCH_X_SITE=@C_SWITCH_X_SITE@
82 82
83DBUS_CFLAGS = @DBUS_CFLAGS@ 83DBUS_CFLAGS = @DBUS_CFLAGS@
84DBUS_LIBS = @DBUS_LIBS@ 84DBUS_LIBS = @DBUS_LIBS@
85DBUS_OBJ = @DBUS_OBJ@
85 86
86GCONF_CFLAGS = @GCONF_CFLAGS@ 87GCONF_CFLAGS = @GCONF_CFLAGS@
87GCONF_LIBS = @GCONF_LIBS@ 88GCONF_LIBS = @GCONF_LIBS@
88 89
90GTK_OBJ=@GTK_OBJ@
91
92LIBXSM=@LIBXSM@
93
94XMENU_OBJ=@XMENU_OBJ@
95XOBJ=@XOBJ@
96
89LIBSOUND= @LIBSOUND@ 97LIBSOUND= @LIBSOUND@
90CFLAGS_SOUND= @CFLAGS_SOUND@ 98CFLAGS_SOUND= @CFLAGS_SOUND@
91 99
@@ -241,10 +249,6 @@ include @GNUSTEP_MAKEFILES@/Additional/gui.make
241shared=no 249shared=no
242#endif 250#endif
243 251
244#ifdef HAVE_DBUS
245DBUS_OBJ = dbusbind.o
246#endif
247
248/* DO NOT use -R. There is a special hack described in lastfile.c 252/* DO NOT use -R. There is a special hack described in lastfile.c
249 which is used instead. Some initialized data areas are modified 253 which is used instead. Some initialized data areas are modified
250 at initial startup, then labeled as part of the text area when 254 at initial startup, then labeled as part of the text area when
@@ -282,16 +286,8 @@ ALL_OBJC_CFLAGS=$(ALL_CFLAGS) @GNU_OBJC_CFLAGS@
282#endif 286#endif
283 287
284#ifdef HAVE_X_WINDOWS 288#ifdef HAVE_X_WINDOWS
285XMENU_OBJ = xmenu.o
286XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o \
287 xsettings.o xgselect.o
288
289#ifdef HAVE_MENUS 289#ifdef HAVE_MENUS
290 290
291#ifdef USE_GTK
292GTK_OBJ= gtkutil.o
293#endif
294
295/* The X Menu stuff is present in the X10 distribution, but missing 291/* The X Menu stuff is present in the X10 distribution, but missing
296 from X11. If we have X10, just use the installed library; 292 from X11. If we have X10, just use the installed library;
297 otherwise, use our own copy. */ 293 otherwise, use our own copy. */
@@ -354,11 +350,7 @@ OLDXMENU=
354LIBXMENU= 350LIBXMENU=
355#endif /* USE_GTK */ 351#endif /* USE_GTK */
356 352
357#ifdef HAVE_X_SM 353LIBXT=$(LIBW) $(LIBXSM)
358LIBXT=$(LIBW) -lSM -lICE
359#else
360LIBXT=$(LIBW)
361#endif
362#endif /* not USE_X_TOOLKIT */ 354#endif /* not USE_X_TOOLKIT */
363 355
364#ifdef HAVE_X11 356#ifdef HAVE_X11