1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

66 Commits

Author SHA1 Message Date
Glenn Morris
81ac4f3536 Do not preprocess src/Makefile.in.
* configure.in: Do not preprocess src/Makefile.in.
(cpp_undefs, CPP_NEED_TRADITIONAL): Remove.
(AC_EGREP_CPP): Test no longer needed.
* configure: Regenerate.

* config.bat: Do not preprocess src/Makefile.in.

* make-dist: No more Makefile.c files.

* INSTALL, src/README: Makefiles are not preprocessed.

* src/Makefile.in, src/autodeps.mk, src/deps.mk, src/ns.mk:
Convert comments to Makefile format.

* lib-src/Makefile.in (distclean): No more Makefile.c.
* src/Makefile.in (bootstrap-clean): No more Makefile.c.

* admin/notes/cpp: Remove file.

* admin/quick-install-emacs (AVOID): No more Makefile.c files.

* etc/PROBLEMS, etc/MACHINES: Remove details of cpp problems which can
no longer occur.
2010-05-26 22:43:27 -07:00
Glenn Morris
74e6ff9a60 * config.bat: Need to add the deps.mk file before running cpp. 2010-05-19 23:24:35 -07:00
Glenn Morris
9d5cf9b6b6 Handle auto-depend with configure.
* make-dist (src): Include *.mk.
* config.bat: Concatenate deps.mk onto the end of src/Makefile.
* configure.in (DEPFLAGS, MKDEPDIR): New output variables.
(deps_frag): New output file.
(AUTO_DEPEND): Remove this definition.

* src/Makefile.in (DEPDIR): New constant.
(DEPFLAGS): Set with configure, not cpp.
(MKDEPDIR): New, set by configure.
(.c.o, .m.o, ecrt0.o): Use $MKDEPDIR.
(clean): Use $DEPDIR.
(deps_frag): Include from configure.
Move static/dynamic dependency stuff to deps.mk/autodeps.mk.
* src/deps.mk, src/autodeps.mk: New files, extracted from Makefile.in.

* msdos/sed1v2.inp (DEPFLAGS, deps_frag): Edit to empty.
(MKDEPDIR): Edit to ':'.
2010-05-19 23:11:27 -07:00
Glenn Morris
40dc6bf44e Set rallocobj with configure, not cpp.
* configure.in (REL_ALLOC): Unset on gnu, gnu-linux if DOUG_LEA_MALLOC.
(RALLOC_OBJ): New output variable.
* config.bat (RALLOC_OBJ): Edit to empty if sys_malloc.

* src/Makefile.in (RALLOC_OBJ): New, set by configure.
(rallocobj): Replace with the previous variable.
(otherobj): Use $RALLOC_OBJ.

* src/s/gnu.h (REL_ALLOC) [DOUG_LEA_MALLOC]:
* src/s/gnu-linux.h (REL_ALLOC) [DOUG_LEA_MALLOC]: Move undef to configure.

* msdos/sed1v2.inp (RALLOC_OBJ): Edit to ralloc.o.
2010-05-17 19:44:07 -07:00
Glenn Morris
be4ff9dad8 Define some malloc objects with configure, not cpp.
* configure.in (GMALLOC_OBJ, VMLIMIT_OBJ): New output variables.
* config.bat (GMALLOC_OBJ, VMLIMIT_OBJ): Edit to empty if sys_malloc.

* src/Makefile.in (GMALLOC_OBJ, VMLIMIT_OBJ): New, set by configure.
(gmallocobj, vmlimitobj): Replace with previous two variables.
(otherobj): Use $GMALLOC_OBJ, $VMLIMIT_OBJ.

* msdos/sed1v2.inp (GMALLOC_OBJ): Edit to gmalloc.o.
(VMLIMIT_OBJ): Edit to vm-limit.o.
2010-05-17 19:30:13 -07:00
Eli Zaretskii
78248b76e3 config.bat: Remove support for DJGPP v1.x. 2010-05-15 10:51:52 +03:00
Glenn Morris
d3b23034e8 Do not preprocess lib-src/Makefile.in
* configure.in: Generate lib-src/Makefile directly, do not run cpp.
* config.bat: Do not run cpp on lib-src/Makefile.in.

* lib-src/Makefile.in: Convert comments to makefile format.

* admin/notes/cpp: lib-src/Makefile not preprocessed.
2010-05-10 20:00:32 -07:00
Glenn Morris
acddf8aec7 On msdos, set LIBS_SYSTEM with config.bat, not cpp.
* config.bat [HAVE_X11]: Run sed3x.inp on lib-src/Makefile.

* src/Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
* src/s/msdos.h (MSDOS_LIBS_SYSTEM): Remove.

* msdos/sed1x.inp (LIBS_SYSTEM): Edit to -lxext -lsys.
* msdos/sed3x.inp: New file.

