diff options
| author | Eli Zaretskii | 2010-05-07 15:57:24 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2010-05-07 15:57:24 +0300 |
| commit | 9fdec8bc72cc00fa97d72d96e12276846a0ce2f6 (patch) | |
| tree | cd91e1ba151aa1efb5bce6146e1aafaf521db66c /src | |
| parent | f724825e893b6649cb8ade08101205fe0faa363a (diff) | |
| download | emacs-9fdec8bc72cc00fa97d72d96e12276846a0ce2f6.tar.gz emacs-9fdec8bc72cc00fa97d72d96e12276846a0ce2f6.zip | |
Fix MS-DOS configuring in lib-src/ and src/, broken by autoconfiscation.
src/Makefile.in: Don't use Make-style comments past the "start of
cpp stuff" line.
(MSDOS_OBJ): Remove xmenu.o (it is now defined by XMENU_OBJ).
src/s/msdos.h (UNEXEC): Don't define (@unexec@ in Makefile.in is
edited directly by msdos/sed1v2.inp).
msdos/sed3v2.inp (C_SWITCH_MACHINE): Edit to empty.
msdos/sed1v2.inp (@LIB_MATH@): Edit to -lm.
(C_SWITCH_MACHINE, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM_TEMACS)
(LD_SWITCH_X_SITE_AUX, LD_SWITCH_X_SITE_AUX_RPATH)
(LD_SWITCH_SYSTEM, LD_SWITCH_SYSTEM_EXTRA, LIBTIFF, LIBJPEG)
(LIBPNG, LIBGIF, LIBXPM, XFT_LIBS, DBUS_CFLAGS, DBUS_LIBS)
(DBUS_OBJ, GCONF_CFLAGS, GCONF_LIBS, GTK_OBJ, LIBXMU, LIBXSM)
(LIBXTR6, XOBJ, TOOLKIT_LIBW, WIDGET_OBJ, CYGWIN_OBJ, NS_OBJ)
(NS_SUPPORT, LIBSELINUX_LIBS, START_FILES): Edit to empty.
(XMENU_OBJ): Edit to xmenu.o.
(FONT_OBJ): Edit to value used for X on Unix.
(PRE_ALLOC_OBJ): Edit to lastfile.o.
(POST_ALLOC_OBJ): Edit to $(vmlimitobj).
(@unexec@): Edit to unexec.o.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/Makefile.in | 9 | ||||
| -rw-r--r-- | src/s/msdos.h | 4 |
3 files changed, 14 insertions, 9 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b6847aa164e..c2ba56b4e6f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,7 +1,13 @@ | |||
| 1 | 2010-05-07 Eli Zaretskii <eliz@gnu.org> | 1 | 2010-05-07 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (PRE_ALLOC_OBJ): Don't use Make-style comments past | 3 | Fix the MS-DOS build, broken by autoconfiscation. |
| 4 | the "start of cpp stuff" line. | 4 | |
| 5 | * Makefile.in: Don't use Make-style comments past the "start of | ||
| 6 | cpp stuff" line. | ||
| 7 | (MSDOS_OBJ): Remove xmenu.o (it is now defined by XMENU_OBJ). | ||
| 8 | |||
| 9 | * s/msdos.h (UNEXEC): Don't define (@unexec@ in Makefile.in is | ||
| 10 | edited directly by msdos/sed1v2.inp). | ||
| 5 | 11 | ||
| 6 | 2010-05-07 Glenn Morris <rgm@gnu.org> | 12 | 2010-05-07 Glenn Morris <rgm@gnu.org> |
| 7 | 13 | ||
diff --git a/src/Makefile.in b/src/Makefile.in index f6fcff659a6..43a1cae02dc 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -240,8 +240,8 @@ ALL_OBJC_CFLAGS=$(ALL_CFLAGS) @GNU_OBJC_CFLAGS@ | |||
| 240 | $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< | 240 | $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< |
| 241 | 241 | ||
| 242 | #ifdef HAVE_X_WINDOWS | 242 | #ifdef HAVE_X_WINDOWS |
| 243 | /* This test needs to say in cpp for the time being, since s/ms-w32.h and | 243 | /* This test needs to say in cpp for the time being, since s/msdos.h |
| 244 | s/msdos.h define HAVE_MENUS, possibly overriding configure. */ | 244 | defines HAVE_MENUS, and does not use the configure script. */ |
| 245 | #ifdef HAVE_MENUS | 245 | #ifdef HAVE_MENUS |
| 246 | OLDXMENU=@OLDXMENU@ | 246 | OLDXMENU=@OLDXMENU@ |
| 247 | LIBXMENU=@LIBXMENU@ | 247 | LIBXMENU=@LIBXMENU@ |
| @@ -321,9 +321,10 @@ LD=ld | |||
| 321 | 321 | ||
| 322 | #ifdef MSDOS | 322 | #ifdef MSDOS |
| 323 | #ifdef HAVE_X_WINDOWS | 323 | #ifdef HAVE_X_WINDOWS |
| 324 | MSDOS_OBJ = dosfns.o msdos.o xmenu.o | 324 | MSDOS_OBJ = dosfns.o msdos.o |
| 325 | #define LIBS_SYSTEM -lxext -lsys | ||
| 325 | #else | 326 | #else |
| 326 | MSDOS_OBJ = dosfns.o msdos.o w16select.o xmenu.o termcap.o | 327 | MSDOS_OBJ = dosfns.o msdos.o w16select.o termcap.o |
| 327 | #endif | 328 | #endif |
| 328 | #endif | 329 | #endif |
| 329 | 330 | ||
diff --git a/src/s/msdos.h b/src/s/msdos.h index 8cd9bfc8491..5199799a226 100644 --- a/src/s/msdos.h +++ b/src/s/msdos.h | |||
| @@ -131,7 +131,7 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */ | |||
| 131 | /* We have (the code to control) a mouse. */ | 131 | /* We have (the code to control) a mouse. */ |
| 132 | #define HAVE_MOUSE | 132 | #define HAVE_MOUSE |
| 133 | 133 | ||
| 134 | /* We canuse mouse menus. */ | 134 | /* We can use mouse menus. */ |
| 135 | #define HAVE_MENUS | 135 | #define HAVE_MENUS |
| 136 | 136 | ||
| 137 | /* Define one of these for easier conditionals. */ | 137 | /* Define one of these for easier conditionals. */ |
| @@ -163,7 +163,5 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */ | |||
| 163 | 163 | ||
| 164 | #define NO_REMAP | 164 | #define NO_REMAP |
| 165 | 165 | ||
| 166 | #define UNEXEC unexec.o | ||
| 167 | |||
| 168 | /* arch-tag: d184f860-815d-4ff4-8187-d05c0f3c37d0 | 166 | /* arch-tag: d184f860-815d-4ff4-8187-d05c0f3c37d0 |
| 169 | (do not change this comment) */ | 167 | (do not change this comment) */ |