add requirements check for autoconf, automake, libtool, pkg-config, hg