X-Git-Url: http://git.silcnet.org/gitweb/?p=autodist.git;a=blobdiff_plain;f=apps%2Fautodist%2Fdoc%2Fautodist.texi;h=d0792a6707c5ef919bb2a7ec71a76084024d588c;hp=dc1190b3411af6af39284d86b771acf75ebd1d02;hb=0f5b2629a6543c5633d429334008ecada7c3c305;hpb=b6e0f5409b1f137f27df56cd5a82fe03054db3ae diff --git a/apps/autodist/doc/autodist.texi b/apps/autodist/doc/autodist.texi index dc1190b..d0792a6 100644 --- a/apps/autodist/doc/autodist.texi +++ b/apps/autodist/doc/autodist.texi @@ -1090,13 +1090,14 @@ a compiler friendly format, defined below, should be used. #endif /* SILC_DIST_DEFINE */ @end example -Note that, only the format defined above is supported. Other more complex -use of the preprocessor directives such as using '&&' and '||' in the '#ifdef' -or '#ifndef' are not supported, and neither is '#elif'. Also note, that in -the compiler friendly format the name of the distdef in comments and the -use of '!' character in the '#else' branch of '#ifdef' are mandatory. Also -note, that the distdef conditionals must be placed at the start of the line, -they must not be indented. +Note that, only the format defined above is supported. Other more complex +use of the preprocessor directives such as using '&&' and '||' in the +'#ifdef' or '#ifndef' are not supported, and neither is '#elif'. Also +note, that the name of the distdef in '#else' and '#ifdef' directives in +non-source format and in source format inside C comments (/* */), and the +use of '!' character in the '#else' branch of '#ifdef'" are mandatory. +Also note, that the distdef conditionals must be placed at the start of +the line, they must not be indented. The following example shows the use of non-source format: @@ -1538,6 +1539,7 @@ undef _DIST_CRYPTO @example # Common template +option template define _DIST_DOC define _DIST_LIB define _DIST_MATH