pdns_control and pdnssec are always built
Only run tests when --enable-unit-tests

If we don't check this, the tests will break
with a lot of noise because the boost unit tests
libraries are not found.
Warn when tests are not enabled
Merge pull request #1580 from rubenk/only-run-tests-when-unit-tests-enabled

Only run tests when unit tests enabled
Merge pull request #1577 from rubenk/fix-extra-programs

pdns_control and pdnssec are always built
Use make variable instead of environment variable
lmdb is an optional dependency
Remove unused endianness check

All it did was to set WORDS_BIGENDIAN if successful
but we don't use that anywhere in the code.
Automake doesn't support wildcards

And this makes distuninstallcheck fail.
Merge pull request #1585 from rubenk/remove-wildcard

Automake doesn't support wildcards
Merge pull request #1584 from rubenk/remove-unused-check

Remove unused endianness check
Merge pull request #1581 from rubenk/travis-tweak

Use make variable instead of environment variable
Merge pull request #1582 from rubenk/optional-lmdb

lmdb is an optional dependency
Convert rapidjson to autotools

So that it properly handles silent rules,
make distclean etc.