configure: Earlier pkg-config probe

Probe pkg-config before it is used for the first time (libseccomp check).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Stefan Weil 2012-12-16 11:29:45 +01:00 committed by Stefan Hajnoczi
parent 5a6c7644b2
commit 779ab5e3dd

16
configure vendored
View file

@ -1359,6 +1359,14 @@ esac
fi
##########################################
# pkg-config probe
if ! has "$pkg_config_exe"; then
echo "Error: pkg-config binary '$pkg_config_exe' not found"
exit 1
fi
##########################################
# NPTL probe
@ -1589,14 +1597,6 @@ if test "$xen_pci_passthrough" != "no"; then
fi
fi
##########################################
# pkg-config probe
if ! has "$pkg_config_exe"; then
echo "Error: pkg-config binary '$pkg_config_exe' not found"
exit 1
fi
##########################################
# libtool probe