* lib-src/Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
(config.h) [MSDOS]: Do not include.
2010-05-10 19:51:08 -07:00
Eli Zaretskii
f724825e89 Fix the "config msdos" step of MS-DOS build (due to removal of some cpp stuff from configury).
config.bat: Allow for 2 leading `#'s in comments in src/Makefile.in.
 src/Makefile.in: Don't use Make-style comments past the
 "start of cpp stuff" line.
2010-05-07 14:21:29 +03:00
Eli Zaretskii
2201e7e2be Fix the MSDOS build as fallout from the latest Makefile.in changes.
config.bat <lib-src>: Edit out lines that begin with several #
 characters.

 msdos/sedlisp.inp (VPATH): Don't edit, no longer needed.
 (lisp, srcdir): Adapt to lisp/Makefile.in changes.
 (abs_top_builddir): New edit.
 msdos/sed3v2.inp (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
 (LIBHESIOD, LIBRESOLV, LIBS_MAIL): Edit to empty values.
 msdos/sed3.inp (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
 (LIBHESIOD, LIBRESOLV, LIBS_MAIL): Edit to empty values.
 msdos/sed1v2.inp (abs_builddir): Edit into "../src".
2010-03-27 13:49:18 +03:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Eli Zaretskii
1685daf251 Copy .dbxinit to _dbxinit. 2009-02-28 14:04:58 +00:00
Glenn Morris
dfe07b9de6 Add 2009 to copyright years. 2009-01-08 03:47:42 +00:00
Eli Zaretskii
745ebc1319 Produce _dir-locals.el from .dir-locals.el. 2008-12-26 15:03:47 +00:00
Eli Zaretskii
b5a0990328 (--with-system-malloc): New option; see msdos/INSTALL for rationale. 2008-12-19 11:05:49 +00:00
Eli Zaretskii
b5ba727193 Tell user to expect one "File not found" message while the `doc' directory
is being configured.
2008-10-31 10:56:30 +00:00
Eli Zaretskii
d95d9b2360 Fix last change: don't use < and > in "rem" lines, they are interpreted
as redirection by DOS shells.
2008-05-07 10:32:47 +00:00
Glenn Morris
b33ba8120b Switch to recommended form of GPLv3 permissions notice. 2008-05-07 07:35:58 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
57ebf0bedb Add 2008 to copyright years. 2008-01-07 08:53:20 +00:00
Eli Zaretskii
799303b632 Fix configuring `doc' due to changes in the directory structure. 2007-10-05 09:39:39 +00:00
Glenn Morris
fca4a5de17 Switch license to GPLv3 or later. 2007-07-25 06:48:19 +00:00
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Glenn Morris
e91081eb9e Update copyright years. 2006-12-05 06:15:26 +00:00
Ramprasad B
667f78d702 Updated copyright year(s) 2006-04-20 06:59:38 +00:00
Lute Kamstra
0d07bc90bc Update FSF's address. 2005-07-04 14:42:45 +00:00
Eli Zaretskii
e823737069 Protect & with "" since & is special for cmd.exe;
filter through Sed to remove the quotes.

----------------------------------------------------------------------
2004-11-27 18:22:45 +00:00
Eli Zaretskii
60c49bc1a3 If 8-byte alignment is not supported, define
NO_DECL_ALIGN in src/config.h, instead of trivially defining
DECL_ALIGN.
2004-11-27 12:28:40 +00:00
Eli Zaretskii
a30fb04fbc Add a test for DECL_ALIGN support, and add a trivial definition to
src/config.h if 8-byte alignment is not supported.
2004-11-12 18:18:43 +00:00
Eli Zaretskii
5ae143b270 Don't require djecho.exe for the v1.x build. 2004-11-12 16:10:03 +00:00
Eli Zaretskii
d9a68b6a51 Update URLs in the comments. 2004-07-31 09:23:36 +00:00
Eli Zaretskii
d14a46f77e (lib-src): Recognize comment lines in Makefile.in
that have a TAB after the #, to avoid errors in preprocessing
with GCC 3.3.3.
2004-04-04 20:53:04 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Eli Zaretskii
86bbfe7774 Handle the case when lispintro is truncated to lispintr. 2002-05-31 15:13:32 +00:00
Eli Zaretskii
90c4121e94 Update for msdos/sed2v2.inp. 2002-04-16 17:39:08 +00:00
Eli Zaretskii
7336d09bc1 Configure in the lispintro directory. 2001-11-24 11:41:23 +00:00
Eli Zaretskii
1b5a364412 Configure in `lispref'. 2001-11-10 14:03:38 +00:00
Eli Zaretskii
00a4199604 Update the copyright. 2001-03-04 07:09:15 +00:00
Eli Zaretskii
c212c118d3 Run the preprocessor with -traditional. 2001-01-08 17:23:43 +00:00
Eli Zaretskii
92a0f4b15d Check for existence of djecho.exe, and print an
error message if it is not available.
2000-11-23 15:37:17 +00:00
Eli Zaretskii
dd0e1e5440 (maindir): Update src/_gdbinit even if it does already exist. 2000-08-08 10:36:51 +00:00
Eli Zaretskii
efb81423f8 Generate lisp/Makefile from lisp/Makefile.in. 2000-06-15 16:02:03 +00:00
Eli Zaretskii
373ea6d5ee Identify the beginning of cpp stuff in src/Makefile.in and
lib/src/Makefile.in more accurately.
2000-05-01 15:19:27 +00:00
Eli Zaretskii
2e4a0140b9 Make --no-debug work again by removing -gcoff. 1999-08-04 10:19:09 +00:00
Eli Zaretskii
05175c5451 Use epaths.* instead of paths.*. 1999-03-30 16:28:40 +00:00
Eli Zaretskii
b2451b8621 Support configuring with leim. 1999-01-07 12:27:19 +00:00
Eli Zaretskii
adc110de19 Make sure the environment is large enough to accomodate
all the "set foo=bar" commands.  Update the pointers to ftp sites.
1998-04-16 08:56:46 +00:00
Eli Zaretskii
074028631a Configure the man subdirectory. 1997-11-20 16:36:24 +00:00
Eli Zaretskii
456f382cc6 If src/_gdbinit doesn't exist, try using src/.gdbinit to create it (for
building on Windows 95).
1997-08-27 11:44:29 +00:00
Richard M. Stallman
45cdceb922 Use sed' instead of cp', which might not be installed. 1997-07-13 20:47:45 +00:00