]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Move pkg-config init to way earlier
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 7 Jan 2014 16:24:36 +0000 (11:24 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 7 Jan 2014 16:24:36 +0000 (11:24 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
configure.ac

index 0ba1ca9b5d0b0d6087928dd2c3eb8f8f41e379ef..cbaa38bcad0fd79ece2b33b6718fadac95beba52 100644 (file)
@@ -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]])],