diff options
| author | Glenn Morris | 2010-04-20 23:35:35 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-04-20 23:35:35 -0700 |
| commit | 10efe30244d5c73c119c29488aa64b85bdf2442c (patch) | |
| tree | 85b3882d253e07142cb2828ba9a784411199c889 /src | |
| parent | 3ec759e79e1043978baa24743510e352387be20d (diff) | |
| download | emacs-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/ChangeLog | 7 | ||||
| -rw-r--r-- | src/Makefile.in | 26 |
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 @@ | |||
| 1 | 2010-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 | |||
| 1 | 2010-04-21 Dan Nicolaescu <local_user@dannlt> | 8 | 2010-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 | ||
| 83 | DBUS_CFLAGS = @DBUS_CFLAGS@ | 83 | DBUS_CFLAGS = @DBUS_CFLAGS@ |
| 84 | DBUS_LIBS = @DBUS_LIBS@ | 84 | DBUS_LIBS = @DBUS_LIBS@ |
| 85 | DBUS_OBJ = @DBUS_OBJ@ | ||
| 85 | 86 | ||
| 86 | GCONF_CFLAGS = @GCONF_CFLAGS@ | 87 | GCONF_CFLAGS = @GCONF_CFLAGS@ |
| 87 | GCONF_LIBS = @GCONF_LIBS@ | 88 | GCONF_LIBS = @GCONF_LIBS@ |
| 88 | 89 | ||
| 90 | GTK_OBJ=@GTK_OBJ@ | ||
| 91 | |||
| 92 | LIBXSM=@LIBXSM@ | ||
| 93 | |||
| 94 | XMENU_OBJ=@XMENU_OBJ@ | ||
| 95 | XOBJ=@XOBJ@ | ||
| 96 | |||
| 89 | LIBSOUND= @LIBSOUND@ | 97 | LIBSOUND= @LIBSOUND@ |
| 90 | CFLAGS_SOUND= @CFLAGS_SOUND@ | 98 | CFLAGS_SOUND= @CFLAGS_SOUND@ |
| 91 | 99 | ||
| @@ -241,10 +249,6 @@ include @GNUSTEP_MAKEFILES@/Additional/gui.make | |||
| 241 | shared=no | 249 | shared=no |
| 242 | #endif | 250 | #endif |
| 243 | 251 | ||
| 244 | #ifdef HAVE_DBUS | ||
| 245 | DBUS_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 |
| 285 | XMENU_OBJ = xmenu.o | ||
| 286 | XOBJ= 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 | ||
| 292 | GTK_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= | |||
| 354 | LIBXMENU= | 350 | LIBXMENU= |
| 355 | #endif /* USE_GTK */ | 351 | #endif /* USE_GTK */ |
| 356 | 352 | ||
| 357 | #ifdef HAVE_X_SM | 353 | LIBXT=$(LIBW) $(LIBXSM) |
| 358 | LIBXT=$(LIBW) -lSM -lICE | ||
| 359 | #else | ||
| 360 | LIBXT=$(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 |