]> mj.ucw.cz Git - libucw.git/commitdiff
free docs: explain where the variables come from
authorMichal Vaner <vorner@ucw.cz>
Sat, 13 Sep 2008 20:51:18 +0000 (22:51 +0200)
committerMichal Vaner <vorner@ucw.cz>
Wed, 8 Oct 2008 12:54:29 +0000 (14:54 +0200)
The variables in configuration preprocessing (the compile time ones from
configure script)

ucw/doc/config.txt

index 5d655d7b6cb7bfac6c4e371dfd6f58ce17fd1616..760f8651be11ad76f93b8f88e11a220a3297dd5c 100644 (file)
@@ -160,9 +160,10 @@ Preprocessing
 During compilation, all configuration files are pre-processed by a simple
 C-like preprocessor, which supports `#ifdef`, `#ifndef`, `#if`,
 `#elsif`, `#else` and `#endif` directives referring to compile-time
-configuration variables. `#if` and `#elsif` can contain any Perl expression
-where each `CONFIG_xyz` configuration variable is substituted to 0 or 1
-depending on its value.
+configuration variables (the ones detected by `configure` script, you
+can see list of them in `obj/autoconf.h`). `#if` and `#elsif` can contain
+any Perl expression where each `CONFIG_xyz` configuration variable is
+substituted to 0 or 1 depending on its value.
 
 The preprocessor also substitutes `@VARIABLE@` by the value of the variable,
 which must be defined.