From: Stéphane Graber Date: Tue, 7 Jan 2014 16:24:36 +0000 (-0500) Subject: Move pkg-config init to way earlier X-Git-Tag: lxc-1.0.0.beta2~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddb9359321675b5d22d1d3c6b9461fee575570f8;p=thirdparty%2Flxc.git Move pkg-config init to way earlier Signed-off-by: Stéphane Graber --- diff --git a/configure.ac b/configure.ac index 0ba1ca9b5..cbaa38bca 100644 --- a/configure.ac +++ b/configure.ac @@ -11,6 +11,10 @@ m4_define([lxc_version], [ifelse(lxc_version_beta, [], [lxc_version_base], [lxc_version_base.lxc_version_beta])]) AC_INIT([lxc], [lxc_version]) + +# We need pkg-config +PKG_PROG_PKG_CONFIG + AC_SUBST(LXC_VERSION_BASE, lxc_version_base) AC_SUBST(LXC_VERSION_BETA, lxc_version_beta) @@ -262,9 +266,6 @@ AC_ARG_ENABLE([examples], [], [enable_examples=yes]) AM_CONDITIONAL([ENABLE_EXAMPLES], [test "x$enable_examples" = "xyes"]) -# We need pkg-config -PKG_PROG_PKG_CONFIG - # Python3 module and scripts AC_ARG_ENABLE([python], [AC_HELP_STRING([--enable-python], [enable python binding [default=auto]])],