Simplify autoconf

Hi,
 this is a trivial acinclude patch to use PKG_CHECK_MODULES instead of doing the same manually.

Best regards,