configure.ac: Added disable switches for features dependending on extern...

...al libs.

This makes packagers' work easier, because can choose whether they want to introduce new dependency for
their package.

Fixes: #47