OSDN Git Service

configure: Explicitly check for pkg-config at the top level
authorAdam Jackson <ajax@redhat.com>
Thu, 23 Mar 2017 16:07:03 +0000 (12:07 -0400)
committerAdam Jackson <ajax@redhat.com>
Thu, 23 Mar 2017 16:07:03 +0000 (12:07 -0400)
commitb983b054d4f1a6be67105e90f0ae2064f91a762c
treec9c0e4e769a3a0f23b7027505878bf97f514e62a
parent2b7453f47862b0ae8032ba269b40830a34a6fb43
configure: Explicitly check for pkg-config at the top level

If you don't, then the first place the m4 expands is:

    if test "x$INTEL" != "xno"; then
    PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10])
    fi

So on non-Intel architectures we never find it in the path, and all
subsequent PKG_CHECK_MODULESes fail. Boo autoconf.

Signed-off-by: Adam Jackson <ajax@redhat.com>
configure.ac