summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2007-04-10 14:39:40 +0000
committerEric Blake <ebb9@byu.net>2007-10-06 07:08:24 -0600
commit9ea788db76b1c638edc23529d970066ec712de6a (patch)
treecada77f21b946178c26a7b57922bf0b9e4ad97b4 /HACKING
parent4c05d5643442a9fa6ad02ce7b62bc8bf032caa26 (diff)
downloadm4-9ea788db76b1c638edc23529d970066ec712de6a.tar.gz
* HACKING: Document policy behind 2007-04-07 patch.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING8
1 files changed, 8 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 705b951d..271cf4ac 100644
--- a/HACKING
+++ b/HACKING
@@ -38,6 +38,14 @@ and is not part of a release distribution.
environment or the -G option was passed on the command line):
http://www.opengroup.org/onlinepubs/009695399/utilities/m4.html
+* Except for third-party files (libtool, gnulib, ...), all .c files
+ should #include <config.h> before anything else (since there are some
+ #defines in config.h that potentially impact system headers, such as
+ when the user does ./configure --disable-assert). This means that no
+ .h files need to #include <config.h>. However, users compiling
+ external modules should be able to compile without <config.h>, since
+ <config.h> is specific to the M4 build and is not installable.
+
3. Bootstrapping
================