The PKG_INSTALLDIR macro also enables --with-pkgconfigdir for easy overrides. PKG_INSTALLDIR is relatively new, it appeared in pkg-config 0.27. To ensure we have a recent pkg.m4 copy, copy pkg.m4 to the m4 directory.