Try to automagically detect and locate NSS, GMP and KRB5 libs, and enable
corresponding formats if successful. This is using Posix find/grep and
backticks. And pkg-config, if available.

We should have ./configure instead.