Invoke PKG_PROG_PKG_CONFIG early in configure.ac
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 13 Feb 2012 17:58:29 +0000 (17:58 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 21 Feb 2012 14:51:11 +0000 (14:51 +0000)
commitbe1b35211f0dc420dfe62506a35561aaef1881b2
tree298ed23bc0ca4fe36dc76e2061fb41f0bbf59c68
parent8761d7e8ade62b6de04501b067c37d3c3b13bb19
Invoke PKG_PROG_PKG_CONFIG early in configure.ac

Otherwise, autoconf can generate wrong code, because our first use of
PKG_CHECK_MODULES is conditional.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46095
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
configure.ac