Development/How to build/Hacking

From The Document Foundation Wiki
Jump to: navigation, search

If you're hacking (any of them), the following guidelines should be followed.

All help strings should use the AS_HELP_STRING macro.

All *nix (and windows if it works there?) dependencies should use pkg-config to detect whether they exist or not.

Be careful about making dependencies build automatically. See for why automagic dependencies are bad. The problem is that developers by default will want all options enabled, while packagers will only want options enabled if they are specifically asked for.