This is a backport of cfengine core master branch. It adds the '--with-logdir' option to configure.

We can use:

 * sys.logdir (policy files)
 * all cfengine logs file are stored in the specified directory( default value: workdir)