annotate admin/notes/cpp @ 68199:5012e59a73c7

* mh-comp.el (mh-pgp-support-flag): Move here from mh-utils.el; needed to help remove dependency on mh-utils. * mh-exec.el: New file. Move process support routines here from mh-utils.el. * mh-init.el (mh-utils): Remove require. (mh-exec): Add require. (mh-profile-component, mh-profile-component-value): Move here from mh-utils.el. * mh-utils.el (mh-pgp-support-flag): Move to mh-comp.el to reduce dependencies on mh-utils.el. (mh-profile-component, mh-profile-component-value): Move to mh-init.el since that's the only place that uses them. (Other than mh-alias.el; I'm thinking that mh-find-path can set variable from the Aliasfile component like it does the other components). (mh-index-max-cmdline-args, mh-xargs, mh-quote-for-shell) (mh-exec-cmd, mh-exec-cmd-error, mh-exec-cmd-daemon) (mh-exec-cmd-env-daemon, mh-process-daemon, mh-exec-cmd-quiet) (defvar, mh-exec-cmd-output) (mh-exchange-point-and-mark-preserving-active-mark) (mh-exec-lib-cmd-output, mh-handle-process-error): Move to new file mh-exec.el so that mh-init.el doesn't have to depend on mh-utils.el, breaking circular dependency. * mh-alias.el: mh-customize.el: mh-e.el: mh-funcs.el: mh-gnus.el: * mh-identity.el: mh-inc.el: mh-junk.el: mh-mime.el: mh-print.el: * mh-search.el: mh-seq.el: mh-speed.el: Added debugging statements (commented out) around requires to help find dependency loops. Will remove them when issues are resolved.
author Bill Wohler <wohler@newt.com>
date Sun, 15 Jan 2006 08:17:56 +0000
parents 695cf19ef79e
children 375f2633d815 c3512b2085a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
50518
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
1 ttn 2003-04-09
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
2
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
3 we use a C preprocesor not only in the normal compilation of .c files
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
4 into object files, but also for creating
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
5
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
6 src/Makefile
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
7 lib-src/Makefile
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
8
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
9 (delimited by comment "start of cpp stuff"). some cpp implementations
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
10 insert whitespace in between tokens, which explains the "$(dot)$(dot)"
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
11 and "UNEXEC_ALIAS" workarounds for unixoid systems and the bundled
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
12 tradcpp/ for vms. [NOTE: tradcpp/ not yet checked in.]
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
13
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
14 during makefile creation, the preprocessor symbol NOT_C_CODE is defined.
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
15 this should not be defined for normal .c file compilation.
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
16
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
17 there has been discussion on eliminating this use of cpp and relying
3cb74de71bcd Initial revision
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
diff changeset
18 solely on autoconf processing. rms says to leave it be.
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 50518
diff changeset
19
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 50518
diff changeset
20 ;;; arch-tag: d654291e-9fc8-41b7-ab0c-d3cde842a8e0