summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-03-18 17:41:50 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-03-20 11:34:17 +0100
commit594a1ca96b465ffdb688febde9e2dbd089e7bbf0 (patch)
tree4bcf2a30b8a2009991bca1804dd6a713f0b3621e /config_host
parentb2f8318dbda8a09fa312663d14fcaf057ee5069d (diff)
clarify when HAVE_FOO macros should have 0 fallback
Change-Id: Idc6635b59851c9b1a94f11042d3a60a4822061f2
Diffstat (limited to 'config_host')
-rw-r--r--config_host/README5
1 files changed, 3 insertions, 2 deletions
diff --git a/config_host/README b/config_host/README
index dd6aa8691f3d..05068b3ba4de 100644
--- a/config_host/README
+++ b/config_host/README
@@ -20,8 +20,9 @@ Adding a new setting:
- add AC_CONFIG_HEADERS([config_host/config_xxx.h]) next to the others
in configure.ac
- add config_hxx.h to config_host/.gitignore
-- add #undef HAVE_FOO to the config_host/config_hxx.h , possibly with a comment,
- and add the following block right after it
+- add #undef HAVE_FOO to the config_host/config_hxx.h , possibly with a comment
+- if the setting is an on/off setting (i.e. not a value of anything),
+ add the following block right after it
#ifndef HAVE_FOO
#define HAVE_FOO 0
#endif