Mercurial > emacs
annotate admin/notes/cpp @ 108475:b246058e9b05
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.
| author | Glenn Morris <rgm@gnu.org> |
|---|---|
| date | Mon, 10 May 2010 20:00:32 -0700 |
| parents | c3512b2085a0 |
| children |
| rev | line source |
|---|---|
| 50518 | 1 ttn 2003-04-09 |
| 2 | |
| 3 we use a C preprocesor not only in the normal compilation of .c files | |
|
108475
b246058e9b05
Do not preprocess lib-src/Makefile.in
Glenn Morris <rgm@gnu.org>
parents:
97142
diff
changeset
|
4 into object files, but also for creating src/Makefile. |
| 50518 | 5 (delimited by comment "start of cpp stuff"). some cpp implementations |
| 97142 | 6 insert whitespace in between tokens. |
| 50518 | 7 |
| 8 during makefile creation, the preprocessor symbol NOT_C_CODE is defined. | |
| 9 this should not be defined for normal .c file compilation. | |
| 10 | |
| 11 there has been discussion on eliminating this use of cpp and relying | |
| 12 solely on autoconf processing. rms says to leave it be. | |
| 52401 | 13 |
| 14 ;;; arch-tag: d654291e-9fc8-41b7-ab0c-d3cde842a8e0 |
