Mercurial > emacs
changeset 108298:ffcbc15ab440
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.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 07 May 2010 15:57:24 +0300 |
parents | e514622e9d11 |
children | a5fcd78ad3eb |
files | msdos/ChangeLog msdos/sed1v2.inp msdos/sed3v2.inp src/ChangeLog src/Makefile.in src/s/msdos.h |
diffstat | 6 files changed, 72 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/msdos/ChangeLog Fri May 07 14:21:29 2010 +0300 +++ b/msdos/ChangeLog Fri May 07 15:57:24 2010 +0300 @@ -1,3 +1,23 @@ +2010-05-07 Eli Zaretskii <eliz@gnu.org> + + Fix breakage due to autoconfiscation of Makefile.in files. + + * sed3v2.inp (C_SWITCH_MACHINE): Edit to empty. + + * 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. + 2010-05-06 Glenn Morris <rgm@gnu.org> * sed1v2.inp, sed5x.inp: Remove LN_S, unused.
--- a/msdos/sed1v2.inp Fri May 07 14:21:29 2010 +0300 +++ b/msdos/sed1v2.inp Fri May 07 15:57:24 2010 +0300 @@ -38,17 +38,53 @@ /^CPPFLAGS *=/s/@[^@\n]*@// /^LDFLAGS *=/s/@[^@\n]*@// /^LIBS *=/s/@[^@\n]*@// +s/@LIB_MATH@/-lm/ /^LIBES *=/,/^ *$/ { s/@[^@\n]*@//g } /^LIBOBJS *=/s/@[^@\n]*@/getloadavg.o/ -/^GETLOADAVG_LIBS *=/s/@[^@\n]*@// +/^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@// +/^C_SWITCH_SYSTEM *=/s/@C_SWITCH_SYSTEM@// +/^LD_SWITCH_SYSTEM_TEMACS *=/s/@LD_SWITCH_SYSTEM_TEMACS@// +/^LD_SWITCH_X_SITE_AUX *=/s/@LD_SWITCH_X_SITE_AUX@// +/^LD_SWITCH_X_SITE_AUX_RPATH *=/s/@LD_SWITCH_X_SITE_AUX_RPATH@// +/^LD_SWITCH_SYSTEM *=/s/@LD_SWITCH_SYSTEM@// +/^LD_SWITCH_SYSTEM_EXTRA *=/s/@LD_SWITCH_SYSTEM_EXTRA@// +/^LIBTIFF *=/s/@LIBTIFF@// +/^LIBJPEG *=/s/@LIBJPEG@// +/^LIBPNG *=/s/@LIBPNG@// +/^LIBGIF *=/s/@LIBGIF@// +/^LIBXPM *=/s/@LIBXPM@// +/^XFT_LIBS *=/s/@XFT_LIBS@// +/^DBUS_CFLAGS *=/s/@DBUS_CFLAGS@// +/^DBUS_LIBS *=/s/@DBUS_LIBS@// +/^DBUS_OBJ *=/s/@DBUS_OBJ@// +/^GCONF_CFLAGS *=/s/@GCONF_CFLAGS@// +/^GCONF_LIBS *=/s/@GCONF_LIBS@// +/^GTK_OBJ *=/s/@GTK_OBJ@// +/^LIBXMU *=/s/@LIBXMU@// +/^LIBXSM *=/s/@LIBXSM@// +/^LIBXTR6 *=/s/@LIBXTR6@// +/^XOBJ *=/s/@XOBJ@// +/^TOOLKIT_LIBW *=/s/@TOOLKIT_LIBW@// /^LIBSOUND *=/s/@LIBSOUND@// /^CFLAGS_SOUND *=/s/@CFLAGS_SOUND@// /^RSVG_LIBS *=/s/@RSVG_LIBS@// /^RSVG_CFLAGS *=/s/@RSVG_CFLAGS@// +/^WIDGET_OBJ *=/s/@WIDGET_OBJ@// +/^CYGWIN_OBJ *=/s/@CYGWIN_OBJ@// +/^NS_OBJ *=/s/@NS_OBJ@// +/^NS_SUPPORT *=/s/@NS_SUPPORT@// +/^LIBSELINUX_LIBS *=/s/@LIBSELINUX_LIBS@// +/^GETLOADAVG_LIBS *=/s/@[^@\n]*@// +/^START_FILES *=/s/@START_FILES@// /^OTHER_FILES *=/s/@OTHER_FILES@// +/^XMENU_OBJ *=/s/@XMENU_OBJ@/xmenu.o/ +/^FONT_OBJ *=/s/@FONT_OBJ@/xfont.o ftfont.o xftfont.o ftxfont.o/ /^EXEEXT *=/s/@EXEEXT@/.exe/ +/^PRE_ALLOC_OBJ *=/s/@PRE_ALLOC_OBJ@/lastfile.o/ +/^POST_ALLOC_OBJ *=/s/@POST_ALLOC_OBJ@/$(vmlimitobj)/ +s/@unexec@/unexec.o/g /^version *=/s/@[^@\n]*@// /^M_FILE *=/s!@[^@\n]*@!m/intel386.h! /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
--- a/msdos/sed3v2.inp Fri May 07 14:21:29 2010 +0300 +++ b/msdos/sed3v2.inp Fri May 07 15:57:24 2010 +0300 @@ -36,6 +36,7 @@ /^LIBS_MAIL *=/s/@[^@\n]*@//g /^CFLAGS *=/s!=.*$!=-O2 -g! /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS! +/^C_SWITCH_MACHINE *=/s/@C_SWITCH_MACHINE@// /^LOADLIBES *=/s!=.*$!=! /^ALLOCA *=/s!@ALLOCA@!! /^EXEEXT *=/s!@EXEEXT@!!
--- a/src/ChangeLog Fri May 07 14:21:29 2010 +0300 +++ b/src/ChangeLog Fri May 07 15:57:24 2010 +0300 @@ -1,7 +1,13 @@ 2010-05-07 Eli Zaretskii <eliz@gnu.org> - * Makefile.in (PRE_ALLOC_OBJ): Don't use Make-style comments past - the "start of cpp stuff" line. + Fix the MS-DOS build, broken by autoconfiscation. + + * 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). + + * s/msdos.h (UNEXEC): Don't define (@unexec@ in Makefile.in is + edited directly by msdos/sed1v2.inp). 2010-05-07 Glenn Morris <rgm@gnu.org>
--- a/src/Makefile.in Fri May 07 14:21:29 2010 +0300 +++ b/src/Makefile.in Fri May 07 15:57:24 2010 +0300 @@ -240,8 +240,8 @@ $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< #ifdef HAVE_X_WINDOWS -/* This test needs to say in cpp for the time being, since s/ms-w32.h and - s/msdos.h define HAVE_MENUS, possibly overriding configure. */ +/* This test needs to say in cpp for the time being, since s/msdos.h + defines HAVE_MENUS, and does not use the configure script. */ #ifdef HAVE_MENUS OLDXMENU=@OLDXMENU@ LIBXMENU=@LIBXMENU@ @@ -321,9 +321,10 @@ #ifdef MSDOS #ifdef HAVE_X_WINDOWS -MSDOS_OBJ = dosfns.o msdos.o xmenu.o +MSDOS_OBJ = dosfns.o msdos.o +#define LIBS_SYSTEM -lxext -lsys #else -MSDOS_OBJ = dosfns.o msdos.o w16select.o xmenu.o termcap.o +MSDOS_OBJ = dosfns.o msdos.o w16select.o termcap.o #endif #endif
--- a/src/s/msdos.h Fri May 07 14:21:29 2010 +0300 +++ b/src/s/msdos.h Fri May 07 15:57:24 2010 +0300 @@ -131,7 +131,7 @@ /* We have (the code to control) a mouse. */ #define HAVE_MOUSE -/* We canuse mouse menus. */ +/* We can use mouse menus. */ #define HAVE_MENUS /* Define one of these for easier conditionals. */ @@ -163,7 +163,5 @@ #define NO_REMAP -#define UNEXEC unexec.o - /* arch-tag: d184f860-815d-4ff4-8187-d05c0f3c37d0 (do not change this comment) */