comparison INSTALL @ 108798:dedcf813aa69

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.
author Glenn Morris <rgm@gnu.org>
date Wed, 26 May 2010 22:43:27 -0700
parents e2da1d33db95
children 6f4e41648c3f
comparison
equal deleted inserted replaced
108797:d674108e8753 108798:dedcf813aa69
1 GNU Emacs Installation Guide 1 GNU Emacs Installation Guide
2 Copyright (C) 1992, 1994, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2 Copyright (C) 1992, 1994, 1996, 1997, 2000, 2001, 2002, 2003, 2004,
3 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 3 2005, 2006, 2007, 2008, 2009, 2010
4 Free Software Foundation, Inc.
4 See the end of the file for license conditions. 5 See the end of the file for license conditions.
5 6
6 7
7 This file contains general information. For more specific information 8 This file contains general information. For more specific information
8 for the Windows, GNUstep/Mac OS X, and MS-DOS ports, also see the files 9 for the Windows, GNUstep/Mac OS X, and MS-DOS ports, also see the files
684 when running make in the subdirectories. 685 when running make in the subdirectories.
685 686
686 687
687 CONFIGURATION BY HAND 688 CONFIGURATION BY HAND
688 689
689 Instead of running the `configure' program, you have to perform the 690 This should not be necessary and is not recommended. Instead of
690 following steps. 691 running the `configure' program, you have to perform the following steps.
691 692
692 1) Copy `./src/config.in' to `./src/config.h'. 693 1) Copy `./src/config.in' to `./src/config.h'.
693 694
694 2) Consult `./etc/MACHINES' to see what configuration name you should 695 2) Consult `./etc/MACHINES' to see what configuration name you should
695 use for your system. Look at the code of the `configure' script to 696 use for your system. Look at the code of the `configure' script to
699 the appropriate system and architecture description files. 700 the appropriate system and architecture description files.
700 701
701 2) Edit `./src/config.h' to set the right options for your system. If 702 2) Edit `./src/config.h' to set the right options for your system. If
702 you need to override any of the definitions in the s/*.h and m/*.h 703 you need to override any of the definitions in the s/*.h and m/*.h
703 files for your system and machine, do so by editing config.h, not by 704 files for your system and machine, do so by editing config.h, not by
704 changing the s/*.h and m/*.h files. Occasionally you may need to 705 changing the s/*.h and m/*.h files.
705 redefine parameters used in `./lib-src/movemail.c'. 706
706 707 3) Create `Makefile' files in various directories from the
707 3) Create src/Makefile and lib-src/Makefile from the corresponding 708 corresponding `Makefile.in' files. This isn't so hard, just a matter
708 `Makefile.in' files. First copy `Makefile.in' to `Makefile.c', 709 of editing in appropriate substitutions for the @...@ constructs.
709 then edit in appropriate substitutions for the @...@ constructs,
710 and then copy the shell commands near the end of `configure'
711 that run cpp to construct `Makefile'.
712
713 4) Create `Makefile' files in various other directories
714 from the corresponding `Makefile.in' files. This isn't so hard,
715 just a matter of substitution.
716 710
717 The `configure' script is built from `configure.in' by the `autoconf' 711 The `configure' script is built from `configure.in' by the `autoconf'
718 program. You need version 2.51 or newer of `autoconf' to rebuild 712 program. You need at least the version of autoconf specified in the
719 `configure'. 713 AC_PREREQ(...) command to rebuild `configure' from `configure.in'.
720 714
721 BUILDING GNU EMACS BY HAND 715 BUILDING GNU EMACS BY HAND
722 716
723 Once Emacs is configured, running `make' in the top directory performs 717 Once Emacs is configured, running `make' in the top directory performs
724 the following steps. 718 the following steps.