Don't add includes to both CPPFLAGS and CXXFLAGS
Use nanosleep instead of usleep
Use Utility::usleep instead of usleep
Replace hardcoded -llmdb with variable

and rename the variable to be consistent
with what we do for other libs
Remove hardcoded -lsqlite3 with variable
Replace hardcoded -lmysqlclient -lz with variable
Replace hardcoded lib with variable
Don't run automake twice

autoreconf already does that.
also run autoreconf in verbose mode
Use includes relative to top srcdir

This change is needed since I'd like to clean up
the includes in remotebackend, and that module
uses pkcs11signers.cc as source
Add json to the Gem bundle

This fixes the unit tests on Fedora Rawhide

unittest_pipe.rb:5:in `require': cannot load such file -- json
(LoadError)
Merge pull request #1776 from rubenk/add-json-to-bundle

Add json to the Gem bundle
Merge pull request #1765 from cmouse/replace-usleep-sqlite3

Replace usleep sqlite3
Merge pull request #1775 from rubenk/bootstrap

Don't run automake twice
Merge pull request #1761 from rubenk/fix-duplicate-includes

Don't add includes to both CPPFLAGS and CXXFLAGS
Merge pull request #1768 from rubenk/fixup-lmdb

Replace hardcoded -llmdb with variable
Merge pull request #1771 from rubenk/replace-lsqlite-with-var

Remove hardcoded -lsqlite3 with variable
Merge pull request #1772 from rubenk/fixup-mysql

Replace hardcoded -lmysqlclient -lz with variable
Merge pull request #1773 from rubenk/fixup-ldap

Replace hardcoded lib with variable
Merge pull request #1777 from rubenk/fix-pkcs11signer-includes

Use includes relative to top srcdir
Remote backend doesn't use C code

So there's no use in setting bot CFLAGS and CXXFLAGS