annotate admin/notes/cpp @ 108133:d5c67777ae39
Move MOTIF_LIBW to autoconf.
* configure.in (HAVE_MOTIF_2_1): Remove unused variable.
(LIBXP): No longer substitute in Makefiles.
(MOTIF_LIBW): New output variable. Move system-specific settings here
from src/s files.
* src/Makefile.in (LIBXP): Remove, since included in MOTIF_LIBW.
(MOTIF_LIBW): Set with configure, not cpp.
* s/aix4-2.h (LIB_MOTIF):
* s/gnu-linux.h (LIB_MOTIF):
* s/unixware.h (LIB_MOTIF): Move to configure.in.
* admin/CPP-DEFINES: Remove LIB_MOTIF.
author |
Glenn Morris <rgm@gnu.org> |
date |
Tue, 27 Apr 2010 00:02:12 -0700 |
parents |
c3512b2085a0 |
children |
b246058e9b05 |
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
|
|
4 into object files, but also for creating
|
|
5
|
|
6 src/Makefile
|
|
7 lib-src/Makefile
|
|
8
|
|
9 (delimited by comment "start of cpp stuff"). some cpp implementations
|
97142
|
10 insert whitespace in between tokens.
|
50518
|
11
|
|
12 during makefile creation, the preprocessor symbol NOT_C_CODE is defined.
|
|
13 this should not be defined for normal .c file compilation.
|
|
14
|
|
15 there has been discussion on eliminating this use of cpp and relying
|
|
16 solely on autoconf processing. rms says to leave it be.
|
52401
|
17
|
|
18 ;;; arch-tag: d654291e-9fc8-41b7-ab0c-d3cde842a8e0
|