aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorGlenn Morris2010-05-26 22:43:27 -0700
committerGlenn Morris2010-05-26 22:43:27 -0700
commit81ac4f35366bfc525fa6ed89e0b5aaa90a05c902 (patch)
treee77b927e7e5fcf2d0ac05bcacb13baa10ed4b285 /etc
parent11e4d8c0d35ec52819d5ce11176fc1f53b9890e0 (diff)
downloademacs-81ac4f35366bfc525fa6ed89e0b5aaa90a05c902.tar.gz
emacs-81ac4f35366bfc525fa6ed89e0b5aaa90a05c902.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/MACHINES12
-rw-r--r--etc/PROBLEMS38
2 files changed, 1 insertions, 49 deletions
diff --git a/etc/MACHINES b/etc/MACHINES
index 8fc79ab0d1d..aa5d766e8dd 100644
--- a/etc/MACHINES
+++ b/etc/MACHINES
@@ -198,8 +198,7 @@ IBM RS/6000 (rs6000-ibm-aix*)
198 198
199IBM System/390 running GNU/Linux (s390-*-linux-gnu) 199IBM System/390 running GNU/Linux (s390-*-linux-gnu)
200 200
201 As of Emacs 21.2, a 31-bit only version is supported on this 201 As of Emacs 21.2, a 31-bit only version is supported on this system.
202 system.
203 202
204Intel 386 (i386-*-freebsd, i386-*-linux-gnu, 203Intel 386 (i386-*-freebsd, i386-*-linux-gnu,
205 i386-*-sol2.4, i386-intsys-sysv, 204 i386-*-sol2.4, i386-intsys-sysv,
@@ -247,11 +246,6 @@ Intel 386 (i386-*-freebsd, i386-*-linux-gnu,
247 do `gmake install MAKE=gmake'. However, more recently it is 246 do `gmake install MAKE=gmake'. However, more recently it is
248 reported that using the system Make on NetBSD 1.3.1 works ok. 247 reported that using the system Make on NetBSD 1.3.1 works ok.
249 248
250 If you are using System V release 4.2, you may find that `cc -E'
251 puts spurious spaces in `src/xmakefile'. If that happens,
252 specify CPP=/lib/cpp as an option when you run make.
253 There is no problem if you compile with GCC.
254
255 Note that use of Linux with GCC 2.4 and the DLL 4.4 libraries 249 Note that use of Linux with GCC 2.4 and the DLL 4.4 libraries
256 requires the experimental "net 2" network patches (no relation to 250 requires the experimental "net 2" network patches (no relation to
257 Berkeley Net 2). There is a report that (some version of) Linux 251 Berkeley Net 2). There is a report that (some version of) Linux
@@ -491,10 +485,6 @@ System V rel 4.0.3 and 4.0.4 (usg5.4)
491 If you get compilation errors about wrong number of 485 If you get compilation errors about wrong number of
492 arguments to getpgrp, define GETPGRP_NO_ARG. 486 arguments to getpgrp, define GETPGRP_NO_ARG.
493 487
494 The standard C preprocessor may generate xmakefile incorrectly. However,
495 /lib/cpp will work, so use `make CPP=/lib/cpp'. Standard cpp
496 seems to work OK under Dell 2.2.
497
498 Some versions 3 and earlier of V.4, on the Intel 386 and 860, had 488 Some versions 3 and earlier of V.4, on the Intel 386 and 860, had
499 problems in the X11 libraries. These prevent Emacs from working 489 problems in the X11 libraries. These prevent Emacs from working
500 with X. You can use Emacs with X provided your copy of X is based 490 with X. You can use Emacs with X provided your copy of X is based
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index b3cda374c51..65e3920eee3 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -2373,18 +2373,6 @@ The solution is to tell configure to use the correct C preprocessor
2373for your C compiler (CPP="/opt/SUNWspro/bin/cc -E" in the above 2373for your C compiler (CPP="/opt/SUNWspro/bin/cc -E" in the above
2374example). 2374example).
2375 2375
2376*** `configure' fails with ``"junk.c", line 660: invalid input token: 8.elc''
2377
2378The final stage of the Emacs configure process uses the C preprocessor
2379to generate the Makefiles. Errors of this form can occur if the C
2380preprocessor inserts extra whitespace into its output. The solution
2381is to find the switches that stop your preprocessor from inserting extra
2382whitespace, add them to CPPFLAGS, and re-run configure. For example,
2383this error can occur on Solaris 10 when using the Sun Studio compiler
2384``Sun C 5.8'' with its preprocessor CPP="/opt/SUNWspro/bin/cc -E".
2385The relevant switch in this case is "-Xs" (``compile assuming
2386(pre-ANSI) K & R C style code'').
2387
2388** Compilation 2376** Compilation
2389 2377
2390*** Building Emacs over NFS fails with ``Text file busy''. 2378*** Building Emacs over NFS fails with ``Text file busy''.
@@ -2427,32 +2415,6 @@ you are working on the host called `marvin'. Then an entry in the
2427 2415
2428The solution is to remove this line from `etc/fstab'. 2416The solution is to remove this line from `etc/fstab'.
2429 2417
2430*** Building Emacs with GCC 2.9x fails in the `src' directory.
2431
2432This may happen if you use a development version of GNU `cpp' from one
2433of the GCC snapshots between Oct 2000 and Feb 2001, or from a released
2434version of GCC newer than 2.95.2 which was prepared around those
2435dates; similar problems were reported with some snapshots of GCC 3.1
2436around Sep 30 2001. The preprocessor in those versions is
2437incompatible with a traditional Unix cpp (e.g., it expands ".." into
2438". .", which breaks relative file names that reference the parent
2439directory; or inserts TAB characters before lines that set Make
2440variables).
2441
2442The solution is to make sure the preprocessor is run with the
2443`-traditional' option. The `configure' script does that automatically
2444when it detects the known problems in your cpp, but you might hit some
2445unknown ones. To force the `configure' script to use `-traditional',
2446run the script like this:
2447
2448 CPP='gcc -E -traditional' ./configure ...
2449
2450(replace the ellipsis "..." with any additional arguments you pass to
2451the script).
2452
2453Note that this problem does not pertain to the MS-Windows port of
2454Emacs, since it doesn't use the preprocessor to generate Makefiles.
2455
2456*** src/Makefile and lib-src/Makefile are truncated--most of the file missing. 2418*** src/Makefile and lib-src/Makefile are truncated--most of the file missing.
2457*** Compiling wakeup, in lib-src, says it can't make wakeup.c. 2419*** Compiling wakeup, in lib-src, says it can't make wakeup.c.
2458 2420